API Guide

View the VXLAN virtual-network statistics
OS10# show virtual-network counters
Virtual-Network Input (Packets/Bytes) Output (Packets/Bytes)
1000 857/8570 257/23709
2000 457/3570 277/13709
OS10# show virtual-network counters interface 1/1/3 vlan 100
Virtual-Network Input (Packets/Bytes) Output (Packets/Bytes)
1000 857/8570 257/23709
2000 457/3570 277/13709
NOTE: Using flex counters, OS10 may display additional packets in the Output field number, but the additional packets
do not transmit. For an accurate count, use the Output Bytes number.
View the VXLAN remote VTEPs
OS10# show nve remote-vtep summary
Remote-VTEP State
----------------------
2.2.2.2 up
OS10# show nve remote-vtep
Codes: DP - MAC-learn Dataplane, CP - MAC-learn Controlplane, UUD - Unknown-Unicast-Drop
IP Address: 2.2.2.2, State: up, Encap: VxLAN
VNI list: 10000(DP), 200(DP), 300(DP)
View the VXLAN statistics on the remote VTEPs
OS10# show nve remote-vtep counters
Remote-VTEP Input (Packets/Bytes) Output (Packets/Bytes)
----------------------------------------------------------------------
10.10.10.10 857/8570 257/23709
20.20.20.20 457/3570 277/13709
View the VXLAN virtual network by VNID
OS10# show nve vxlan-vni
VNI Virtual-Network Source-IP Remote-VTEPs
------------------------------------------------------
101 101 44.44.44.44 11.11.11.11,22.22.22.22,33.33.33.33
102 102 44.44.44.44 11.11.11.11,22.22.22.22,33.33.33.33
103 103 44.44.44.44 11.11.11.11,22.22.22.22,33.33.33.33
104 104 44.44.44.44 11.11.11.11,22.22.22.22,33.33.33.33
View VXLAN routing between virtual networks
The show ip arp vrf and show ipv6 neighbors vrf command output displays information about IPv4 and IPv6 neighbors
learned in a non-default VRF on the switch. The show ip route vrf command displays the IPv4 and IPv6 routes learned.
OS10# show ip arp vrf tenant1
Address Hardware address Interface Egress Interface
----------------------------------------------------------------
111.0.0.2 00:c5:15:02:12:f1 virtual-network20 ethernet1/1/5
111.0.0.3 00:c5:15:02:12:a2 virtual-network20 port-channel5
111.0.0.4 00:12:98:1f:34:11 virtual-network20 VXLAN(20.0.0.1)
121.0.0.3 00:12:28:1f:34:15 virtual-network20 port-channel5
121.0.0.4 00:f2:34:ac:34:09 virtual-network20 VXLAN(20.0.0.1)
OS10# show ipv6 neighbors vrf tenant1
IPv6 Address Hardware Address State Interface Egress Interface
----------------------------------------------------------------------------
200::2 00:12:28:1f:34:15 STALE virtual-network40 port-channel5
200::f 00:f2:34:ac:34:09 REACH virtual-network40 VXLAN(20.0.0.1)
OS10# show ip route vrf vrf_1
Codes: C - connected
S - static
VXLAN
17