Monitoring VLAN Statistics

Purpose

Display configuration and status information for a specified VLAN subinterface or for all VLAN subinterfaces configured on the router. You can use the mac-address keyword to display information about the VLAN subinterfaces that were configured with unique MAC addresses.

Action

To display full status and configuration information for the specified VLAN subinterface:

host1#show vlan subinterface fastEthernet 0/0.1
    Interface       Status  MTU  Svlan Id Vlan Id Ethertype Type
------------------- ------ ---- -------- ------ --------- -------
FastEthernet 0/0.1    Up    1526    1      0    0x9100    Static
                                                                               
In: Bytes 39256, Packets 612
   Multicast 0, Broadcast 0
   Errors 0, Discards 0
  Out: Bytes 4538652, Packets 70911
   Multicast 0, Broadcast 70296
   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

Meaning

Table 7 lists the show vlan subinterface command output fields.

Table 7: 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:

  • Static—VLAN or S-VLAN subinterface was configured statically
  • Dynamic—VLAN or S-VLAN subinterface was configured dynamically

In

Analysis of inbound traffic on this interface:

  • Bytes—Number of bytes received on the VLAN or S-VLAN subinterface
  • Packets—Sum of all unicast, broadcast, and multicast packets received on the VLAN or S-VLAN subinterface
  • Multicast—Number of multicast packets received on the VLAN or S-VLAN subinterface
  • Broadcast—Number of broadcast packets received on the VLAN or S-VLAN subinterface
  • Errors—Total number of errors in all received packets; some packets might contain more than one error
  • Discards—Total number of discarded incoming packets

Out

Analysis of outbound traffic on this interface:

  • Bytes—Number of bytes sent on the VLAN or S-VLAN subinterface
  • Packets—Number of packets sent on the VLAN or S-VLAN subinterface
  • Multicast—Number of multicast packets received on the VLAN or S-VLAN subinterface
  • Broadcast—Number of broadcast packets received on the VLAN or S-VLAN subinterface
  • Errors—Total number of errors in all transmitted packets; some packets might contain more than one error
  • Discards—Total number of discarded outgoing packets

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:

  • ARP requests—Number of ARP requests
  • ARP responses—Number of ARP responses
  • Errors—Total number of errors in all ARP packets
  • Discards—Total number of discarded ARP packets

Related Documentation