Chapter 23 Device HA

Virtual Router and Management IP Addresses

If a backup takes over for the master, it uses the master’s IP addresses. These IP addresses are know as the virtual router IP addresses.

Each interface can also have a management IP address. You can connect to this IP address to manage the NXC regardless of whether it is the master or the backup.

23.4Active-Passive Mode Device HA Commands

The following table identifies the values required for many of these commands. Other input values are discussed with the corresponding commands.

Table 93 Input Values for device-ha Commands

LABELDESCRIPTION

interface_name The name of the interface.

Ethernet interface: gex, x = 1 - N, where N equals the highest numbered Ethernet interface for your NXC model.

VLAN interface: vlanx, x = 0 - 511.

The following sections list the device-hacommands.

23.4.1 Active-Passive Mode Device HA Commands

This table lists the commands for configuring active-passive mode device HA.

Table 94 device-ha ap-mode Commands

COMMAND

DESCRIPTION

[no] device-ha ap-mode preempt

Turn on preempt if this NXC should become the

 

master NXC if a lower-priority NXC is the master

 

when this NXC is enabled.

 

 

device-ha ap-mode role {masterbackup}

Sets the NXC to be the master or a backup in the

 

virtual router.

device-ha ap-mode cluster-id <1..32>

Sets the cluster ID number. A virtual router consists

 

of a master NXC and all of its backup NXCs. If you

 

have multiple NXC virtual routers on your network,

 

use a different cluster ID for each virtual router.

 

 

device-ha ap-mode priority <1..254>

Sets backup NXC’s priority. The backup NXC with

 

the highest value takes over the role of the master

 

NXC if the master NXC becomes unavailable. The

 

priority must be between 1 and 254. (The master

 

interface has priority 255.)

 

 

 

165

NXC CLI Reference Guide