vsx-sync evpn

Syntax

vsx-sync evpn

no vsx-sync evpn

Description

Enables syncing of all EVPN context-related configurations on primary VSX node to the secondary peer switch.

The no form of this command disables syncing EVPN configurations to the secondary peer, but it does not remove the previously synced configurations from the secondary peer switch.

NOTE:

As a prerequisite, VLAN vsx-sync must be enabled separately for the VLAN configurations inside EVPN context to get synced.

Command context

config-vsx

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling VSX sync for the EVPN configurations:

switch(config)# vlan 2
switch(config-vlan-2)# vsx-sync
switch(config)# evpn 
switch(config-evpn)# vlan 2
switch(config-evpn-vlan-2)# rd 5:5
switch(config-evpn-vlan-2)# route-target export 1:1
switch(config-evpn-vlan-2)# route-target import 1:1
switch(config)# vsx
switch(config-vsx)# vsx-sync evpn

Disabling VSX sync for the EVPN configurations:

switch(config)# vsx
switch(config-vsx)# no vsx-sync evpn