EVPN Multihoming
此内容尚不支持你的语言。
Table 1 EVPN Multihoming View
| Command | Purpose |
|---|---|
| show evpn es {detail|json|ESI} | Display the ES detailed status information. |
[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 detailESI: 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: 268435459EVPN Multihoming Config
Section titled “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
Section titled “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 terminalsonic(config)# evpn mh disable-advertise-svi-macevpn mh mac-holdtime
Section titled “evpn mh mac-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 terminalsonic(config)# evpn mh mac-holdtime 0evpn mh neigh-holdtime
Section titled “evpn mh neigh-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 terminalsonic(config)# evpn mh neigh-holdtime 0evpn mh redirect-off
Section titled “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 terminalsonic(config)# evpn mh redirect-offevpn mh es-id {ESI|es-id}
Section titled “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 terminalsonic(config)# interface link-aggregation 123sonic(config-lagif-123)# evpn mh es-id 03:00:00:01:00:00:02:00:00:c9sonic# configure terminalsonic(config)# interface link-aggregation 124sonic(config-lagif-124)# evpn mh es-id 100sonic(config-lagif-124)# evpn mh es-sys-mac 00:00:01:00:00:10evpn mh es-sys-mac
Section titled “evpn mh es-sys-mac”[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 terminalsonic(config)# interface link-aggregation 125sonic(config-lagif-125)# evpn mh es-sys-mac 00:00:01:00:00:10evpn mh es-df-pref
Section titled “evpn mh es-df-pref”[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 terminalsonic(config)# interface link-aggregation 126sonic(config-lagif-126)# evpn mh es-df-pref 0evpn unique-ip vlan
Section titled “evpn unique-ip vlan”[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 terminalsonic(config)# evpn unique-ip vlan 25