Chapter 5 CLI – Layer 2
52 P332G-ML User’s Guide
The syntax for this command is:
show interface
Example:
To display the interface:
P330-N> show interface
Interface Name VLAN IP address Netmask
-------------- ---- --------------- ---------------
inband 1 10.0.0.1 255.255.255.0
ppp disable 1 0.0.0.0 0.0.0.0
Show device-mode Command
Use the show device-mode command to show the P332-ML operating mode
you are currently in. Possible modes are Router, or Switch.
The syntax for this command is:
show device-mode
Show port Command
Use the show port command to display port status.
The syntax for this command is:
show port [<mod_num>[/<port_num>]]
Example:
To display the status for port 4 on module 3:
P330-N> show port 3/4
Port Name Status Vlan Level Neg Dup. Spd. Type
------ --------------- --------- ---- ------ ------- ---- ---- -------------
3/4 John connected 1 4 enable half 10M 100/1000Base-Tx
mod_num (Optional) Number of the module. If you do not specify a
number, the ports on all modules are shown.
port_num (Optional) Number of the port on the module. If you do not
specify a number, all the ports on the module are shown.
You can also specify a range of ports separated by a dash, e.g.
5-13 for ports 5 to 13.