OcNOS-SP : Virtual Extensible LAN Guide : Virtual Extensible LAN Command Reference : VXLAN Commands : show nvo vxlan mac-table
show nvo vxlan mac-table
Use this command to display the host MAC address table. Use the hardware option to see the ageout time for the dynamically learn macs.
Command Syntax
show nvo vxlan mac-table (vnid <1-16777215>|) (summary | hardware |)
Parameters
<1-16777215>
VXLAN network identifier
summary
Display a count of MAC addresses
hardware
Display hardware information
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show nvo vxlan mac-table
=====================================================================================================================================================
VXLAN MAC Entries
=====================================================================================================================================================
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status AccessPortDesc
_____________________________________________________________________________________________________________________________________________________
10 ce21/1 2 ---- 0000.0000.1111 1.1.1.1 Static Local ------- partner-port
10 ---- ---- ---- 0000.0000.2222 3.3.3.3 Static Remote ------- -------
20 ce21/1 3 ---- 0000.0000.cccc 1.1.1.1 Static Local Discard -------
20 ---- ---- ---- 0000.0000.dddd 3.3.3.3 Static Remote ------- -------
Total number of entries are : 4
 
#show nvo vxlan mac-table hardware
=====================================================================================================================================================
VXLAN MAC Entries
=====================================================================================================================================================
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status Time-out AccessPortDesc
_____________________________________________________________________________________________________________________________________________________
10 ce21/1 2 --- 0000.0000.1111 1.1.1.1 Static Local ----- --- partner-port
10 --- --- --- 0000.0000.2222 3.3.3.3 Dyanamic Remote ----- ---
10 --- --- --- 0000.0000.aa11 3.3.3.3 Dyanamic Remote ----- ---
10 ce21/1 2 --- 0000.0000.bb11 1.1.1.1 Dynamic Local ----- 300 partner-port
10 ce21/1 2 --- 0000.0000.bb12 1.1.1.1 Dynamic Local ----- 277 partner-port
20 ce21/1 --- --- 0000.0000.cccc 1.1.1.1 Static Local Discard ---
20 --- --- --- 0000.0000.dddd 3.3.3.3 Dyanamic Remote ----- ---
Total number of entries are 7
Table 1-10 explains the fields in the output.
Table 1-10: MAC table fields
Field
Description
VNID
VXLAN network identifier
Interface
Interface name
VlanId
VLAN identifier
Mac-Addr
MAC address
VTEP-Ip
VTEP identifier
Type
How a host learns a MAC/IP pair:
 
Dynamic Remote: Learned by EVPN Type 2 (MAC/IP) routes
Static Remote: Statically configured for remote; used only for static VxLAN, not with EVPN
Static Local: Configured on local VTEP
Dynamic Local: Learned by data plane source learning
Status
Max Move conflict: When a MAC has moved too many times (5 or more times in 180 seconds). This is according to the procedures defined in RFC 7432, Section 15.1.
 
Discard: If a MAC hold time is configured, then if the VxLAN access port goes down (admin or operational), the MAC is moved to the discard state for the period of the hold time. The MAC is also moved to the discard state if the VNID is unmapped from the port. In dynamically learned cases, the MAC is also moved to discard when learning is disabled.
Time-out
Age timeout for dynamically learned MACs.
AccessPortDesc
Access port description.
Total number of entries
The total number of entries listed.
 
Last modified date: 08/29/2023