MCLAG to VSX command equivalency

Many of the MCLAG commands have an equivalent VSX command. The following table provides the equivalent commands for MCLAG and VSX. All VSX commands have been moved to a new VSX context, except for active gateway.

Required Commands
MCLAG VSX Description

N/A

switch(config)# vsx

VSX contains its own context for configuration. All VSX commands are executed within the VSX context.

switch(config)# interface 1/1/1 
switch(config-if)# mclag inter-switch-link

or

switch(config)# interface lag1 
switch(config-lag-if)# mclag inter-switchlink
switch(vsx)# inter-switch-link 1/1/1

or

switch(vsx)# inter-switch-link lag 1

Configure the interswitch link (ISL) on an interface or a LAG interface.

switch(config)# mclag device-priority 8
switch(vsx)# role primary

or

switch(vsx)# role secondary

MCLAG uses a device priority value to designate a role. VSX requires the manual configuration of a role. Designate one switch as the primary switch and its peer switch as the secondary switch.

switch(config)# keepalive peer 10.0.0.2 source 10.0.0.1

or

switch(config)# keepalive peer 10.0.0.2 source 10.0.0.1 red
switch(vsx)# keepalive peer 10.0.0.2 source 10.0.0.1

or

switch(vsx)# keepalive peer 10.0.0.2 source 10.0.1 vrf red

The keepalive is required and configured under the VSX context.

switch(config-if)# interface vlan 10
switch(config-if-vlan)# active-gateway ip 10.1.1.1 00:00:00:01:00:01

or

switch(config-if)# interface vlan 10
switch(config-if-vlan )# active-gateway ip6 2001::1 00:00:00:01:00:01
switch(config-if)# interface vlan 10
switch(config-if-vlan)# active-gateway ip 10.1.1.1 mac 00:00:00:01:00:01

or

switch(config-if)# interface vlan 10
switch(config-if-vlan )# active-gateway ip6 2001::1 mac 00:00:00:01:00:01

If active gateway was used in MCLAG and you want to use active gateway for VSX, configure active gateway again on each interface VLAN.

Optional commands
MCLAG VSX Description
switch(config)# mclag inter-switch-link hello-interval 2
switch(vsx)# inter-switch-link hellointerval

Configures the ISL hello interval.

switch(config)# mclag inter-switch-link dead-interval 10
switch(vsx)# inter-switch-link deadinterval

Configures the ISL dead interval.

switch(config)# mclag inter-switch-link hold-time 1
switch(vsx)# inter-switch-link hold-time 1

Configures the ISL holdtime.

switch(config)# mclag keepalive udp-port 9999
switch(vsx)# keepalive udp-port 9999

Configures the keepalive UDP port.

switch(config)# mclag keepalive deadinterval 6
switch(vsx)# keepalive dead-interval 6

Configures the keepalive dead interval.

switch(config)# mclag keepalive hellointerval 2
switch(vsx)# keepalive hello-interval 2

Configures the keep alive hello interval.