role {primary | secondary}

Syntax

role {primary | secondary}
no role

Description

Configures the VSX device role.

The no form of this command removes the device role of the switch in VSX and causes the interswitch link to be out-of-sync.

Command context

config-vsx

Parameters

{primary | secondary}

Selects the VSX role to either primary or secondary for the device.

Authority

Administrators

Usage

VSX has no default role defined for the device. The device role assigns the device as the primary or secondary for VSX synchronization. For ISL to be in-sync, one device in VSX must be configured as the primary and the other device must be configured as the secondary.

Examples

Setting the VSX role to primary:

switch(config)# vsx
switch(config-vsx)# role primary

Removing the device role:

switch(config)# vsx
switch(config-vsx)# no role