OcNOS-RON : Virtual Extensible LAN Guide : Virtual eXtensible Local Area Network 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 age out time for dynamically learned macs.
Command Syntax
show nvo vxlan mac-table (vnid <1-16777215>|) (summary | hardware |)
Parameters
<1-16777215>
VXLAN network identifier.
summary
Count the MAC addresses.
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Remote Static and Dynamic keyword got changed to Static and Dynamic Remote in MAC table in OcNOS version 1.3.6.
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                        Static Remote               -----             ---
10         ---       ---    ---          0000.0000.aa11 3.3.3.3                        Static 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                        Static Remote               -----             ---
 
Total number of entries are 7
Table 1-9 explains the fields in the output.
Table 1-9: MAC table fields 
Field
Description
VNID
VXLAN network identifier
Interface
Interface name
VlanId
VLAN identifier
Mac-Addr
MAC address
VTEP-Ip
VTEP identifier/Ethernet Segment Identifier
Type
How a host learns a MAC/IP pair:
 
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/28/2023