vsx-sync

Syntax

vsx-sync

no vsx-sync

Description

Enables VSX synchronization for the entire context for the following features from the primary VSX node to the secondary peer switch:

  • Access list context

  • Classifier context

  • Object group context

  • Policy-based routing profile context

  • Policy context

  • QoS queue profile context

  • QoS schedule profile context

  • VLAN context

The no form of this command disables VSX synchronization for the entire context for a feature, but it does not remove the feature configurations from the secondary peer. Any subsequent configuration changes made under the specific configuration context are not synchronized to the secondary peer switch.

Command context

config-acl-<ACL-TYPE>

config-addrgroup-ip

config-addrgroup-ipv6

config-class-<CLASS-TYPE>

config-policy

config-portgroup

config-pbr-action-list-<ACTION-LIST-NAME>

config-queue

config-schedule

config-vlan-<ID>

Authority

Administrators

Usage

Make sure that you are in the correct context for the feature that you are trying to enable VSX synchronization:

Feature context for enabling VSX synchronization

Command for accessing correct context for the vsx-sync command*

Access list context for an ACL type, such as IPv4, IPv6, or MAC.

access-list <ACL-TYPE> <ACL-NAME>

Class context for a class type, such as IPv4, IPv6, or MAC.

class <CLASS-TYPE> <CLASS-NAME>

Object group context for IPv4

object-group ip address <OBJECT-GROUP-NAME>

Object group context for IPv6

object-group ipv6 address <OBJECT-GROUP-NAME>

Object group context for ports

object-group port <OBJECT-GROUP-NAME>

Policy-based routing profile context

pbr <ACTION-LIST-NAME>

Policy context

policy <POLICY-NAME>

QoS queue profile context

qos queue-profile <QUEUE-PROFILE-NAME>

QoS schedule profile context

qos schedule-profile <SCHEDULE-PROFILE-NAME>

VLAN context

vlan <ID>

*The commands listed in this column are entered at the switch(config)# prompt, as shown in the following examples.

Examples

Enabling VSX synchronization for this IPv4 access list context to the secondary peer:

switch(config)# access-list ip ITBoston
switch(config-acl-ip)# vsx-sync

Enabling VSX synchronization for this IPv6 access list context to the secondary peer:

switch(config)# access-list ipv6 ITRoseville
switch(config-acl-ipv6)# vsx-sync

Enabling VSX synchronization for this MAC access list context to the secondary peer:

switch(config)# access-list mac ITBangalore
switch(config-acl-ipv6)# vsx-sync

Enabling VSX synchronization for this IPv4 class context to the secondary peer:

switch(config)# class ip ITengineering
switch(config-class-ip)# vsx-sync

Enabling VSX synchronization for this object group context for IPv4:

switch(config)# object-group ip address group1
switch(config-addrgroup-ip)# 1.1.1.1
switch(config-addrgroup-ip)# vsx-sync

Enabling VSX synchronization for this QoS queue profile context to the secondary peer:

switch(config)# qos queue-profile test_queue_profile
switch(config-queue)# vsx-sync

Enabling VSX synchronization for this QoS schedule profile context to the secondary peer:

switch(config)# qos schedule-profile test_queue_profile1
switch(config-schedule)# vsx-sync

Enabling VSX synchronization for this PBR profile context to the secondary peer:

switch(config)# pbr engineering
switch(config-pbr-action-list-engineering)# vsx-sync

Enabling VSX synchronization for this policy context to the secondary peer:

switch(config)# policy ITPaloAlto
switch(config-policy)# vsx-sync

Enabling VSX synchronization for this VLAN context to the secondary peer:

switch(config)# vlan 1
switch(config-vlan-1)# vsx-sync

Disabling VSX synchronization for this IPv4 class context to the secondary peer:

switch(config)# class ip ITengineering
switch(config-class-ip)# no vsx-sync

Disabling VSX synchronization for this object group context for IPv4:

switch(config)# object-group ip address group1
switch(config-addrgroup-ip)# no vsx-sync

Disabling VSX synchronization for this QoS queue profile context to the secondary peer:

switch(config)# qos queue-profile test_queue_profile
switch(config-queue)# no vsx-sync

Disabling VSX synchronization for this QoS schedule profile context to the secondary peer:

switch(config)# qos schedule-profile test_queue_profile1
switch(config-schedule)# no vsx-sync

Disabling VSX synchronization for this PBR profile context to the secondary peer:

switch(config)# pbr engineering
switch(config-pbr-action-list-engineering)# no vsx-sync

Disabling VSX synchronization for this policy context to the secondary peer:

switch(config)# policy ITPaloAlto
switch(config-policy)# no vsx-sync

Disabling VSX synchronization for this MAC access list context to the secondary peer:

switch(config)# access-list mac ITBangalore
switch(config-acl-ipv6)# no vsx-sync

Disabling VSX synchronization for this VLAN context to the secondary peer:

switch(config)# vlan 1
switch(config-vlan-1)# no vsx-sync