VSRP node configuration


Displays the properties of the local VSRP node. VSRP provides redundancy support for Layer 4 through 7 services. When you configure VSRP on the Sun Secure Application Switch, two systems can exchange state and health information about each other and their redundant vSwitches. If the active system has a failure, fail over can occur and service traffic switches to the standby, or peer node.

Access mode

exec

Syntax

show redundancy vsrp node

Output Description

Heading Description Filter
Node ID 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. nodeId integer
Port The number of the port that the local node listens on for communication from the peer node.

Valid values are from 1 to 65535.
port integer
Election Mode The granularity in election that will be used when electing VSRP master and backup.

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.
electionMode enumeration
Election Preference 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.
electionPreference integer
Elected Increase 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.
electedIncrease integer
Hello Time The time, in seconds, that elapses before the system sends a hello message to its peer node.

Valid values are from 1 to 65535.
helloTime integer
Missing Hello Count 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.
missingHelloCount integer
Admin State The administrative state of the node configuration.

Valid values:
  • disabled : VSRP is disabled.
  • enabled : VSRP is enabled.
adminState enumeration
VRRP Preference 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.
vrrpPreference integer
Packet Trace The setting for the packet trace capability. When enabled, the system sends debug messages relating to the VSRP protocol messages sent and received.

Valid values: enabled, disabled
packetTrace enumeration
Oper Status The current operational status of communication between the local and peer nodes.

Valid values:
  • down : No sessions exist between the VSRP local and peer nodes.
  • up : The local and peer nodes can exchange VSRP messages.
operStatus enumeration
Elected State The current elected state of the local node.

Valid values:
  • master : The switch directs virtual service traffic to the local VSRP node.
  • backup : The switch directs virtual service traffic to the master VSRP peer node.
  • incapable : The local VSRP node cannot contact the peer node.
  • perVSwitch : The state is per each individual vSwitch.
electedState enumeration
Current Election Preference The current value of the election preference. This value can differ from the value set with the node command if the local node elected state changes.

Valid values are from 0 to 65535.
currentElectionPreference integer
Election Changes The number of times the election changed in this VSRP configuration. electionChanges counter32
Number Master Vrrp Routers The number of VRRP routers that are master and active on this switch. This number is used in conjunction with VRRPPreference to increase the electionPreference. numberMasterVrrpRouters integer

Related actions

You can do the following