API Guide

Supported
releases
10.4.2.0 or later
show evpn mac
Displays BGP EVPN routes for host MAC addresses.
Syntax
show evpn mac {count | mac-address nn.nn.nn.nn | evi id [mac-address
nn.nn.nn.nn | count | next-hop ip-address count]}
Parameters
count — Displays the total number of local and remote host MAC addresses in EVPN instances.
mac-address nn.nn.nn.nn — Displays the BGP EVPN routes for a specific 48-bit host MAC address.
evi id — Displays the host MAC addresses and next hops in a specified EVPN instance, from 1 to 65535.
To filter the output, display information on the host MAC address count for an EVPN ID or for a next-hop IP
address, and BGP routes for a specified MAC address.
Default Not configured
Command mode EXEC
Usage information Use this command to display the BGP routes for host MAC addresses in EVPN instances.
Examples
OS10# show evpn mac
Type -(lcl): Local (rmt): remote
EVI Mac-Address Type Seq-No Interface/Next-Hop
50 00:00:00:aa:aa:aa rmt 0 55.1.1.3
OS10# show evpn mac count
Total MAC Entries :
Local MAC Address Count : 2
Remote MAC Address Count : 5
OS10# show evpn mac evi 811 count
EVI 811 MAC Entries :
Local MAC Address Count : 1
Remote MAC Address Count : 2
OS10# show evpn mac evi 811 next-hop 80.80.1.8 count
EVI 811 next-hop 80.80.1.8 MAC Entries :
Remote MAC Address Count : 2
Supported
releases
10.4.2.0 or later
show evpn mac-ip
Displays the BGP EVPN Type 2 routes used for host MAC-IP address binding.
Syntax
show evpn mac-ip [count | evi evi [mac-address mac-address] | mac-address mac-
address | next-hop ip-address]
Parameters
count — Displays the total number of MAC addresses in EVPN MAC-IP address binding.
evi evi — Enter an EVPN instance ID, from 1 to 65535.
host ip-address — Enter the IP address of a host that communicates through EVPN routes.
mac-address mac-address — Enter the MAC address of a host that communicates through EVPN
routes in the format nn:nn:nn:nn:nn.
next-hop ip-address — Enter the IP address of a next-hop switch.
68 BGP EVPN for VXLAN