Displaying Multi-Range VLAN Information

You can display the multi-range VLAN information from the multi-range VLAN configuration mode.

The following example displays the STP information for multiple VLANs (VLANs 4, 5, and 6).

device(config)# vlan 4 to 6
device(config-mvlan-4-6)# show 802-1w

--- VLAN 4 [ STP Instance owned by VLAN 4 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge Bridge Bridge Bridge Force tx
Identifier MaxAge Hello FwdDly Version Hold
hex sec sec sec cnt
8000002022227700 20 2 15 Default 3
RootBridge RootPath DesignatedBri- Root Max Fwd Hel
Identifier Cost dge Identifier Port Age Dly lo
hex hex sec sec sec
8000002022227700 0 8000002022227700 Root 20 15 2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port Pri PortPath P2P Edge Role State Designa- Designated
Num Cost Mac Port ted cost bridge
1/1/1 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700
--- VLAN 5 [ STP Instance owned by VLAN 5 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge Bridge Bridge Bridge Force tx
Identifier MaxAge Hello FwdDly Version Hold
hex sec sec sec cnt
8000002022227700 20 2 15 Default 3
RootBridge RootPath DesignatedBri- Root Max Fwd Hel
Identifier Cost dge Identifier Port Age Dly lo
hex hex sec sec sec
8000002022227700 0 8000002022227700 Root 20 15 2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port Pri PortPath P2P Edge Role State Designa- Designated
Num Cost Mac Port ted cost bridge
1/1/1 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700
--- VLAN 6 [ STP Instance owned by VLAN 6 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge Bridge Bridge Bridge Force tx
Identifier MaxAge Hello FwdDly Version Hold
hex sec sec sec cnt
8000002022227700 20 2 15 Default 3
RootBridge RootPath DesignatedBri- Root Max Fwd Hel
Identifier Cost dge Identifier Port Age Dly lo
hex hex sec sec sec
8000002022227700 0 8000002022227700 Root 20 15 2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port Pri PortPath P2P Edge Role State Designa- Designated
Num Cost Mac Port ted cost bridge
1/1/1 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700

You can use various show parameters for the specified VLAN or VLAN range from the multi-range VLAN configuration mode. The output of these show commands display information about the specified VLANs only.

The following example displays the MAC address table for a specific VLAN.

device# show mac-address vlan 1 0000.0000.0001

Total active entries from all ports = 16
MAC-Address Port Type Index
0000.0000.0001 1/1/1 Dynamic NA

The following example displays the STP information for a specific VLAN.

device# show span vlan 100

STP instance owned by VLAN 100
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge
ID ID Cost Port rity Age llo ld dly Chang cnt Address
Hex sec sec sec sec sec
100 8000cc4e24b46fcc 0 Root 8000 20 2 1 15 11 1 cc4e24b46fcc
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated
Num rity Cost Trans Cost Root Bridge
Hex
1/1/1 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/2 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/3 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/4 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/5 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/6 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/7 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/8 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
lg1 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
lg256 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc

The following example displays the VLAN information.

device# show vlan
Total PORT-VLAN entries: 4
Maximum PORT-VLAN entries: 1024

Legend: [Stk=Stack-Id, S=Slot]

Total PORT-VLAN entries: 4
Maximum PORT-VLAN entries: 1024

Legend: [Stk=Stack-Id, S=Slot]

PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, On
 Untagged Ports: (U1/M1)   1   2   3   4   5   6   7   8   9  10  11  12 
 Untagged Ports: (U1/M1)  13  14  15  16  17  18  19  20  21  22  23  24 
 Untagged Ports: (U1/M1)  25  26  27  28  29  30  31  32  33  34  35  36 
 Untagged Ports: (U1/M1)  37  38  39  40  41  42  43  44  45  46  47  48 

 Untagged Ports: (U1/M2)   1   2   3   4 
   Tagged Ports: None
 Mac-Vlan Ports: None
     Monitoring: Disabled
Total PORT-VLAN entries: 4
Maximum PORT-VLAN entries: 1024

Legend: [Stk=Stack-Id, S=Slot]

PORT-VLAN 4, Name [None], Priority level0, On
 Untagged Ports: None
   Tagged Ports: None
 Mac-Vlan Ports: None
     Monitoring: Disabled
Total PORT-VLAN entries: 4
Maximum PORT-VLAN entries: 1024

Legend: [Stk=Stack-Id, S=Slot]

PORT-VLAN 5, Name [None], Priority level0, On
 Untagged Ports: None
   Tagged Ports: None
 Mac-Vlan Ports: None
     Monitoring: Disabled
Total PORT-VLAN entries: 4
Maximum PORT-VLAN entries: 1024

Legend: [Stk=Stack-Id, S=Slot]

PORT-VLAN 6, Name [None], Priority level0, On
 Untagged Ports: None
   Tagged Ports: None
 Mac-Vlan Ports: None
     Monitoring: Disabled

The following example displays the VSRP commands for a specific VLAN.

device# show vsrp vlan 100 100

VLAN 100
auth-type no authentication
VRID 100
========
State Administrative-status Advertise-backup Preempt-mode save-current
master enabled disabled true false
Parameter Configured Current Unit/Formula
priority 100 50 (100-0)*(2.0/4.0)
hello-interval 1 1 sec/1
dead-interval 3 3 sec/1
hold-interval 3 3 sec/1
initial-ttl 2 2 hops
next hello sent in 00:00:00.3
Member ports: ethe 1/2/5 to 1/2/8
Operational ports: ethe 1/2/5 ethe 1/2/8
Forwarding ports: ethe 1/2/5 ethe 1/2/8
Restart ports: 1/2/5(1) 1/2/6(1) 1/2/7(1) 1/2/8(1)