Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying Integrated Routing and Bridging Interface Status and Statistics

    Purpose

    Determine status information and traffic statistics for integrated routing and bridging (IRB) interfaces.

    Action

    Display IRB interfaces and their current states:

    user@switch> show interfaces irb terse
    Interface               Admin Link Proto    Local                 Remote
    irb                     up    up  
    irb.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
    Routing instance        VLAN name             Tag         Interfaces
    default-switch          irb                      101
    
    default-switch          support                  111
    
                                                                 ge-0/0/18.0
    
    ...
    

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

    MAC flags (S -static MAC, D -dynamic MAC, L -locally learned
               SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)
    
    Routing instance : default-switch
        Vlan                MAC                 MAC         Age    Logical
        Name                address             flags              interface
        support             00:01:02:03:04:05   S             -   ge-0/0/18.0
    ...
    

    Display the ingress-counting statistics of an IRB interface with either the show interfaces irb detail command or the show interfaces irb extensive command. Ingress counting is displayed as Input bytes and Input packets and egress counting is displayed as Output bytes and Output packets under Transit Statistics.

    user@switch> show interfaces irb .111 detail
    Logical interface irb.111 (Index 65) (SNMP ifIndex 503) (HW Token 100) (Generation 131)
    Flags: SNMP-Traps 0x4000  Encapsulation: ENET2
    Bandwidth: 1000mbps
    Routing Instance: default-switch Bridging Domain: irb+111
    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, MTU: 1514, 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 irb terse displays a list of interfaces, including IRB 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 IRB interface.
    • show interfaces irb detail displays IRB interface ingress counting as Input Bytes and Input Packets under Transit Statistics.

    Published: 2014-04-23