Chapter 5 | CLI – Layer 2 |
|
|
The syntax for this command is:
show interface
Example: |
|
|
|
To display the 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
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>]]
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. |
|
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 |
52 |