VSRP virtual router table

The VSRP virtual router table describes the configuration of the VSRP virtual router. The following objects are equivalent to the vsrp vrid and show vsrp CLI commands.

Name, OID, and syntax

Access

Description

snVsrpVirRtrTable

1.3.6.1.4.1.1991.1.1.3.21.3.1

None

The VSRP virtual router table.

snVsrpVirRtrVlanId

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.1

Syntax: Integer32

Read-only

VLAN index of the VSRP router.

snVsrpVirRtrId

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.2

Syntax: Integer

Read-only

Shows a virtual router ID for the interface.

snVsrpVirRtrOwnership

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.3

Syntax: Integer

Read-write

Indicates the owner of the VSRP router interface. The owner or master router owns the IP addresses associated with the VRID:

  • incomplete(0) - No IP address has been assigned to this interface.
  • owner(1) - This does not apply to VSRP.
  • backup(2) - The backup router is the owner of the interface. This is the only value that can be assigned to a VSRP router interface.
snVsrpVirRtrCfgPriority

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.4

Syntax: Integer

Read-write

Indicates the preferability of a router for becoming the active router for the interface. A higher number indicates a higher priority. If two or more devices are tied with the highest priority, the backup interface with the highest IP address becomes the active router for the VRID.

This object can be set only if VSRP virtual router table is set to backup(2).

Valid values: 8 - 255

Default: 100

snVsrpVirRtrTrackPriority

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.5

Syntax: Integer

Read-write

Indicates the amount by which the default track priority is reduced when a tracked interface goes down. The higher the number, the higher the priority.

After this object is configured, the VSRP virtual router table object of this interface will be adjusted dynamically with this track priority the first time the track port states changes from up to down.

Valid values: 1 - 254

snVsrpVirRtrCurrPriority

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.6

Syntax: Integer

Read-only

The current VSRP priority of this Layer 3 Switch for the VRID. The current priority can differ from the configured priority for the following reasons:

  • The VRID is still in the initialization stage and has not become a master or backup. In this case, the current priority is 0.
  • The VRID is configured with track ports and the link on a tracked interface has gone down.

A higher number indicates a higher priority.

This object is adjusted dynamically when the tracked port first changes from up to down.

Valid values: 1 - 254

snVsrpVirRtrHelloInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.7

Syntax: Integer

Read-write

Shows the number of seconds between hello advertisements sent from the master and the backup.

Valid values: 1 - 84

Default: 1 second

Note: This object cannot be combined with either the snVsrpVirRtrDeadInt or snVsrpVirRtrHoldDownInt objects in one SNMP set request.
snVsrpVirRtrDeadInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.8

Syntax: Integer

Read-write

Shows the number of seconds a Backup waits for a hello message from the master for the VRID before determining that the master is no longer active. If the master does not send a hello messages before the dead interval expires and the backups negotiate (compare priorities) to select a new master .

Valid values: 1 - 84

Default: 3 seconds

Note: This object cannot be combined with the snVsrpVirRtrHelloInt object in one SNMP set request.
snVsrpVirRtrPreemptMode

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.9

Syntax: Integer

Read-write

Enables or disables preemption. When preemption is enabled, a higher priority backup router preempts a lower priority master.

  • disabled(0)
  • enabled(1)

Default: enabled(1)

snVsrpVirRtrState

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.10

Syntax: Integer

Read-only

Specifies the virtual router’s interface state:

  • init(0) - Initialization state
  • master(1) - Master state
  • backup(2) - Backup state
snVsrpVirRtrIpAddrMask

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.11

Syntax: Octet String

Read-write

The numbers of IP addresses for this virtual router of this interface. This object is for Layer 3 VSRP.

Valid values: Up to 64 octets

snVsrpVirRtrActivate

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.12

Syntax: Integer

Read-write

Indicates if a VRRP or VRRP-E router has been activated.

  • disabled(0) - The router has not been activated.
  • enabled(1) - The router has been activated.
snVsrpVirRtrTrackPortList

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.13

Syntax: Octet String

Read-write

Specifies the router’s physical track port membership. The membership includes physical port s and virtual ports whose state is to be monitored.

Each port index is an ifIndex. If there are four or more consecutive ifIndexes, then the encoding and decoding scheme is range-based, as follows:

  • Each range prefix with 0000 (2 octets) is not a valid ifIndex.
  • The first two octets in a set of four octets indicate the beginning of the range. The next two octets show the end of the range.
  • Ifindexes that are not in a range are displayed as individual indexes.

For example, you may see the following lists:

  • Port list: 0001..0005 0015 0032..0047

0001..0005 and 0032..0047 show ranges of ifindexes; whereas, 0015 is one ifindex

  • Port list in PDU: 0000 0001 0005 000f 0000 0020 002f

The list contains ifindexes not in a range.

If this object is configured, then the preference level of this interface will be adjusted dynamically depending on the state of the track port. The interface's preference level is reduced by the value of preference level parameter when the track port states first changes from up to down. When the track port returns to the up state, the interface's preference level is increased by the amount specified by the preference level.

snVsrpVirRtrAdvertiseBackup

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.14

Syntax: Integer

Read-write

Indicates if the ability for this backup to advertise itself to the current master is enabled:

  • disabled(0)
  • enabled(1)

Default: disabled(0)

snVsrpVirRtrHoldDownInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.15

Syntax: Integer

Read-write

The amount of time a backup that has sent a hello packet announcing its intent to become master waits before beginning to forward traffic for the VRID. The hold-down interval prevents Layer 2 loops from occurring during rapid failover of VSRP.

The interval can be from 1 through 84 seconds.

Default: 2 seconds

Note: This object cannot be combined with the snVsrpVirRtrHelloInt object in one SNMP set request.
snVsrpVirRtrInitTtl

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.16

Syntax: Integer

Read-write

Indicates the time-to-live (TTL) value in the hello packets. TTL is the maximum number of hops a VSRP hello packet can traverse before being dropped. TTL in a packet helps regulate the distance that a hello packet can travel. It prevents the flooding of VSRP hello packets in the network.

Valid values: 1 - 255 seconds

Default: 1 second

snVsrpVirRtrIncPortList

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.17

Syntax: Octet String

Read-write

Groups all free ports of a VLAN into their control ports.

snVsrpVirRtrSave

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.18

Syntax: Integer

Read-write

Sets VSRP to save current parameters value:

  • disabled(0)
  • enabled(1)

Default: disabled(0)

snVrrpVirRtrBackupInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.19

Syntax: Integer

Read-write

Indicates the time interval when backup routers send hello message advertisements.

Valid values: 60 - 3600 seconds

Default: 60 seconds

snVsrpVirRtrRowStatus

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.20

Syntax: Integer

Read-write

Controls the management of the table rows. The following values can be written:

  • delete(3) - Delete the row.
  • create(4) - Create a new row.
  • modify(5) - Modify an existing row.

If the row exists, then a SET with a value of create(4) returns a "bad value" error. Deleted rows are removed from the table immediately.

The following values can be returned on reads:

  • noSuch(0) - No such row.
  • invalid(1) - Row is inoperative.
  • valid(2) - Row exists and is valid.
snVsrpVirRtrRxArpPktDropCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.21

Syntax: Counter32

Read-only

The received VSRP ARP packet drop counts.

snVsrpVirRtrRxIpPktDropCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.22

Syntax: Counter32

Read-only

The received VSRP IP packet drop counts.

snVsrpVirRtrRxPortMismatchCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.23

Syntax: Counter32

Read-only

The received VSRP port mismatching counts.

snVsrpVirRtrRxNumOfIpMismatchCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.24

Syntax: Counter32

Read-only

Shows the received number of mismatched IP addresses for VSRP.

snVsrpVirRtrRxIpMismatchCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.25

Syntax: Counter32

Read-only

Shows the number of received VSRP IP addresses that are mismatched.

snVsrpVirRtrRxHelloIntMismatchCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.26

Syntax: Counter32

Read-only

Shows the number of the virtual router interfaces with hello intervals that are mismatched.

snVsrpVirRtrRxPriorityZeroFromMasterCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.27

Syntax: Counter32

Read-only

Shows the number of advertisements with priority of zero received from the master.

snVsrpVirRtrRxHigherPriorityCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.28

Syntax: Counter32

Read-only

The counts of the virtual router interfaces with higher priority.

snVsrpVirRtrTransToMasterStateCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.29

Syntax: Counter32

Read-only

Shows the number of times this interface has changed from the master state to the backup state for the VRID.

snVsrpVirRtrTransToBackupStateCnts

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.30

Syntax: Counter32

Read-only

Shows the number of times this interface has changed from the master state to the backup state.

snVsrpVirRtrCurrDeadInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.31

Syntax: Integer32

Read-only

Shows the current dead intervals in increments of 100 milliseconds for the virtual router. This is the time period that a backup waits for a hello message from the master before determining that the master is no longer active. If the master does not send a hello message before the dead interval expires and the backups negotiate (compare priorities) to select a new master.

snVsrpVirRtrCurHelloInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.32

Syntax: Integer

Read-only

Shows the current backup router hello interval.

snVsrpVirRtrCurHoldDownInt

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.33

Syntax: Integer

Read-only

Shows the current value of the hold-down interval.

Valid values: 1 - 84

snVsrpVirRtrCurInitTtl

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.34

Syntax: Integer

Read-only

Shows the current TTL value.

Valid values: 1 - 255

snVsrpVirRtrHelloMacAddress

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.35

Syntax: MAC address

Read-only

Shows the hello MAC address.

snVsrpVirRtrMasterIpAddress

1.3.6.1.4.1.1991.1.1.3.21.3.1.1.36

Syntax: IpAddress

Read-only

Shows the master router's real or virtual (primary) IP address. This is the IP address listed as the source in VSRP advertisement, which is last received by this virtual router.