24.11.2 Checking VLAN status
- <Structure of this section>
(1) Checking VLAN setting status
VLAN information can be checked by using the show vlan command. Check VLAN ID, Type, and IP Address to make sure that the VLAN settings are correct. Untagged indicates the port handling untagged frames for the VLAN, and Tagged indicates the port handling tagged frames for the VLAN. Make sure that the ports set for the VLAN are correct.
> show vlan Date 20XX/01/26 17:01:40 UTC VLAN counts:4 VLAN ID:1 Type:Port based Status:Up Learning:On Tag-Translation: BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN0001 IP Address:10.215.201.1/24 Source MAC address: 0012.e212.ad1e(System) Description:VLAN0001 Spanning Tree:PVST+(802.1D) AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Untagged(18) :1/0/1-4,13-26 VLAN ID:3 Type:Port based Status:Up Learning:On Tag-Translation:On BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN0003 IP Address:10.215.196.1/23 3ffe:501:811:ff08::5/64 Source MAC address: 0012.e212.ad1e(System) Description:VLAN0003 Spanning Tree:Single(802.1D) AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Untagged(8) :1/0/5-12 Tagged(2) :1/0/25-26 Tag-Trans(2) :1/0/25-26 VLAN ID:120 Type:Protocol based Status:Up Protocol VLAN Information Name:ipv6 EtherType:08dd LLC: Snap-EtherType: Learning:On Tag-Translation:On BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN0120 IP Address: Source MAC address: 0012.e212.ad1e(System) Description:VLAN0120 Spanning Tree: AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Untagged(3) :1/0/5,7,9 Tagged(2) :1/0/25-26 Tag-Trans(2) :1/0/25-26 VLAN ID:1340 Type:Mac based Status:Up Learning:On Tag-Translation:On BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN1340 IP Address:10.215.202.1/24 Source MAC address: 0012.e2de.053c(VLAN) Description:VLAN1340 Spanning Tree: AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Untagged(6) :1/0/13-18 Tagged(2) :1/0/25-26 Tag-Trans(2) :1/0/25-26 > |
(2) Checking VLAN communication status
The status of VLAN communication can be checked by using the show vlan detail command. Check Port Information to see the Up/Down and Forwarding/Blocking values for the port. If the status is Blocking, the cause of the blocking is displayed in parentheses.
> show vlan 3,1000-1500 detail Date 20XX/01/26 17:01:40 UTC VLAN counts:2 VLAN ID:3 Type:Port based Status:Up Learning:On Tag-Translation:On BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN0003 IP Address:10.215.196.1/23 ee80::220:afff:fed7:8f0a/64 Source MAC address: 0012.e212.ad1e(System) Description:VLAN0003 Spanning Tree:Single(802.1D) AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Port Information 1/0/5 Up Forwarding Untagged 1/0/6 Up Blocking(STP) Untagged 1/0/7 Up Forwarding Untagged 1/0/8 Up Forwarding Untagged 1/0/9 Up Forwarding Untagged 1/0/10 Up Forwarding Untagged 1/0/11 Up Forwarding Untagged 1/0/12 Up Forwarding Untagged 1/0/25(CH:9) Up Forwarding Tagged Tag-Translation:103 1/0/26(CH:9) Up Blocking(CH) Tagged Tag-Translation:103 VLAN ID:1340 Type:Mac based Status:Up Learning:On Tag-Translation:On BPDU Forwarding: EAPOL Forwarding: Router Interface Name:VLAN1340 IP Address:10.215.202.1/24 Source MAC address: 0012.e2de.053c(VLAN) Description:VLAN1340 Spanning Tree: AXRP RING ID: AXRP VLAN group: GSRP ID: GSRP VLAN group: L3: IGMP snooping: MLD snooping: Port Information 1/0/13 Up Forwarding Untagged 1/0/14 Up Forwarding Untagged 1/0/15 Up Forwarding Untagged 1/0/16 Up Forwarding Untagged 1/0/17 Up Forwarding Untagged 1/0/18 Up Forwarding Untagged 1/0/25(CH:9) Up Forwarding Tagged Tag-Translation:104 1/0/26(CH:9) Up Blocking(CH) Tagged Tag-Translation:104 > |
(3) Checking VLAN ID list
The show vlan summary command can be used to check the set VLAN types, as well as their count and VLAN IDs.
> show vlan summary Date 20XX/10/14 12:14:38 UTC Total(4) :1,10,20,4094 Port based(2) :1,4094 Protocol based(1) :10 MAC based(1) :20 > |
(4) Checking by Listing VLAN
The show vlan list command provides an overview of the status of VLAN settings on one line. This command can be used to list the statuses of VLAN settings, Layer 2 redundancy functionality, and IP address settings. Also, a VLAN, port, or channel group can be specified as a parameter to check a list of only the VLAN statuses specified for the parameter.
> show vlan list Date 20XX/01/26 17:01:40 UTC VLAN counts:4 ID Status Fwd/Up /Cfg Name Type Protocol Ext. IP 1 Up 16/ 18/ 18 VLAN0001 Port STP PVST+:1D - - - - 4 3 Up 9/ 10/ 10 VLAN0003 Port STP Single:1D - - T - 4/6 120 Up 4/ 5/ 5 VLAN0120 Proto - - - - - - 1340 Disable 0/ 8/ 8 VLAN1340 Mac - - - - - 4 AXRP (Control-VLAN) GSRP GSRP ID:VLAN Group ID(Master/Backup) S:IGMP/MLD snooping T:Tag Translation 4:IPv4 address configured 6:IPv6 address configured > |
(5) Checking the registered MAC of MAC VLAN
The show vlan mac-vlan command can be used to check the MAC addresses registered for MAC VLANs.
The functionality that registered a MAC address is displayed in parentheses.
-
static indicates a MAC address registered by configuration
-
dot1x indicates a MAC address registered by IEEE 802.1X
Figure 24-16: Result of executing show vlan mac-vlan command > show vlan mac-vlan Date 20XX/10/14 12:16:04 UTC VLAN counts:2 Total MAC Counts:5 VLAN ID:20 MAC Counts:4 0012.e200.0001 (static) 0012.e200.0002 (static) 0012.e200.0003 (static) 0012.e200.0004 (dot1x) VLAN ID:200 MAC Counts:1 0012.e200.1111 (dot1x) >