Command Line Reference
Virtualization and Tunnel Conf...
EVPN Multihoming
15 min
evpn multihoming view evpn multihoming view table 1 evpn multihoming view table 1 evpn multihoming view command purpose show evpn es { detail | json | esi } display the es detailed status information show evpn es {detail|json| show evpn es {detail|json| esi } \[command] show evpn es { detail | json |esi} \[purpose] display the es detailed status information \[parameters] parameter description esi specify the esi \[view] privileged user view \[use cases] sonic# show evpn es detail esi 03 00 00 01 00 00 01 00 00 64 type local,remote interface link aggregation 5 state up bridge port yes ready for bgp yes vni count 0 mac count 2 df status df df preference 32767 nexthop group 536870913 vteps 10 1 0 238 df alg preference df pref 32767 nh 268435459 evpn multihoming config evpn multihoming config table 2 evpn multihoming config table 2 evpn multihoming config command purpose evpn mh disable advertise svi mac disable svi mac advertise to bgp evpn mh mac holdtime holdtime set mac table entry hold time evpn mh neigh holdtime holdtime set neighbor table entry hold time evpn mh redirect off enable fast failover on control plane evpn mh es id { esi | es id } configure esi evpn mh es sys mac hh\ hh\ hh\ hh\ hh\ hh set the es system mac evpn mh es df pref preference set the preference for df election evpn unique ip vlan vlan id enable evpn unique ip feature evpn mh disable advertise svi mac evpn mh disable advertise svi mac \[command] evpn mh disable advertise svi mac \[purpose] disable svi mac advertise to bgp \[view] global configuration view \[notes] bgp advertisement for svi mac is enabled by default run command no evpn mh disable advertise svi mac to enable svi mac advertise to bgp \[use cases] sonic# configure terminal sonic(config)# evpn mh disable advertise svi mac evpn mh mac holdtime evpn mh mac holdtime holdtime \[command] evpn mh mac holdtime holdtime \[purpose] set mac table entry hold time \[parameters] parameter description holdtime set the hold time in seconds, the range is 0 86400 it indicates how long at least the mac entries on the local side will be aged after the locally learned mac entries of the es peer are aged the default value is 18 minutes and it is recommended to set it to 0 \[view] global configuration view \[notes] run command no evpn mh mac holdtime to delete the hold time configuration \[use cases] sonic# configure terminal sonic(config)# evpn mh mac holdtime 0 evpn mh neigh holdtime evpn mh neigh holdtime holdtime \[command] evpn mh neigh holdtime holdtime \[purpose] set neighbor table entry hold time \[parameters] parameter description holdtime set the hold time in seconds, the range is 0 86400 it indicates how long at least the neighbor entries on the local side will be aged after the locally learned neighbor entries of the es peer are aged the default value is 18 minutes and it is recommended to set it to 0 \[view] global configuration view \[notes] run command no evpn mh neigh holdtime to delete the hold time configuration \[use cases] sonic# configure terminal sonic(config)# evpn mh neigh holdtime 0 evpn mh redirect off evpn mh redirect off \[command] evpn mh redirect off \[purpose] enable fast failover on control plane \[view] global configuration view \[notes] this feature is disabled by default and is recommended to be enabled run command no evpn mh redirect off to disable fast failover \[use cases] sonic# configure terminal sonic(config)# evpn mh redirect off evpn mh es id {esi|es id} evpn mh es id {esi|es id} \[command] evpn mh es id { esi|es id } \[purpose] configure esi \[parameters] parameter description esi set a 10 byte esi in the format 00\ aa\ bb\ cc\ dd\ ee\ ff\ gg\ hh\ ii es id the range is 1 16777215 \[view] lagif configuration view \[notes] there are two methods to configure esi 1\ directly set a unique 10 byte esi in the format 00\ aa\ bb\ cc\ dd\ ee\ ff\ gg\ hh\ ii; 2\ set es id and es sys mac, and then form a unique 10 byte esi with reserved bits run command no evpn mh es id to delete the esi \[use cases] sonic# configure terminal sonic(config)# interface link aggregation 123 sonic(config lagif 123)# evpn mh es id 03 00 00 01 00 00 02 00 00\ c9 sonic# configure terminal sonic(config)# interface link aggregation 124 sonic(config lagif 124)# evpn mh es id 100 sonic(config lagif 124)# evpn mh es sys mac 00 00 01 00 00 10 evpn mh es sys mac evpn mh es sys mac hh\ hh\ hh\ hh\ hh\ hh \[command] evpn mh es sys mac hh\ hh\ hh\ hh\ hh\ hh \[purpose] set the es system mac \[parameters] parameter description hh\ hh\ hh\ hh\ hh\ hh mac address \[view] lagif configuration view \[notes] run command no evpn mh es sys mac to delete the es system mac \[use cases] sonic# configure terminal sonic(config)# interface link aggregation 125 sonic(config lagif 125)# evpn mh es sys mac 00 00 01 00 00 10 evpn mh es df pref evpn mh es df pref preference \[command] evpn mh es df pref preference \[purpose] set the preference for df election \[parameters] parameter description preference set the preference for df election the range is 1 65535 the device with the largest value will be the designated forwarder (df) for this es \[view] lagif configuration view \[notes] run command no evpn mh es df pref to restore the preference to the default value 32767 \[use cases] sonic# configure terminal sonic(config)# interface link aggregation 126 sonic(config lagif 126)# evpn mh es df pref 0 evpn unique ip vlan evpn unique ip vlan vlan id \[command] evpn unique ip vlan vlan id \[purpose] enable evpn unique ip feature \[parameters] parameter description vlan id vlan id, the range is \[1,4094] \[view] global configuration view \[notes] this feature is not enabled by default when enabled, the gateway of a couple of es peers is allowed to have different mac and ip addresses configured run command no evpn unique ip vlan vlan id to disable the evpn unique ip feature \[use cases] sonic# configure terminal sonic(config)# evpn unique ip vlan 25
