Example show and clear commands for VxLAN Layer 3 gateway

show overlay-gateway

The following is example output from the show overlay-gateway command.

device# show overlay-gateway  
Overlay Gateway "VxLAN", ID 1, rbridge-ids 1  
Admin state up  
IP address 33.32.31.13 (loopback 1), Vrf default-vrf  
Number of tunnels 6  
Packet count: RX 17909 TX 1247  
Byte count : RX (500125) TX 356626

show tunnel brief

The following is example output from the show tunnel brief command.

device# show tunnel brief
Tunnel 1, mode VxLAN, rbridge-ids 1  
Admin state up, Oper state up  
Source IP 33.32.31.13, Vrf default-vrf  
Destination IP 33.32.31.10  
Tunnel 2, mode VxLAN, rbridge-ids 1 
Admin state up, Oper state up  
Source IP 33.32.31.13, Vrf default-vrf  
Destination IP 33.32.31.1

show tunnel

The following is example output from the show tunnel ID command.

device# show tunnel 1  
Tunnel 1, mode VxLAN, rbridge-ids 1 
Ifindex 2080374798, Admin state up, Oper state up  
Overlay gateway "VxLAN", ID 1  
Source IP 33.32.31.13 (loopback 1), Vrf default-vrf  
Destination IP 33.32.31.10  
Active next hop on rbridge1:  
IP: 33.32.31.10, Vrf: default-vrf  
Egress L3 port: Ve 10, Outer SMAC: 0027.f886.bb36  
Outer DMAC: e41f.1343.97d2  
Egress L2 Port: Po 11, Outer ctag: 10  
BUM forwarder: yes 
Packet count: RX 18492 TX 1242  
Byte count : RX (NA) TX 356307 

show vlan brief

The following is example output from the show vlan brief command, to verify VNI mapping.

device# show vlan brief 
Total Number of VLANs configured : 1  
Total Number of VLANs provisioned : 1  
Total Number of VLANs unprovisioned : 0  
VLAN Name State Ports Classification  
(F)-FCoE (u)-Untagged, (t)-Tagged  
(R)-RSPAN (c)-Converged  
(T)-TRANSPARENT  
30 VLAN0030 ACTIVE Po 11(t)  
Tu 1(t) vni 100  
Tu 2(t) vni 100

show mac-address-table

The following is example output from the show mac-address-table command with the bridge-domain keyword, to verify gateway MAC addresses.

device# show mac-address-table bridge-domain
VlanId/BD-Id   Mac-address 		  Type     State     Ports/LIF/peer-ip
629(B)	        0011.2222.5555 	Dynamic  Active    eth 1/3.100
629(B)	        0011.2222.6666 	Dynamic  Inactive  eth 1/1.500
629(B)	        0011.2222.1122 	Dynamic  Active    10.12.12.12
629(B)	        0011.2222.3333 	static   Inactive  po 5.700
629(B)	        0011.0101.5555 	Dynamic  Active    eth 1/2.400

Total MAC addresses : 5  

show ip arp suppression-cache

The following is example output from the show ip arp suppression-cache command, to verify remote ARPs and NDs..

device# show ip arp suppression-cache
Flags: L  - Locally Learnt Adjacency
       R  - Remote Learnt Adjacency
       RS - Remote Static Adjacency
Vlan/Bd    IP               Mac             Interface                        Age           Flags
---------------------------------------------------------------------------------------------------
0100 (V)   10.10.10.11      0000.0a0a.0a0b X/X                            00:01:35         L
0101 (V)   10.10.10.98      0000.1111.0000 X/X                            Never            RS
0101 (V)   10.10.10.99      609c.9f5a.4d15 X/X                            Never            RS
0102 (V)   12.12.122.1      609c.9f5a.4715 X/X                            Never            RS

show bgp evpn

All the options under the show bgp evpn command are helptul.

The following is example output from the show bgp evpn l3vni command, for a specific VRF .

device# show bgp evpn l3vni vrf red
-----------------------------------------------------------------------
   L3VNI Prefix Origination Conditions for vrf (red)
-----------------------------------------------------------------------
Address Family under BGP : True
RD Configured            : True
IRB I/F Configured       : True (0x48000064)
IRB I/F Status           : False
IRB EVID Conigured       : True (100)
Router mac Exists        : True
Source VTEP              : 40.40.40.1
VTEP Active              : Active
IPv4 L3VNI Active        : Active
IPv6 L3VNI Active        : Inactive
-----------------------------------------------------------------------
   L3VNI Prefix Import Conditions for vrf (red)
-----------------------------------------------------------------------
Address Family under BGP : True
IRB I/F Configured       : True (0x48000064)
IRB EVID Configured      : True (100)
Router mac Exists        : True
IPv4 L3VNI Active        : Active
IPv6 L3VNI Active        : Inactive

The following is example output from the show bgp evpn routes command, with ARP specified.

device# show bgp evpn routes type arp 

Total number of BGP EVPN ARP Routes : 4 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
       Prefix             Next Hop        MED        LocPrf     Weight Status
Route Distinguisher: 40.40.100.50:32869
1      ARP:[0][0000.0a0a.0a0b]:[IPv4:10.10.10.11]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 101 L3 Label: 100
         ESI : 00.000000000000000000 
2      ARP:[0][609c.9f5a.4715]:[IPv4:15.143.15.1]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 101 L3 Label: 100
         ESI : 00.000000000000000000
Route Distinguisher: 40.40.100.50:33769
3      ARP:[0][609c.9f5a.4715]:[IPv4:14.13.15.1]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 1001 L3 Label: 100
         ESI : 00.000000000000000000
Route Distinguisher: 40.40.100.60:32869
4      ARP:[0][609c.9f5a.8d15]:[IPv4:6.6.2.5]
                          40.40.40.2      0          100        0      BE    
         AS_PATH: 1000
            L2 Label: 101 L3 Label: 0
         ESI : 00.000000000000000000

The following is example output from the show bgp evpn routes command, with IPv4 prefixes specified.

device# show bgp evpn routes type ipv4-prefix briief              
Total number of BGP EVPN Ipv4Prefix Routes : 4 Status codes: s suppressed, d damped, h history, * valid, > best, i internal, S stale Origin codes: i - IGP, e - EGP, ? - incomplete
    Network            Next Hop        MED        LocPrf     Weight Path
Route Distinguisher: 5:50
*>  IP4Prefix:[0][14.13.15.0/24]
                          0.0.0.0         0          100        0      ?
*>  IP4Prefix:[0][15.143.15.0/24]
                          0.0.0.0         0          100        0      ?
*>  IP4Prefix:[0][16.16.16.0/24]
                          0.0.0.0         0          100        0      ?
Route Distinguisher: 5:100
*>  IP4Prefix:[0][17.17.17.0/24]
                          40.40.40.2      0          100        0      1000 ?

show tunnel statistics

The following is example output from the show tunnel statistics command.

device# show tunnel statistics  
Tnl ID RXpackets TX packets RX bytes TX bytes  
======== =============== =============== =============== ================  
1      18573       1242       356307     356307  

clear counters all

Use the clear counters all command to clear statistics on a gateway, including tunnel statistics.

clear overlay-gateway

Use the clear overlay-gateway command to clear statistics on an overlay gateway, including tunnel statistics.