Add a VSRP node configuration


Define the local node used in a VSRP configuration. The local node uses a VSRP session to exchange information with a peer node. This information exchange determines which node should handle active traffic.

Access mode

config

Syntax

redundancy vsrp node

Arguments

Field Name Description
nodeId integer The numeric identifier associated with the local node. If you do not configure an electionPreference, the local and peer nodes use this value to determine which system should be active. The system with the highest nodeID value becomes the master system.
electionMode enumeration Optional: The granularity in election that will be used when electing VSRP master and backup.

The default setting is "allOrNone".

Valid values:
  • perVSwitch : Each vSwitch on the switch can be elected master or backup.
  • allOrNone : All of the vSwitches on the switch can be either master or backup.
vrrpPreference integer Optional: This is the value added to the electionPreference, and reflected in currentElectionPreference, for each VRRP in the system that is Active Master. A value of 0 indicates that VSRP should not accept VRRP hints and monitor VRRP state.

Valid values are from 0 to 254; the default setting is "0".
port integer Optional: The number of the port that the local node listens on for communication from the peer node.

Valid values are from 1 to 65535; the default setting is "4121".
electionPreference integer Optional: The preference assigned to the local node. The local and peer nodes use this value to determine which system should be the master. The system with the highest electionPreference becomes the master system.

Valid values are from 0 to 65535; the default setting is "100".
electedIncrease integer Optional: The amount to increase the electionPreference if the local node and its peer have the same electionPreference value, and the local node becomes the master node.

Valid values are from 0 to 65535; the default setting is "100".
helloTime integer Optional: The time, in seconds, that elapses before the system sends a hello message to its peer node.

Valid values are from 1 to 65535; the default setting is "1".
missingHelloCount integer Optional: The number of Hellos to a peer that can be ignored before the system decides that the peer node is down.

Valid values are from 1 to 10; the default setting is "3".
adminState enumeration Optional: The administrative state of the node configuration.

The default setting is "enabled".

Valid values:
  • disabled : VSRP is disabled.
  • enabled : VSRP is enabled.
packetTrace enumeration Optional: The setting for the packet trace capability. When enabled, the system sends debug messages relating to the VSRP protocol messages sent and received.

The default setting is "disabled".

Valid values: enabled, disabled