Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Verifying Routed VLAN Interface Status and Statistics

Purpose

Determine status information and traffic statistics for routed VLAN interfaces (RVIs) by using the following commands:

Action

Display RVI interfaces and their current states:

user@switch> show interfaces vlan terse
Interface               Admin Link Proto    Local                 Remote
vlan                    up    up  
vlan.111                up    up   inet     111.111.111.1/24

Display Layer 2 VLANs, including any tags assigned to the VLANs and the interfaces associated with the VLANs:

user@switch> show vlans
Name           Tag     Interfaces
default       
                       None
employee-vlan  20     
                       ge-1/0/0.0, ge-1/0/1.0, ge-1/0/2.0
marketing      40     
                       ge-1/0/10.0, ge-1/0/20.0, ge-1/0/30.0
support        111    
                       ge-0/0/18.0
mgmt          
                       bme0.32769, bme0.32771*

Display Ethernet switching table entries for the VLAN that is attached to the RVI:

Ethernet-switching table: 1 entries, 0 learned
  VLAN              MAC address       Type         Age Interfaces
  support           00:19:e2:50:95:a0 Static         - Router

Display an RVI’s ingress-counting statistics with either the show interfaces vlan detail command or the show interfaces vlan extensive command. Ingress counting is displayed as Input bytes and Input packets under Transit Statistics.

user@switch> show interfaces vlan.100 detail
Logical interface vlan.100 (Index 65) (SNMP ifIndex 503) (HW Token 100) (Generation 131)
Flags: SNMP-Traps 0x4000  Encapsulation: ENET2
Traffic statistics:
	Input bytes:   	17516756 
	Output bytes:  	411764	
	Input packets: 	271745	
	Output packets:	8256		
Local statistics:
	Input bytes:   	3240
	Output bytes:  	411764
	Input packets: 	54
	Output packets:	8256
Transit statistics:
	Input bytes:   	17513516  	0 bps
	Output bytes:  	0				0 bps
	Input packets: 	271745		0 pps
	Output packets:	0				0 pps
Protocol inet, Generation: 148, Route table: 0
	Flags: None
	Addresses, Flags: iS-Preferred  Is-Primary
		Destination: 50.1.1/24, Local: 50.1.1.1, Broadcast: 50.1.1.255, Generation: 136

Meaning

  • show interfaces vlan displays a list of interfaces, including RVI interfaces, and their current states (up, down).
  • show vlans displays a list of VLANs, including any tags assigned to the VLANs and the interfaces associated with the VLANs.
  • show ethernet-switching table displays the Ethernet switching table entries, including VLANs attached to the RVI.
  • show interfaces vlan detail displays RVI ingress counting as Input Bytes and Input Packets under Transit Statistics.

Published: 2014-04-23

Supported Platforms

Published: 2014-04-23