Chapter 5 CLI – Layer 2
62 P332G-ML User’s Guide
Show vlan Command
Use the show vlan command to display the VLANs configured in the stack/
module.
The syntax for this command is:
show vlan
Example:
P330-N> show vlan
VLAN ID Vlan-name
------- --------------------------------
1 v1
5 V5
10 V10
15 V15
20 V20
25 V25
Show spantree Command
Use the show spantree command to display spanning-tree information.
The syntax for this command is:
show spantree [<mod_num>[/<port_num>]]
Example:
P330-N> show spantree
Spanning tree enabled
Designated Root: 00-40-0d-88-06-c8
Designated Root Priority: 32768
Designated Root Cost: 20
Designated Root Port: 1/1
Root Max Age: 20 Hello Time: 2
Bridge ID MAC ADDR: 00-40-0d-92-04-b4
VLANs allowed
on trunk
Range of VLAN values allowed on the port.