vsx-sync {[active-gateways] [policies]}

Syntax

vsx-sync {[active-gateways] [policies]}

no vsx-sync {[active-gateways] [policies]}

Description

Enables VSX sync of active gateways or policies associated under an interface. To synchronize the associations, you must configure the same interface vlan on the peer switch.

The no form of this command removes VSX synchronization for active gateways or policies associated under an interface, but it does not remove the feature configurations from the secondary peer switch.

Command context

config-if-vlan

Parameters

{[active-gateways] [policies]}
Specifies one or more of the features for which to enable VSX synchronization.
access-gateways

Specifies that active gateways associated with an interface are enabled for VSX syncing.

policies

Specifies that policies associated with an interface are enabled for VSX syncing.

Authority

Administrators

Usage

Configure an SVI on the secondary switch; however, you do not need to run the vsx-sync active-gateways command on the secondary VSX switch.

Examples

Enabling VSX synchronization for an active gateway associated with VLAN 1:

switch(config)# interface vlan 1
switch(config-if-vlan)# vsx-sync active-gateways

Enabling VSX synchronization for policies associated with VLAN 1:

switch(config)# interface vlan 1
switch(config-if-vlan)# vsx-sync policies

Enabling VSX synchronization for active gateways and policies associated with VLAN 1:

switch(config)# interface vlan 1
switch(config-if-vlan)# active-gateway ip 10.10.10.10 mac 23:24:25:26:27:28
switch(config-if-vlan)# active-gateway ipv6 fd12:3456:789a:1::1 mac fd12:3456:789a:1::1 23:24:25:26:27:28
switch(config-if-vlan)# vsx-sync active-gateways policies

Disabling VSX synchronization for active gateways associated with VLAN 1:

switch(config)# interface vlan 1
switch(config-if-vlan)# no vsx-sync active-gateways