Monitoring Status and Configuration Information for VLAN Subinterfaces
Purpose
Display configuration and status information for a specified VLAN subinterface or for all VLAN subinterfaces configured on the router. You can use the summary keyword to display only the counts of all VLAN subinterfaces and VLAN major interfaces configured on the router. You can use the vlan or svlan keywords to display information about specific VLAN IDs or S-VLAN IDs.
Use the agent-circuit-identifier keyword to display information about VLAN subinterfaces that are created based on the agent-circuit-id information in the option 82 field of DHCP messages or in the DSL Forum VSA 26-1 of PPPoE PADR and PADI packets. Using this keyword causes the router to display the agent-circuit-identifier string in the command output.
Action
To display full status and configuration information for all VLAN subinterfaces configured on the router:
host1#show vlan subinterface Interface Status MTU Svlan Id Vlan Id Ethertype Type --------------------- ---------- ---- -------- -------- --------- ------- ATM 3/0.1.2 Up 1522 ---- 11 ---- Static ATM 3/0.1.3 Up 1522 ---- 12 ---- Static ATM 3/1.1.1 Up 1522 ---- 13 ---- Static ATM 3/1.1.2 Up 1522 ---- 14 ---- Static ATM 3/2.1.1 Down 1526 4 255 0x9100 Static FastEthernet 4/5.1 Up 1522 ---- 1 ---- Dynamic
6 vlan subinterfaces found
To display full status and configuration information for the specified VLAN subinterface:
host1#show vlan subinterface fastEthernet 4/5.1 Interface Status MTU Svlan Id Vlan Id Ethertype Type ---------------------- -------- ---- -------- -------- --------- ------- FastEthernet 4/5.1 Up 522 ---- 1 ---- Dynamic 1 vlan subinterface found
To display full status and configuration information for the specified S-VLAN ID:
host1#show vlan subinterface svlan id 100 53 Interface Status MTU Svlan Id Vlan Id Ethertype Type ---------------------- -------- ---- -------- -------- --------- ------- FastEthernet 0/0.1 Up 1526 100 53 0x9100 Static FastEthernet 4/6.1 Up 1526 100 53 0x9100 Dynamic 2 vlan subinterfaces found
To display full status and configuration information for the specified dynamic VLAN subinterface:
host1#show vlan subinterface fastEthernet 4/6.1000053 Interface Status MTU Svlan Id Vlan Id Ethertype Type ------------------------- ------ ---- -------- -------- --------- ------- FastEthernet 4/6.1000053 Up 1526 100 53 0x9100 Dynamic Auto configure interface(s) : IP PPPoE Detected dynamic interface : PPPoE Interface types in lockout : none Lockout state (seconds) : Min Max Current Elapsed Next ------------------------------- --- --- ------- ------- ---- IP 1 300 0 0 1 PPPoE 1 300 0 0 1 In: Bytes 1040, Packets 15 Multicast 0, Broadcast 1 Errors 0, Discards 0 Out: Bytes 984, Packets 15 Multicast 0, Broadcast 1 Errors 0, Discards 0 ARP Statistics: In: ARP requests 0, ARP responses 0 Errors 0, Discards 0 Out: ARP requests 0, ARP responses 0 Errors 0, Discards 0
To display status information for dynamic VLAN subinterfaces that are created based on agent-circuit-identifier information:
host1#show vlan subinterface Interface Status MTU Svlan Id Vlan Id Ethertype Type ---------------------- -------- ---- -------- -------- --------- --------- FastEthernet 4/0.1 Up 1522 2 ---- ---- Dynamic * FastEthernet 4/0.2 Up 1522 2 ---- ---- Dynamic * 2 vlan subinterfaces found * Created via agent circuit identifier host1#show vlan subinterface agent-circuit-identifier Interface Svlan Id Agent-Circuit-Identifier ------------------------- -------- -------------------------- FastEthernet 4/0.1 2 ---- FastEthernet 4/0.2 2 0200D0CB2729E5
Meaning
Table 58 lists the show vlan subinterface command output fields.
Table 70: show vlan subinterface Output Fields
Field Name | Field Description |
---|---|
Interface | Type and specifier of the VLAN subinterface |
Status | Status of the VLAN subinterface: up, down, dormant, lowerLayerDown, absent |
MTU | Maximum allowable size (in bytes) of the MTU for the VLAN subinterface |
Svlan Id | S-VLAN ID value, if configured |
Vlan Id | VLAN ID value for the VLAN subinterface |
Ethertype | S-VLAN Ethertype value, if configured |
Type | Type of VLAN subinterface:
|
Auto configure interface(s) | Types of dynamic upper interfaces configured with the auto-configure command: IP or PPPoE |
Detected dynamic interface | Type of dynamic upper interface detected during autoconfiguration: IP, PPPoE, or (if no packet has been received) none |
Interface types in lockout | Encapsulation types currently experiencing lockout: IP, PPPoE, or none |
Lockout state (seconds) | Settings of encapsulation type lockout for the upper-layer encapsulation type indicated:
|
In | Analysis of inbound traffic on this interface:
|
Out | Analysis of outbound traffic on this interface:
|
ARP Statistics | Analysis of ARP traffic on this interface; In fields are for traffic received on the interface and Out fields are for traffic sent on the interface:
|
Total VLAN interfaces | Total numbers of VLAN subinterfaces and VLAN major interfaces configured on the router; only this field appears when you specify the summary keyword |