vsx-sync {[vlans access-lists] | [access-lists | vlans]}

Syntax

vsx-sync {[vlans access-lists] | [access-lists | vlans]}

Description

Enables VSX synchronization for all VLANs or access lists or both associated with an interface.

Command context

(config)

  • The interface <PORT-NUM> command takes you into the config-if context where you enter the vsx-sync {[vlans access-lists] | [access-lists | vlans]} command.

  • The interface lag <ID> command takes you into the config-lag-if context where you enter the vsx-sync {[vlans access-lists] | [access-lists | vlans]} command.

Parameters

{[vlans access-lists] | [access-lists | vlans]}

Specifies that all VLANs and access lists associated with an interface are to be synced for VSX.

[access-lists | vlans]

Selects either all access lists or VLANs associated with an interface to be synced for VSX.

Authority

Administrators

Example

Enabling VSX synchronization for VLANs associated with interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# vsx-sync vlans

Enabling VSX synchronization for access lists associated with interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# vsx-sync access-lists

Enabling VSX synchronization for VLANs and access lists associated with interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# vsx-sync vlans access-lists

Enabling VSX synchronization for VLANs associated with LAG 1:

switch(config)# interface lag 1
switch(config-lag-if)# vsx-sync vlans
switch(config-lag-if)# vlan trunk native 1

Enabling VSX synchronization for access lists associated with LAG 2:

switch(config)# interface lag 2
switch(config-lag-if)#vsx-sync access-lists
switch(config-lag-if)# apply access-list ip ITBoston in

Enabling VSX synchronization for VLANs and access lists associated with LAG 3:

switch(config)# interface lag 3
switch(config-lag-if)#vsx-sync vlans access-lists
switch(config-lag-if)# vlan trunk native 1
switch(config-lag-if)# apply access-list ip ITPaloAlto in