Celestica Documentation Portal

Find your product documents here

Show vxlan remote mac

Displays mac entries that are learned from a remote VTEP through EVPN type-2 route advertisements.

Syntaxshow vxlan remote mac [<rem-vtep-ip] [count]
Command modeEXEC
Parameters
  • rem-vtep-ip – Remote VTEP's IPv4 address in (A.B.C.D) format.

Usage Use this command to retrieve the mac entries learned from all remote VTEPs or the specified remote VTEP.
Supported Releases1.1.0 or later
Click command show vxlan remotemac REMOTE_VTEP_IP [COUNT]
Example
sonic# show vxlan remote mac
   Vlan           Mac             RemoteVTEP      VNI       Type
 -----------------------------------------------------------------
  Vlan10   00:00:01:10:01:01       2.2.2.2       100010   DYNAMIC
  Vlan10   00:00:01:10:01:02       2.2.2.2       100010   DYNAMIC
  Vlan10   00:00:03:10:01:01       3.3.3.3       100010   DYNAMIC
  Vlan10   00:00:03:10:01:02       3.3.3.3       100010   DYNAMIC
Total count :   4
sonic# show vxlan remote mac 2.2.2.2
   Vlan           Mac             RemoteVTEP      VNI       Type
 -----------------------------------------------------------------
  Vlan10   00:00:01:10:01:01       2.2.2.2       100010   DYNAMIC
  Vlan10   00:00:01:10:01:02       2.2.2.2       100010   DYNAMIC
Total count :   2
sonic# show vxlan remote mac 3.3.3.3
   Vlan           Mac             RemoteVTEP      VNI       Type
 -----------------------------------------------------------------
  Vlan10   00:00:03:10:01:01       3.3.3.3       100010   DYNAMIC
  Vlan10   00:00:03:10:01:02       3.3.3.3       100010   DYNAMIC
Total count :   2
sonic# show vxlan remote mac count
Total count :   4
sonic# show vxlan remote mac count 2.2.2.2
Total count :   2
sonic#

When no macs are learned
sonic# show vxlan remote mac
Total count :   0
sonic#