advertise-mac
To advertise local MAC to the peers, use advertise-mac command in the EVPN configuration mode. The local MAC is advertised to the peer in control plane using BGP.
advertise-mac
Syntax Description
This command has no keywords or arguments.
Command Default
None
Command Modes
EVPN
Command History
Release | Modification |
---|---|
Release 7.11.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Examples
The following example shows how to advertise local MAC.
Router(config)# evpn
Router(config-evpn)# interface Bundle-Ether 1
Router(config-evpn-ac)# exit
Router(config-evpn)# evi 2001
Router(config-evpn-instance)# advertise-mac
Router(config-evpn-instance-mac)# commit