3.12. VRRP Command Reference

Note:

VRRP commands are supported on all 7210 SAS platforms as described in this document, except those operating in access-uplink mode.

3.12.1. Command Hierarchies

3.12.1.1. Configuration Commands

3.12.1.1.1. VRRP Network Interface Commands

config
— router
[no] interface interface-name
address {ip-address/mask | ip-address netmask} [broadcast all-ones | host-ones]
— no address
arp-timeout seconds
description description-string
[no] shutdown
static-arp ip-address ieee-address
[no] static-arp ip-address
vrrp virtual-router-id [owner]
— no vrrp virtual-router-id
authentication-key [authentication-key | hash-key] [hash | hash2]
[no] backup ip-address
[no] bfd-enable service-id interface interface-name dst-ip ip-address
[no] bfd-enable interface interface-name dst-ip ip-address
init-delay seconds
— no init-delay
message-interval {[seconds] [milliseconds milliseconds]}
[no] ping-reply
policy policy-id
— no policy
[no] preempt
priority priority
— no priority
[no] ssh-reply
[no] telnet-reply
[no] shutdown

3.12.1.1.2. VRRP IPv6 Interface Commands

Note:

VRRP IPv6 interface commands are only supported on 7210 SAS-Mxp.

config
— router
[no] interface interface-name
[no] ipv6
vrrp virtual-router-id [owner]
— no vrrp virtual-router-id
[no] backup ip-address
init-delay seconds
— no init-delay
message-interval {[seconds] [milliseconds milliseconds]}
[no] ping-reply
policy policy-id
— no policy
[no] preempt
priority priority
— no priority
[no] shutdown
[no] telnet-reply

3.12.1.1.3. VRRP Priority Control Event Policy Commands

config
— vrrp
[no] policy policy-id [context service-id]
description description string
[no] host-unreachable ip-address
drop-count consecutive-failures
— no drop-count
hold-clear seconds
— no hold-clear
hold-set seconds
— no hold-set
interval seconds
— no interval
priority priority-level [{delta | explicit}]
— no priority
timeout seconds
— no timeout
[no] lag-port-down lag-id
hold-clear seconds
— no hold-clear
hold-set seconds
— no hold-set
[no] number-down number-of-lag-ports-down
priority priority-level [delta | explicit]
— no priority
[no] port-down port-id
hold-clear seconds
— no hold-clear
hold-set seconds
— no hold-set
priority priority-level [delta | explicit]
— no priority
[no] route-unknown ip-prefix/mask
hold-clear seconds
— no hold-clear
hold-set seconds
— no hold-set
less-specific [allow-default]
[no] next-hop ip-address
priority priority-level [delta | explicit]
— no priority
protocol protocol
— no protocol[protocol]
[no] protocol ospf
[no] protocol isis
[no] protocol static

3.12.1.2. Show Commands

show
— vrrp
policy [policy-id [event event-type specific-qualifier]]
— router
— vrrp
instance [interface interface-name [vrid virtual-router-id]]

3.12.1.3. Monitor Commands

monitor
— router
— vrrp
instance interface interface-name vr-id virtual-router-id
instance [interval seconds] [repeat repeat] [absolute | rate]

3.12.1.4. Clear Commands

clear
— vrrp
— router
— vrrp
interface ip-int-name [vrid virtual-router-id]
statistics interface interface-name [vrid virtual-router-id]

3.12.1.5. Debug Commands

debug
— router
— vrrp
events
events interface ip-int-name [vrid virtual-router-id]
— no events
— no events interface ip-int-name [vrid virtual-router-id]
packets interface ip-int-name [vrid virtual-router-id]
packets
— no packets
— no packets interface ip-int-name [vrid virtual-router-id]
— no packets

3.12.2. Command Descriptions

3.12.2.1. Configuration Commands

3.12.2.1.1. Interface Configuration Commands

authentication-key

Syntax 
authentication-key [authentication-key | hash-key] [hash | hash2]
no authentication-key
Context 
config>router>if>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the simple text authentication key used to generate master VRRP advertisement messages and validates VRRP advertisements.

If simple text password authentication is not required, the authentication-key command is not required.

The command is configurable in both non-owner and owner vrrp nodal contexts.

The key parameter identifies the simple text password to be used when VRRP Authentication Type 1 is enabled on the virtual router instance. Type 1 uses an eight octet long string that is inserted into all transmitted VRRP advertisement messages and is compared against all received VRRP advertisement messages. The authentication data fields are used to transmit the key.

The key string is case sensitive and is left justified in the VRRP advertisement message authentication data fields. The first field contains the first four characters with the first octet (starting with IETF RFC bit position 0) containing the first character. The second field similarly holds the fifth through eighth characters. Any unspecified portion of the authentication data field is padded with a 0 value in the corresponding octet.

If the command is re-executed with a different password key defined, the new key is used immediately.

The authentication-key command can be executed at any time.

To change the current in-use password key on multiple virtual router instances:

  1. Identify the current master.
  2. Shutdown the virtual router instance on all backups.
  3. Execute the authentication-key command on the master to change the password key.
  4. Execute the authentication-key command and no shutdown command on each backup.

The no form of this command reverts to the default value.

Default 

no authentication-key

Parameters 
authentication-key—
Specifies the authentication key. Allowed values are any string up to 8 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
hash-key—
Specifies the hash key. The key can be any combination of ASCII characters up to 22 (hash-key1) or 121 (hash-key2) characters (encrypted). If spaces are used in the string, enclose the entire string in quotation marks (“ ”).

This is useful when a user must configure the parameter, but for security purposes, the actual unencrypted key value is not provided.

hash—
Specifies that the key is entered in an encrypted form. If the hash parameter is not used, the key is assumed to be in a non-encrypted, clear text form. For security, all keys are stored in encrypted form in the configuration file with the hash parameter specified.
hash2—
Specifies that the key is entered in a more complex encrypted form. If the hash2 parameter is not used, the less encrypted hash form is assumed.

backup

Syntax 
[no] backup ip-address
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command associates router IP addresses with the parental IP interface IP addresses.

The backup command has two distinct functions when used in an owner or a non-owner context of the virtual router instance.

Non-owner virtual router instances create a routable IP interface address that is operationally dependent on the virtual router instance mode (master or backup). The backup command in owner virtual router instances does not create a routable IP interface address; it defines the existing parental IP interface IP addresses that are advertised by the virtual router instance.

For owner virtual router instances, the backup command defines the IP addresses that are advertised within VRRP advertisement messages. This communicates the IP addresses that the master is representing to backup virtual routers receiving the messages. Advertising a proper list is important. The specified ip-address must be equal to the existing parental IP interface IP addresses (primary) or the backup command will fail.

For non-owner virtual router instances, the backup command creates an IP interface IP address used for routing IP packets and communicating with the system when the access commands are defined (ping-reply, telnet-reply, and ssh-reply). The specified ip-address must be an IP address of the parental IP interface local subnets created with the address. If a local subnet does not exist that includes the specified ip-address or if ip-address is the same IP address as the parental IP interface IP address, the backup command will fail.

The new interface IP address created with the backup command assumes the mask and parameters of the corresponding parent IP interface IP address. The ip-address is only active when the virtual router instance is operating in the master state. When not operating as master, the virtual router instance acts as if it is operationally down. It will not respond to ARP requests to ip-address, nor will it route packets received with its vrid derived source MAC address. A non-master virtual router instance always silently discards packets destined for ip-address. A single virtual router instance may only have a single virtual router IP address from a specific parental local subnet. Multiple virtual router instances can define a virtual router IP address from the same local subnet as long as each is a different IP address.

When operating as a (non-owner) master, the default functionality associated with ip-address is ARP response to ARP requests to ip-address, routing of packets destined to the virtual router instance source MAC address, and silently discarding packets destined to ip-address. Enabling the non-owner-access parameters selectively allows ping, Telnet, and SSH connectivity to ip-address when the virtual router instance is operating as master.

The no form of this command removes the specified virtual router IP address from the virtual router instance. For non-owner virtual router instances, this causes all routing and local access associated with the ip-address to cease. For owner virtual router instances, the no backup command only removes ip-address from the list of advertised IP addresses. If the last ip-address is removed from the virtual router instance, the virtual router instance will enter the operationally down state

Default 

no backup

Special Cases 
Assigning the Virtual Router ID IP Address—
When the vrid is created on the parent IP interface, IP addresses need to be assigned to the virtual router instance. If the vrid was created with the keyword owner, the virtual router instance IP addresses must have the parent IP interface defined IP addresses (primary). For non-owner virtual router instances, the virtual router IP addresses each must be within one of the parental IP interface IP address defined local subnets. For both owner and non-owner virtual router instances, the virtual router IP addresses must be explicitly defined using the backup ip-address command.
Virtual Router Instance IP Address Assignment Conditions—
The RFC does not specify that the assigned IP addresses to the virtual router instance must be in the same subnet as the parent IP interface primary IP address. The only requirement is that all virtual routers participating in the same virtual router instance have the same virtual router IP addresses assigned. To avoid confusion, the assigned virtual router IP addresses must be in a local subnet of one of the parent IP interfaces IP addresses. For owner virtual router instances the assigned virtual router IP address must be the same as the parental IP interface primary.

The following rules apply when adding, changing, or removing parental and virtual router IP addresses:

Owner Virtual Router IP Address Parental Association—
When an IP address is assigned to an owner virtual router instance, it must be associated with one of the parental IP interface-assigned IP addresses. The virtual router IP address must be equal to the primary oIP address within the parental IP interface.

Example - Owner Virtual Router Instance

Parent IP addresses:

10.10.10.10/24

Virtual router IP addresses:

10.10.10.11

Invalid (not equal to parent IP address)

10.10.10.10

Associated (same as parent IP address 10.10.10.10)

10.10.11.11

Invalid (not equal to parent IP address)

Non-Owner Virtual Router IP Address Parental Association—
When an IP address is assigned to a non-owner virtual router instance, it must be associated with one of the parental IP interface assigned IP addresses. The virtual router IP address must be a valid IP address within one of the parental IP interfaces local subnet. Local subnets are created by the primary IP address in conjunction with the IP addresses mask. If the defined virtual router IP address is equal to the associated subnet broadcast address, it is invalid. Virtual router IP addresses for non-owner virtual router instances that are equal to a parental IP interface IP address are also invalid.

The same virtual router IP address may not be assigned to two separate virtual router instances. If the virtual router IP address already exists on another virtual router instance, the virtual router IP address assignment will fail.

Example - Non-Owner Virtual Router Instance

Parent IP addresses:

10.10.10.10/24

Virtual router IP addresses:

10.10.10.11

Associated with 10.10.10.10 (in subnet)

10.10.10.10

Invalid (same as parent IP address)

10.10.11.11

Invalid (outside of all Parent IP subnets)

Virtual Router IP Address Assignment without Parent IP Address—
When assigning an IP address to a virtual router instance, an associated IP address (see backup Owner Virtual Router IP Address Parental Association and backup Non-Owner Virtual Router IP Address Parental Association) on the parental IP interface must already exist. If an associated IP address on the parental IP interface is not configured, the virtual router IP address assignment fails.
Parent Primary IP Address Changed—
When a virtual router IP address is set and the associated parent IP interface IP address is changed, the new parent IP interface IP address is evaluated to ensure it meets the association rules defined in backup Owner Virtual Router IP Address Parental Association or backup Non-Owner Virtual Router IP Address Parental Association. If the association check fails, the parental IP address change is not allowed. If the parental IP address change fails, the previously configured IP address definition remains in effect.

Only the primary parent IP address can be changed. backup Parent Primary IP Address Removal describes IP address removal conditions.

Parent Primary IP Address Removal—
When a virtual router IP address is successfully set, but removing the associated parent IP interface IP address is attempted and fails. All virtual router IP addresses associated with the parental IP interface IP address must be deleted before removing the parental IP address. This includes virtual router IP address associations from multiple virtual router instances on the IP interface.
Parameters 
ip-address—
Specifies the virtual router IP address, in dotted decimal notation. The IP virtual router IP address must be in the same subnet of the parental IP interface IP address or equal to the primary IP address for owner virtual router instances.
Values—
1.0.0.1 to 223.255.255.254

 

bfd-enable

Syntax 
[no] bfd-enable [service-id] interface interface-name dst-ip ip-address
[no] bfd-enable interface interface-name dst-ip ip-address
Context 
config>router>if>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This commands assigns a bidirectional forwarding (BFD) session providing heart-beat mechanism for the specific VRRP instance. There can be only one BFD session assigned to any specific VRRP instance, but there can be multiple VRRP sessions using the same BFD session.

By enabling BFD on a specific protocol interface, the state of the protocol interface is tied to the state of the BFD session between the local node and the remote node. The parameters used for the BFD are set by the BFD command under the IP interface. The specified interface may not be configured with BFD; when it is, the virtual router will then initiate the BFD session.

The no form of this command removes BFD from the configuration.

Parameters 
service-id—
Specifies the service ID of the interface running BFD.
Values—

service-id:

1 to 2147483647

svc-name:

64 characters maximum

 

interface interface-name
Specifies the name of the interface running BFD. The specified interface may not yet be configured with BFD. However, when it is, this virtual router will then initiate the BFD session.
dst-ip ip-address
Specifies the destination address to be used for the BFD session.

init-delay

Syntax 
init-delay seconds
no init-delay
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures a VRRP initialization delay timer.

Parameters 
seconds—
Specifies the initialization delay timer for VRRP, in seconds.
Values—
1 to 65535

 

master-int-inherit

Syntax 
[no] master-int-inherit
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the virtual router instance to inherit the master VRRP router advertisement interval timer which is used by backup routers to calculate the master down timer.

The master-int-inherit command is only available in the non-owner nodal context and is used to allow the current virtual router instance master to dictate the master down timer for all backup virtual routers. The master-int-inherit command has no effect when the virtual router instance is operating as master.

If master-int-inherit is not enabled, the locally configured message-interval must match the master VRRP advertisement message advertisement interval field value or the message is discarded.

The no form of this command reverts to the default operating condition which requires the locally configured message-interval to match the received VRRP advertisement message advertisement interval field value.

Default 

no master-int-inherit

message-interval

Syntax 
message-interval {[seconds] [milliseconds milliseconds]}
no message-interval
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the administrative advertisement message timer used by the master virtual router instance to send VRRP advertisement messages and to derive the master down timer as backup.

For an owner virtual router instance, the administrative advertisement timer directly sets the operational advertisement timer and indirectly sets the master down timer for the virtual router instance.

Non-owner virtual router instances usage of the message-interval setting is dependent on the state of the virtual router (master or backup) and the state of the master-int-inherit parameter.

  1. When a non-owner is operating as master for the virtual router, the configured message-interval is used as the operational advertisement timer similar to an owner virtual router instance. The master-int-inherit command has no effect when operating as master.
  2. When a non-owner is in the backup state with master-int-inherit disabled, the configured message-interval value is used to match the incoming VRRP advertisement message advertisement interval field. If the locally configured message interval does not match the advertisement interval field, the VRRP advertisement is discarded.
  3. When a non-owner is in the backup state with master-int-inherit enabled, the configured message-interval is ignored. The master down timer is indirectly derived from the incoming VRRP advertisement message advertisement interval field value.

VRRP advertisement messages that are fragmented contain IP options (IPv4) require a longer message interval to be configured.

The in-use value of the message interval is used to derive the master down timer to be used when the virtual router is operating in backup mode based on the following formula:

(3x (in-use message interval) + skew time)

The skew time portion is used to slow down virtual routers with relatively low priority values when competing in the master election process.

The command is available in both non-owner and owner vrrp nodal contexts.

In 7210, the least timer values supported is 1 second. Timers less than 1 second cannot be used.

The no form of this command reverts to the default value.

Default 

1 second

Parameters 
seconds—
Specifies the number of seconds that will transpire before the advertisement timer expires expressed as a decimal integer.
Values—
IPv4: 1 to 255

 

milliseconds milliseconds
Specifies the time interval, in milliseconds, between sending advertisement messages.
Values—
100 to 900
Note:

The milliseconds parameter is only supported on 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-T, and 7210 SAS-Mxp.

 

policy

Syntax 
policy policy-id
no policy
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command adds a VRRP priority control policy association with the virtual router instance.

To further augment the virtual router instance base priority, VRRP priority control policies can be used to override or adjust the base priority value depending on events or conditions within the chassis.

The policy can be associated with more than one virtual router instance. The priority events within the policy either override or diminish the base priority set with the priority command dynamically affecting the in-use priority. As priority events clear in the policy, the in-use priority can eventually be restored to the base priority value.

The policy command is only available in the non-owner vrrp nodal context. The priority of owner virtual router instances is permanently set to 255 and cannot be changed by VRRP priority control policies. For non-owner virtual router instances, if the policy command is not executed, the base priority is used as the in-use priority.

The no form of this command removes existing VRRP priority control policy associations from the virtual router instance. All associations must be removed before deleting the policy from the system.

Default 

no policy

Parameters 
policy-id—
Specifies the policy ID of the VRRP priority control, expressed as a decimal integer. The vrrp-policy-id must already exist for the command to function.
Values—
1 to 9999

 

preempt

Syntax 
[no] preempt
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to override an existing VRRP master if the virtual router in-use priority is higher than the current master.

The priority of the non-owner virtual router instance, the preempt mode allows the best available virtual router to force itself as the master over other available virtual routers.

When preempt is enabled, the virtual router instance overrides any non-owner master with an in-use message priority value less than the virtual router instance in-use priority value. If preempt is disabled, the virtual router only becomes master if the master down timer expires before a VRRP advertisement message is received from another virtual router.

Enabling preempt mode improves the effectiveness of the base priority and the VRRP priority control policy mechanisms on the virtual router instance. If the virtual router cannot preempt an existing non-owner master, the effect of the dynamic changing of the in-use priority is diminished.

The preempt command is only available in the non-owner vrrp nodal context. The owner may not be preempted because the priority of non-owners can never be higher than the owner. The owner always preempts all other virtual routers when it is available.

Non-owner virtual router instances only preempt when preempt is set and the current master has an in-use message priority value less than the virtual router instances in-use priority.

A master non-owner virtual router only allows itself to be preempted when the incoming VRRP advertisement message priority field value is one of the following:

  1. Greater than the virtual router in-use priority value.
  2. Equal to the in-use priority value and the source IP address (primary IP address) is greater than the virtual router instance primary IP address.

By default, preempt mode is enabled on the virtual router instance.

The no form of this command disables preempt mode and prevents the non-owner virtual router instance from preempting another, less desirable virtual router.

priority

Syntax 
priority base-priority
no priority
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the base router priority for the virtual router instance used in the master election process.

The priority is the most important parameter set on a non-owner virtual router instance. The priority defines a virtual router selection order in the master election process. Together, the priority value and the preempt mode allow the virtual router with the best priority to become the master virtual router.

The base-priority is used to derive the in-use priority of the virtual router instance as modified by any optional VRRP priority control policy. VRRP priority control policies can be used to either override or adjust the base priority value depending on events or conditions within the chassis.

The priority command is only available in the non-owner vrrp nodal context. The priority of owner virtual router instances is permanently set to 255 and cannot be changed.

For non-owner virtual router instances, the default base priority value is 100.

The no form of this command reverts to the default value.

Default 

100

Parameters 
base-priority—
Specifies the base priority used by the virtual router instance, expressed as a decimal integer. If no VRRP priority control policy is defined, the base-priority is the in-use priority for the virtual router instance.
Values—
1 to 254

 

ping-reply

Syntax 
[no] ping-reply
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the non-owner master to reply to ICMP echo requests directed at the virtual router instances IP addresses.

Non-owner virtual router instances are limited by the VRRP specifications to responding to ARP requests destined to the virtual router IP addresses and routing IP packets not addressed to the virtual router IP addresses. Many network administrators find this limitation frustrating when troubleshooting VRRP connectivity issues.

This command allows this access limitation to be selectively lifted for certain applications. Ping, Telnet and SSH can be individually enabled or disabled on a per-virtual-router-instance basis.

The ping-reply command enables the non-owner master to reply to ICMP echo requests directed at the virtual router instances IP addresses. The Ping request can be received on any routed interface. Ping must not have been disabled at the management security level (either on the parental IP interface or based on the Ping source host address).

When ping-reply is not enabled, ICMP echo requests to non-owner master virtual IP addresses are silently discarded.

Non-owner backup virtual routers never respond to ICMP echo requests regardless of the ping-reply setting.

The ping-reply command is only available in non-owner vrrp nodal context.

By default, ICMP echo requests to the virtual router instance IP addresses are silently discarded.

The no form of this command configures discarding all ICMP echo request messages destined to the non-owner virtual router instance IP addresses.

Default 

no ping-reply

shutdown

Syntax 
[no] shutdown
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.

The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.

The no form of this command administratively enables an entity.

Special Cases 
Non-Owner Virtual Router—
Non-owner virtual router instances can be administratively shutdown. This allows the termination of VRRP participation in the virtual router and stops all routing and other access capabilities with regards to the virtual router IP addresses. Shutting down the virtual router instance provides a mechanism to maintain the virtual routers without causing false backup/master state changes.

If the shutdown command is executed, no VRRP advertisement messages are generated and all received VRRP advertisement messages are silently discarded with no processing.

By default, virtual router instances are created in the no shutdown state.

Whenever the administrative state of a virtual router instance transitions, a log message is generated.

Whenever the operational state of a virtual router instance transitions, a log message is generated.

Owner Virtual Router—
An owner virtual router context does not have a shutdown command. To administratively disable an owner virtual router instance, use the shutdown command within the parent IP interface node which administratively downs the IP interface.
VRRP Protocol Handling —
On all 7210 SAS platforms, VRRP is created in the no shutdown state.

On the 7210 SAS-Mxp, the protocol is handled as follows.

The configure>router>if>vrrp command instantiates the protocol in the no shutdown state and resources are allocated to enable the node to process the protocol.

To deallocate resources, you must issue the configure>router>if>vrrp>shutdown and configure>router>if>no vrrp commands to allow the node to boot up correctly after the reboot. It is not sufficient to only issue a configure>router>if>vrrp>shutdown command.

Note:

The resources for VRRP are allocated when the VRRP context is enabled either in the base routing instance or the VPRN service instance. Resources are deallocated when the configuration of the last VRRP context under either base routing instances or VPRN service is removed.

VRRPv3 Protocol Handling—
On all 7210 SAS platforms, VRRPv3 is created in the no shutdown state.

On the 7210 SAS-Mxp, the protocol is handled as follows.

The configure>router>if>ipv6>vrrp command instantiates the protocol in the no shutdown state and resources are allocated to enable the node to process the protocol.

To deallocate resources, you must issue the configure>router>if>ipv6>vrrp>shutdown and configure>router>if>ipv6>no vrrp commands to allow the node to boot up correctly after the reboot. It is not sufficient to only issue a configure>router>if>ipv6>vrrp>shutdown command.

Note:

The resources for VRRPv3 are allocated when the VRRPv3 context is enabled either in the base routing instance, or in the VPRN service instance. Resources are deallocated when the configuration of the last VRRPv3 context, under either base routing instances or VPRN service, is removed.

ssh-reply

Syntax 
[no] ssh-reply
Context 
config>router>if>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the non-owner master to reply to SSH requests directed at the virtual router instance IP addresses. This command is only applicable to IPv4.

Non-owner virtual router instances are limited by the VRRP specifications to responding to ARP requests destined to the virtual router IP addresses and routing IP packets not addressed to the virtual router IP addresses.

This limitation can be disregarded for certain applications. Ping, Telnet and SSH can be individually enabled or disabled on a per-virtual-router-instance basis.

The ssh-reply command enables the non-owner master to reply to SSH requests directed at the virtual router instances IP addresses. The SSH request can be received on any routed interface. SSH must not have been disabled at the management security level (either on the parental IP interface or based on the SSH source host address). Proper login and CLI command authentication is still enforced.

When ssh-reply is not enabled, SSH requests to non-owner master virtual IP addresses are silently discarded.

Non-owner backup virtual routers never respond to SSH requests regardless of the ssh-reply setting.

The ssh-reply command is only available in non-owner vrrp nodal context.

By default, SSH requests to the virtual router instance IP addresses are silently discarded.

The no form of this command discards all SSH request messages destined to the non-owner virtual router instance IP addresses.

Default 

no ssh-reply

standby-forwarding

Syntax 
[no] standby-forwarding
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies whether this VRRP instance allows forwarding packets to a standby router. When disabled, a standby router should not forward traffic sent to virtual router's MAC address. However, the standby router should forward traffic sent to the standby router real MAC address. When enabled, a standby router should forward all traffic.

telnet-reply

Syntax 
[no] telnet-reply
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the non-owner master to reply to TCP port 23 Telnet requests directed at the virtual router instances’ IP addresses.

Non-owner virtual router instances are limited by the VRRP specifications to responding to ARP requests destined to the virtual router IP addresses and routing IP packets not addressed to the virtual router IP addresses. Many network administrators find this limitation frustrating when troubleshooting VRRP connectivity issues.

This limitation can be disregarded for certain applications. Ping, SSH and Telnet can each be individually enabled or disabled on a per-virtual-router-instance basis.

The telnet-reply command enables the non-owner master to reply to Telnet requests directed at the virtual router instances’ IP addresses. The Telnet request can be received on any routed interface. Telnet must not have been disabled at the management security level (either on the parental IP interface or based on the Telnet source host address). Proper login and CLI command authentication is still enforced.

When telnet-reply is not enabled, Telnet requests to non-owner master virtual IP addresses are silently discarded.

Non-owner backup virtual routers never respond to Telnet requests regardless of the telnet-reply setting.

The telnet-reply command is only available in non-owner vrrp nodal context.

The no form of this command configures discarding all Telnet request messages destined to the non-owner virtual router instance IP addresses.

Default 

no telnet-reply

traceroute-reply

Syntax 
[no] traceroute-reply
Context 
config>router>if>vrrp
config>router>if>ipv6>vrrp   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command is valid only if the VRRP virtual router instance associated with this entry is a non-owner.

When this command is enabled, a non-owner master can reply to traceroute requests directed to the virtual router instance IP addresses.

A non-owner backup virtual router never responds to such traceroute requests regardless of the trace-route-reply status.

Default 

no traceroute-reply

vrrp

Syntax 
vrrp vrid [owner]
no vrrp vrid
Context 
config>router>interface
config>router>if>ipv6   (7210 SAS-Mxp only)
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure a VRRP virtual router instance. A virtual router is defined by its virtual router identifier (VRID) and a set of IP addresses.

The optional owner keyword indicates that the owner controls the IP address of the virtual router and is responsible for forwarding packets sent to this IP address. The owner assumes the role of the master virtual router.

All other virtual router instances participating in this message domain must have the same vrid configured and cannot be configured as owner. When created, the owner keyword is optional when entering the vrid for configuration purposes.

A vrid is internally associated with the IP interface. This allows the vrid to be used on multiple IP interfaces while representing different virtual router instances.

For IPv4, up to four vrrp vrid nodes can be configured on a router interface. For IPv6, only one vrrp vrid node can be configured on a router interface. Each virtual router instance can manage up to 16 backup IP addresses.

The no form of this command removes the specified vrid from the IP interface. This terminates VRRP participation and deletes all references to the vrid in conjunction with the IP interface. The vrid does not need to be shutdown to remove the virtual router instance.

Default 

no vrrp

Special Cases 
Virtual Router Instance Owner IP Address Conditions—
It is possible for the virtual router instance owner to be created before assigning the parent IP interface primary IP address. When this is the case, the virtual router instance is not associated with an IP address. The operational state of the virtual router instance is down.
VRRP Owner Command Exclusions—
By specifying the VRRP vrid as owner, The following commands are no longer available:
  1. vrrp priority — The virtual router instance owner is hard-coded with a priority value of 255 and cannot be changed.
  2. vrrp master-int-inherit — Owner virtual router instances do not accept VRRP advertisement messages; the advertisement interval field is not evaluated and cannot be inherited.
  3. ping-reply, telnet-reply and ssh-reply — The owner virtual router instance always allows Ping, Telnet and SSH if the management and security parameters are configured to accept them on the parent IP interface.
  4. vrrp shutdownThe owner virtual router instance cannot be shutdown in the vrrp node. If this was allowed, VRRP messages would not be sent, but the parent IP interface address would continue to respond to ARPs and forward IP packets. Another virtual router instance may detect the missing master due to the termination of VRRP advertisement messages and become master. This would cause two routers responding to ARP requests for the same IP addresses.
    To shutdown the owner virtual router instance, use the shutdown command in the parent IP interface context. This will prevent VRRP participation, IP ARP reply and IP forwarding. To continue parent IP interface ARP reply and forwarding without VRRP participation, remove the vrrp vrid instance.
  5. traceroute-reply
Parameters 
vrid—
Specifies the virtual router ID for the IP interface, expressed as a decimal integer.
Values—
1 to 255

 

owner—
Specifies this virtual router instance as owning the virtual router IP addresses. If the owner keyword is not specified at the time of vrid creation, the vrrp backup commands must be specified to define the virtual router IP addresses. The owner keyword is not required when entering the vrid for editing purposes. When created as owner, a vrid on an IP interface cannot have the owner parameter removed. The vrid must be deleted and than recreated without the owner keyword to remove ownership.

3.12.2.1.2. Priority Policy Commands

delta-in-use-limit

Syntax 
delta-in-use-limit in-use-priority-limit
no delta-in-use-limit
Context 
config>vrrp>policy
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures a lower limit on the virtual router in-use priority that can be derived from the delta priority control events.

Each vrrp-priority-id places limits on the delta priority control events to define the in-use priority of the virtual router instance. Setting this limit prevents the sum of the delta priority events from lowering the in-use priority value of the associated virtual router instances below the configured value.

The limit has no effect on explicit priority control events. Explicit priority control events are controlled by setting the in-use priority to any value between 1 and 254.

Only non-owner virtual router instances can be associated with VRRP priority control policies and their priority control events.

When the total sum of all delta events is calculated and subtracted from the base priority of the virtual router instance, the result is compared to the delta-in-use-limit value. If the result is less than the limit, the delta-in-use-limit value is used as the virtual router in-use priority value. If an explicit priority control event overrides the delta priority control events, the delta-in-use-limit has no effect.

Setting the limit to a higher value than the default limits the effect of the delta priority control events on the virtual router instance base priority value. This allows for multiple priority control events while minimizing the overall effect on the in-use priority.

Changing the in-use-priority-limit causes an immediate re-evaluation of the in-use priority values for all virtual router instances associated with this vrrp-policy-id based on the current sum of all active delta control policy events.

The no form of this command reverts to the default value.

Default 

1

Parameters 
in-use-priority-limit—
Specifies the lower limit of the in-use priority base, as modified by priority control policies. The limit has the same range as the non-owner virtual router instance base-priority parameter. If the result of the total delta priority control events minus the virtual router instances base-priority is less than the in-use-priority-limit, the in-use-priority-limit value is used as the virtual router instances in-use priority value.

Setting the in-use-priority-limit to a value equal to or larger than the virtual router instance base-priority prevents the delta priority control events from having any effect on the virtual router instance in-use priority value.

Values—
1 to 254

 

description

Syntax 
description string
no description
Context 
config>vrrp>policy
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a text description for a configuration context to help identify the content in the configuration file.

The no form of this command removes the string from the configuration.

Parameters 
string—
Specifies the description character string. Allowed values are any string up to 80 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

policy

Syntax 
policy policy-id [context service-id]
no policy policy-id
Context 
config>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure a VRRP priority control policy which is used to control the VRRP in-use priority based on priority control events. It is a parental node for the various VRRP priority control policy commands that define the policy parameters and priority event conditions.

The virtual router instance priority command defines the initial or base value to be used by non-owner virtual routers. This value can be modified by assigning a VRRP priority control policy to the virtual router instance. The VRRP priority control policy can override or diminish the base priority setting to establish the actual in-use priority of the virtual router instance.

The policy policy-id command must be created first, before it can be associated with a virtual router instance.

Because VRRP priority control policies define conditions and events that must be maintained, they can be resource intensive. The number of policies is limited to 1000.

The policy-id do not have to be consecutive integers. The range of available policy identifiers is from 1 to 9999.

The no form of this command deletes the specific policy-id from the system. The policy-id must be removed first from all virtual router instances before the no policy command can be issued. If the policy-id is associated with a virtual router instance, the command will fail.

Parameters 
vrrp-policy-id—
Specifies the VRRP priority control ID, expressed as a decimal integer, that uniquely identifies this policy from any other VRRP priority control policy defined on the system. Up to 1000 policies can be defined.
Values—
1 to 9999

 

context service-id
Specifies the service ID to which this policy applies. A value of zero (0) means that this policy does not apply to a service but applies to the base router instance.
Values—
1 to 2147483647

 

priority-event

Syntax 
[no] priority-event
Context 
config>vrrp>policy
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure VRRP priority control events used to define criteria to modify the VRRP in-use priority.

A priority control event specifies an object to monitor and the effect on the in-use priority level for an associated virtual router instance.

Up to 32 priority control events can be configured within the priority-event node.

The no form of this command clears any configured priority events.

3.12.2.1.3. Priority Policy Event Commands

hold-clear

Syntax 
hold-clear seconds
no hold-clear
Context 
config>vrrp>policy>priority-event>port-down
config>vrrp>policy>priority-event>lag-port-down
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the hold clear time for the event.

The hold-clear time is used to prevent black hole conditions when a virtual router instance advertises itself as a master before other conditions associated with the cleared event have had a chance to enter a forwarding state.

Default 

no hold-clear

Parameters 
seconds—
Specifies the amount of time in seconds by which the effect of a cleared event on the associated virtual router instance is delayed.
Values—
0 to 86400

 

hold-set

Syntax 
hold-set seconds
no hold-set
Context 
config>vrrp>policy>priority-event>host-unreachable
config>vrrp>policy>priority-event>lag-port-down
config>vrrp>policy>priority-event>port-down
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the amount of time that must pass before the set state for a VRRP priority control event can transition to the cleared state to dampen flapping events. A flapping event continually transitions between clear and set.

The hold-set command is used to dampen the effect of a flapping event. The hold-set value is loaded into a hold-set timer that prevents a set event from transitioning to the cleared state until it expires.

Each time an event transitions between cleared and set, the timer is loaded and begins a countdown to zero. When the timer reaches zero, the event is allowed to enter the cleared state. Entering the cleared state is dependent on the object controlling the event, conforming to the requirements defined in the event. It is possible, on some event types, to have another set action reload the hold-set timer. This extends the amount of time that must expire before entering the cleared state.

When the hold-set timer expires and the event meets the cleared state requirements or is set to a lower threshold, the current set effect on the virtual router instances in-use priority can be removed. As with lag-port-down events, this may be a decrease in the set effect if the clearing amounts to a lower set threshold.

The hold-set command can be executed at anytime. If the hold-set timer value is configured larger than the new seconds setting, the timer is loaded with the new hold-set value.

The no form of this command reverts the default value.

Default 

0

Parameters 
seconds—
Specifies the number of seconds that the hold-set timer waits after an event enters a set state or enters a higher threshold set state, depending on the event type.

The value of 0 disables the hold-set timer, preventing any delay in processing lower set thresholds or cleared events.

Values—
0 to 86400

 

priority

Syntax 
priority priority-level [{delta | explicit}]
no priority
Context 
config>vrrp>policy>priority-event>host-unreachable
config>vrrp>policy>priority-event>lag-port-down>number-down
config>vrrp>policy>priority-event>port-down
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command controls the effect the set event has on the virtual router instance in-use priority.

When the event is set, the priority-level is either subtracted from the base priority of each virtual router instance or it defines the explicit in-use priority value of the virtual router instance depending on whether the delta or explicit keywords are specified.

Multiple set events in the same policy have interaction constraints:

  1. If any set events have an explicit priority value, all the delta priority values are ignored.
  2. The set event with the lowest explicit priority value defines the in-use priority that are used by all virtual router instances associated with the policy.
  3. If no set events have an explicit priority value, all the set events delta priority values are added and subtracted from the base priority value defined on each virtual router instance associated with the policy.
  4. If the delta priorities sum exceeds the delta-in-use-limit parameter, then the delta-in-use-limit parameter is used as the value subtracted from the base priority value defined on each virtual router instance associated with the policy.

If the priority command is not configured on the priority event, the priority-value defaults to 0 and the qualifier keyword defaults to delta, therefore, there is no impact on the in-use priority.

The no form of this command reverts to the default values.

Default 

0

Parameters 
priority-level—
Specifies the priority level adjustment value, expressed as a decimal integer.
Values—
0 to 254

 

delta | explicit—
Specifies what effect the priority-level will have on the base priority value.

When delta is specified, the priority-level value is subtracted from the associated virtual router instance base priority when the event is set and no explicit events are set. The sum of the priority event priority-level values on all set delta priority events are subtracted from the virtual router base priority to derive the virtual router instance in-use priority value. If the delta priority event is cleared, the priority-level is no longer used in the in-use priority calculation.

When explicit is specified, the priority-level value is used to override the base priority of the virtual router instance if the priority event is set and no other explicit priority event is set with a lower priority-level. The set explicit priority value with the lowest priority-level determines the actual in-use protocol value for all virtual router instances associated with the policy.

Values—
delta, explicit

 

Default—
delta

3.12.2.1.4. Priority Policy Port Down Event Commands

port-down

Syntax 
[no] port-down port-id
Context 
config>vrrp>policy>priority-event
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures a port down priority control event that monitors the operational state of a port or SONET/SDH channel. When the port or channel enters the operational down state, the event is considered set. When the port or channel enters the operational up state, the event is considered cleared.

Multiple unique port-down event nodes can be configured within the priority-event context up to the overall limit of 32 events, defined in any combination of types.

The port-down command can reference an arbitrary port or channel. The port or channel does not need to be preprovisioned or populated within the system. The operational state of the port-down event will indicate:

  1. Set – non-provisioned
  2. Set – not populated
  3. Set – down
  4. Cleared – up

When the port or channel is provisioned, populated, or enters the operationally up or down state, the event operational state is updated appropriately.

When the event enters the operationally down, non-provisioned, or non-populated state, the event is considered to be set. When an event transitions from clear to set, the set is processed immediately and must be reflected in the associated virtual router instances in-use priority value. As the event transitions from cleared to set, a hold-set timer is loaded with the value configured by the events hold-set command. This timer prevents the event from clearing until it expires, damping the effect of event flapping. If the event clears and becomes set again before the hold-set timer expires, the timer is reset to the hold-set value, extending the time before another clear can take effect.

When the event enters the operationally up state, the event is considered to be cleared. When the events hold-set expires, the effects of the events priority value are immediately removed from the in-use priority of all associated virtual router instances.

The actual effect on the virtual router instance in-use priority value depends on the defined event priority and its delta or explicit nature.

The no form of this command deletes the specific port or channel monitoring event. The event may be removed at anytime. When the event is removed, the in-use priority of all associated virtual router instances will be re-evaluated. The events hold-set timer has no effect on the removal procedure.

Default 

no port-down

Parameters 
port-id—
Specifies the port ID of the port monitored by the VRRP priority control event.

The port-id can only be monitored by a single event in this policy. The port can be monitored by multiple VRRP priority control policies. A port and a specific channel on the port are considered to be separate entities. A port and a channel on the port can be monitored by separate events in the same policy.

Values—
port-id slot/mda/port[.channel]

 

Specifies the POS channel on the port monitored by the VRRP priority control event. The port-id.channel-id can only be monitored by a single event in this policy. The channel can be monitored by multiple VRRP priority control policies. A port and a specific channel on the port are considered to be separate entities. A port and a channel on the port can be monitored by separate events in the same policy.

If the port is provisioned, but the channel does not exist or the port has not been populated, the appropriate event operational state is Set – non-populated.

If the port is not provisioned, the event operational state is Set – non-provisioned.

If the POS interface is configured as a clear-channel, the channel-id is 1 and the channel bandwidth is the full bandwidth of the port.

3.12.2.1.5. Priority Policy LAG Events Commands

lag-port-down

Syntax 
[no] lag-port-down lag-id
Context 
config>vrrp>policy>priority-event
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure Link Aggregation Group (LAG) priority control events that monitor the operational state of the links in the LAG.

The lag-port-down command configures a priority control event. The event monitors the operational state of each port in the specified LAG. When one or more of the ports enter the operational down state, the event is considered to be set. When all the ports enter the operational up state, the event is considered to be clear. As ports enter the operational up state, any previous set threshold that represents more down ports is considered cleared, while the event is considered to be set.

Multiple unique lag-port-down event nodes can be configured within the priority-event node, up to the maximum of 32 events.

The lag-port-down command can reference an arbitrary LAG. The lag-id does have to already exist within the system. The operational state of the lag-port-down event will indicate:

  1. Set – non-existent
  2. Set – one port down
  3. Set – two ports down
  4. Set – three ports down
  5. Set – four ports down
  6. Cleared – all ports up

When the lag-id is created, or a port in lag-id becomes operationally up or down, the event operational state must be updated appropriately.

When one or more of the LAG composite ports enter the operationally down state or the lag-id is deleted or does not exist, the event is considered to be set. When an event transitions from clear to set, the set is processed immediately and must be reflected in the associated virtual router instances in-use priority value. As the event transitions from clear to set, a hold-set timer is loaded with the value configured by the events hold-set command. This timer prevents the event from clearing until it expires, damping the effect of event flapping. If the event clears and becomes set again before the hold-set timer expires, the timer is reset to the hold-set value, extending the time before another clear can take effect.

The lag-port-down event is considered to have a tiered event set state. While the priority impact per number of ports down is totally configurable, as more ports go down, the effect on the associated virtual router instances in-use priority is expected to increase (lowering the priority). When each configured threshold is crossed, any higher thresholds are considered further event sets and are processed immediately with the hold-set timer reset to the configured value of the hold-set command. As the thresholds are crossed in the opposite direction (fewer ports down then previously), the priority effect of the event is not processed until the hold-set timer expires. If the number of ports down threshold again increases before the hold-set timer expires, the timer is only reset to the hold-set value if the number of ports down is equal to or greater than the threshold that set the timer.

The event contains number-down nodes that define the priority delta or explicit value to be used based on the number of LAG composite ports that are in the operationally down state. These nodes represent the event set thresholds. Not all port down thresholds must be configured. As the number of down ports increase, the number-down ports-down node that expresses a value equal to or less than the number of down ports describes the delta or explicit priority value to be applied.

The no form of this command deletes the specific LAG monitoring event. The event can be removed at anytime. When the event is removed, the in-use priority of all associated virtual router instances must be reevaluated. The events hold-set timer has no effect on the removal procedure.

Default 

no lag-port-down

Parameters 
lag-id—
Specifies the LAG ID that the specific event is to monitor, expressed as a decimal integer. The lag-id can only be monitored by a single event in this policy. The LAG may be monitored by multiple VRRP priority control policies. A port within the LAG and the LAG ID are considered to be separate entities. A composite port may be monitored with the port-down event while the lag-id the port is in is monitored by a lag-port-down event in the same policy.

number-down

Syntax 
[no] number-down number-of-lag-ports-down
Context 
config>vrrp>policy>priority-event>lag-port-down
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure an event set threshold within a lag-port-down priority control event.

The number-down command defines a sub-node within the lag-port-down event and is uniquely identified with the number-of-lag-ports-down parameter. Each number-down node within the same lag-port-down event node must have a unique number-of-lag-ports-down value. Each number-down node has its own priority command that takes effect whenever that node represents the current threshold.

The total number of sub-nodes (uniquely identified by the number-of-lag-ports-down parameter) allowed in a single lag-port-down event is equal to the total number of possible physical ports allowed in a LAG.

A number-down node is not required for each possible number of ports that could be down. The active threshold is always the closest lower threshold. When the number of ports down equals a specific threshold, that is the active threshold.

The no form of this command deletes the event set threshold. The threshold may be removed at any time. If the removed threshold is the current active threshold, the event set thresholds must be re-evaluated after removal.

Default 

no number-down

Parameters 
number-of-lag-ports-down—
Specifies the number of LAG ports down to create a set event threshold. This is the active threshold when the number of down ports in the LAG equals or exceeds number-of-lag-ports-down, but does not equal or exceed the next highest configured number-of-lag-ports-down.
Values—
1 to 4

 

3.12.2.1.6. Priority Policy Host Unreachable Event Commands

drop-count

Syntax 
drop-count consecutive-failures
no drop-count
Context 
config>vrrp>priority-event>host-unreachable
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the number of consecutively sent ICMP echo request messages that must fail before the host unreachable priority control event is set.

The drop-count command is used to define the number of consecutive message send attempts that must fail for the host-unreachable priority event to enter the set state. Each unsuccessful attempt increments the event consecutive message drop counter. With each successful attempt, the event consecutive message drop counter resets to zero.

If the event consecutive message drop counter reaches the drop-count value, the host-unreachable priority event enters the set state.

The event hold-set value defines how long the event must stay in the set state even when a successful message attempt clears the consecutive drop counter. The event is not cleared until the consecutive drop counter is less than the drop-count value and the hold-set timer has a value of zero (expired).

The no form of this command reverts to the default value.

Default 

3

Parameters 
consecutive-failures—
Specifies the number of ICMP echo request message attempts that must fail for the event to enter the set state. It also defines the threshold so a lower consecutive number of failures can clear the event state.
Values—
1 to 60

 

host-unreachable

Syntax 
[no] host-unreachable ip-address
Context 
config>vrrp>policy>priority-event
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure a host unreachable priority control event to monitor the ability to receive ICMP echo reply packets from an IP host address.

A host unreachable priority event creates a continuous ICMP echo request (ping) probe to the specified ip-address. If a ping fails, the event is considered to be set. If a ping is successful, the event is considered to be cleared.

Multiple unique (different ip-address) host-unreachable event nodes can be configured within the priority-event node, to a maximum of 32 events.

The host-unreachable command can reference any valid local or remote IP address. The ability to ARP a local IP address or find a remote IP address within a route prefix in the route table is considered part of the monitoring procedure. The host-unreachable priority event operational state tracks ARP or route table entries dynamically appearing and disappearing from the system. Table 28 lists the possible operational states of the host-unreachable event.

Table 28:  host-unreachable Operational States 

Host Unreachable Operational State

Description

Set – no ARP

No ARP address found for ip-address for drop-count consecutive attempts. Only applies when IP address is considered local.

Set – no route

No route exists for ip-address for drop-count consecutive attempts. Only applies when IP address is considered remote.

Set – host unreachable

ICMP host unreachable message received for drop-count consecutive attempts.

Set – no reply

ICMP echo request timed out for drop-count consecutive attempts.

Set – reply received

Last ICMP echo request attempt received an echo reply but historically not able to clear the event.

Cleared – no ARP

No ARP address found for ip-address - not enough failed attempts to set the event.

Cleared – no route

No route exists for ip-address - not enough failed attempts to set the event.

Cleared – host unreachable

ICMP host unreachable message received - not enough failed attempts to set the event.

Cleared – no reply

ICMP echo request timed out - not enough failed attempts to set the event.

Cleared – reply received

Event is cleared - last ICMP echo request received an echo reply.

Unlike other priority event types, the host-unreachable priority event monitors a repetitive task. A historical evaluation is performed on the success rate of receiving ICMP echo reply messages. The operational state takes its cleared and set orientation from the historical success rate. The informational portion of the operational state is derived from the result of the last attempt. It is possible for the previous attempt to fail while the operational state is still cleared due to an insufficient number of failures to cause it to become set. It is also possible for the state to be set while the previous attempt was successful.

When an event transitions from clear to set, the set is processed immediately and must be reflected in the associated virtual router instances in-use priority value. As the event transitions from clear to set, a hold-set timer is loaded with the value configured by the events hold-set command. This timer prevents the event from clearing until it expires, damping the effect of event flapping. If the event clears and becomes set again before the hold-set timer expires, the timer is reset to the hold-set value, extending the time before another clear can take effect.

The hold-set timer must be expired and the historical success rate must be met before the event operational state becoming cleared.

The no form of this command deletes the specific IP host monitoring event. The event may be deleted at anytime. When the event is deleted, the in-use priority of all associated virtual router instances must be reevaluated. The event hold-set timer has no effect on the removal procedure.

Default 

no host-unreachable

Parameters 
ip-address—
Specifies the IP address of the host for which the specific event will monitor connectivity. The ip-address can only be monitored by a single event in this policy. The IP address can be monitored by multiple VRRP priority control policies. The IP address can be used in one or multiple ping requests. Each VRRP priority control host-unreachable and ping destined to the same ip-addr is uniquely identified on a per message basis. Each session originates a unique identifier value for the ICMP echo request messages it generates. This allows received ICMP echo reply messages to be directed to the appropriate sending application.
Values—

ipv4-address:

a.b.c.d

ipv6-address:

x:x:x:x:x:x:x:x[-interface]

x - 0 to FFFF (hexadecimal)

interface - 32 chars maximum; mandatory for link local addresses

 

The link-local IPv6 address must have an interface name specified. The global IPv6 address must not have an interface name specified.

interval

Syntax 
interval seconds
no interval
Context 
config>vrrp>priority-event>host-unreachable
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the number of seconds between host unreachable priority event ICMP echo request messages directed to the host IP address.

The no form of this command reverts to the default value.

Default 

1

Parameters 
seconds—
Specifies the number of seconds between the ICMP echo request messages sent to the host IP address for the host unreachable priority event.
Values—
1 to 60

 

timeout

Syntax 
timeout seconds
no timeout
Context 
config>vrrp>priority-event>host-unreachable
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the time, in seconds, that must pass before considering the far-end IP host unresponsive to an outstanding ICMP echo request message.

The timeout value is not directly related to the configured interval parameter. The timeout value may be larger, equal, or smaller, relative to the interval value.

If the timeout value is larger than the interval value, multiple ICMP echo request messages may be outstanding. Every ICMP echo request message transmitted to the far end host is tracked individually according to the message identifier and sequence number.

With each consecutive attempt to send an ICMP echo request message, the timeout timer is loaded with the timeout value. The timer decrements until one of the following occurs.

  1. An internal error occurs preventing message sending (request unsuccessful).
  2. An internal error occurs preventing message reply receiving (request unsuccessful).
  3. A required route table entry does not exist to reach the IP address (request unsuccessful).
  4. A required ARP entry does not exist and ARP request timed out (request unsuccessful).
  5. A valid reply is received (request successful).
Note:

It is possible for a required ARP request to succeed or timeout after the message timeout timer expires. In this case, the message request is unsuccessful.

If an ICMP echo reply message is not received before the timeout period for a specific ICMP echo request, that request is considered to be dropped and increments the consecutive message drop counter for the priority event.

If an ICMP echo reply message with the same sequence number as an outstanding ICMP echo request message is received before that message timing out, the request is considered successful. The consecutive message drop counter is cleared and the request message no longer is outstanding.

If an ICMP Echo Reply message with a sequence number equal to an ICMP echo request sequence number that had previously timed out is received, that reply is silently discarded while incrementing the priority event reply discard counter.

The no form of this command reverts to the default value.

Default 

1

Parameters 
seconds—
Specifies the number of seconds before an ICMP echo request message is timed out. When a message is timed out, a reply with the same identifier and sequence number is discarded.
Values—
1 to 60

 

3.12.2.1.7. Priority Policy Route Unknown Event Commands

less-specific

Syntax 
[no] less-specific [allow-default]
Context 
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables a CIDR shortest match hit on a route prefix that contains the IP route prefix associated with the route unknown priority event.

The less-specific command modifies the search parameters for the IP route prefix specified in the route-unknown priority event. Specifying less-specific allows a CIDR shortest match hit on a route prefix that contains the IP route prefix.

The less-specific command eases the RTM lookup criteria when searching for the prefix/mask-length. When the route-unknown priority event sends the prefix to the RTM (as if it was a destination lookup), the result route table prefix (if a result is found) is checked to see if it is an exact match or a less specific match. The less-specific command enables a less specific route table prefix to match the configured prefix. When less-specific is not specified, a less specific route table prefix fails to match the configured prefix. The allow-default optional parameter extends the less-specific match to include the default route (0.0.0.0).

The no form of this command prevents RTM lookup results that are less specific than the route prefix from matching.

Default 

no less-specific

Parameters 
allow-default—
Specifies that an RTM return of 0.0.0.0 matches the IP prefix. If less-specific is entered without the allow-default parameter, a return of 0.0.0.0 will not match the IP prefix. To disable allow-default, but continue to allow less-specific match operation, only enter the less-specific command (without the allow-default parameter).

next-hop

Syntax 
[no] next-hop ip-address
Context 
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command adds an enabled next hop IP address to match the IP route prefix for a route-unknown priority control event.

If the next-hop IP address does not match one of the defined ip-address, the match is considered unsuccessful and the route-unknown event transitions to the set state.

The next-hop command is optional. If no next-hop ip-address commands are configured, the comparison between the RTM prefix return and the route-unknown IP route prefix are not included in the next hop information.

When more than one next hop IP addresses are eligible for matching, a next-hop command must be executed for each IP address. Defining the same IP address multiple times has no effect after the first instance.

The no form of this command removes the ip-address from the list of acceptable next hops when looking up the route-unknown prefix. If this ip-address is the last next hop defined on the route-unknown event, the returned next hop information is ignored when testing the match criteria. If the ip-address does not exist, the no next-hop command returns a warning error, but continues to execute if part of an exec script.

Default 

no next-hop

Parameters 
ip-address—
Specifies the IP address for an acceptable next hop IP address for a returned route prefix from the RTM when looking up the route-unknown route prefix.
Values—
ipv4-address:     a.b.c.d

 

protocol

Syntax 
protocol {ospf | is-is | static}
no protocol
Context 
config>vrrp>policy>priority-event>route-unknown
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command adds one or more route sources to match the route unknown IP route prefix for a route unknown priority control event.

If the route source does not match one of the defined protocols, the match is considered unsuccessful and the route-unknown event transitions to the set state.

The protocol command is optional. If the protocol command is not executed, the comparison between the RTM prefix return and the route-unknown IP route prefix will not include the source of the prefix. The protocol command cannot be executed without at least one associated route source parameter. All parameters are reset each time the protocol command is executed and only the explicitly defined protocols are allowed to match.

The no form of this command removes protocol route source as a match criteria for returned RTM route prefixes.

To remove specific existing route source match criteria, execute the protocol command and include only the specific route source criteria. Any unspecified route source criteria is removed.

Default 

no protocol

Parameters 
ospf—
Specifies OSPF as an eligible route source for a returned route prefix from the RTM when looking up the route-unknown route prefix. The ospf parameter is not exclusive from the other available protocol parameters. If protocol is executed without the ospf parameter, a returned route prefix with a source of OSPF will not be considered a match and will cause the event to enter the set state.
is-is—
Specifies IS-IS as an eligible route source for a returned route prefix from the RTM when looking up the route-unknown route prefix. The is-is parameter is not exclusive from the other available protocol parameters. If protocol is executed without the is-is parameter, a returned route prefix with a source of IS-IS will not be considered a match and will cause the event to enter the set state.
static—
Specifies a static route as an eligible route source for a returned route prefix from the RTM when looking up the route-unknown route prefix. The static parameter is not exclusive from the other available protocol parameters. If protocol is executed without the static parameter, a returned route prefix with a source of static route will not be considered a match and will cause the event to enter the set state.

route-unknown

Syntax 
[no] route-unknown prefix/mask-length
Context 
config>vrrp>policy>priority-event
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables a context to configure a route unknown priority control event that monitors the existence of a specific active IP route prefix within the routing table.

The route-unknown command configures a priority control event that defines a link between the VRRP priority control policy and the Route Table Manager (RTM). The RTM registers the specified route prefix as monitored by the policy. If any change (add, delete, new next hop) occurs relative to the prefix, the policy is notified and takes proper action according to the priority event definition. If the route prefix exists and is active in the routing table according to the conditions defined, the event is in the cleared state. If the route prefix is removed, becomes inactive or fails to meet the event criteria, the event is in the set state.

The command creates a route-unknown node identified by prefix/mask-length and containing event control commands.

Multiple unique (different prefix/mask-length) route-unknown event nodes can be configured within the priority-event node, up to the maximum limit of 32 events.

The route-unknown command can reference any valid IP address mask-length pair. The IP address and associated mask length define a unique IP router prefix. The dynamic monitoring of the route prefix results in one of the event operational states described in Table 29.

Table 29:  Route-unknown Operational States 

route-unknown Operational State

Description

Set – non-existent

The route does not exist in the route table

Set – inactive

The route exists in the route table but is not being used

Set – wrong next hop

The route exists in the route table but does not meet the next-hop requirements

Set – wrong protocol

The route exists in the route table but does not meet the protocol requirements

Set – less specific found

The route exists in the route table but does is not an exact match and does not meet any less-specific requirements

Set – default best match

The route exists in the route table as the default route but the default route is not allowed for route matching

Cleared – less specific found

A less specific route exists in the route table and meets all criteria including the less-specific requirements

Cleared – found

The route exists in the route table manager and meets all criteria

An existing route prefix in the RTM must be active (used by the IP forwarding engine) to clear the event operational state. It may be less specific (the defined prefix may be contained in a larger prefix according to Classless Inter-Domain Routing (CIDR) techniques) if the event has the less-specific statement defined. The less specific route that incorporates the router prefix may be the default route (0.0.0.0) if the less-specific allow-default statement is defined. The matching prefix may be required to have a specific next hop IP address if defined by the event next-hop command. Finally, the source of the RTM prefix may be required to be one of the dynamic routing protocols, or be statically defined if defined by the event protocol command. If an RTM prefix that matches all the preceding criteria (if defined in the event control commands) is not found, the event is considered to be set. If a matching prefix is found in the RTM, the event is considered to be cleared.

When an event transitions from clear to set, the set is processed immediately and must be reflected in the associated virtual router instances in-use priority value. As the event transitions from clear to set, a hold-set timer is loaded with the value configured by the events hold-set command. This timer prevents the event from clearing until it expires, damping the effect of event flapping. If the event clears and becomes set again before the hold-set timer expires, the timer is reset to the hold-set value, extending the time before another clear can take effect.

The no form of this command is used to remove the specific prefix/mask-length monitoring event. The event can be removed at anytime. When the event is removed, the in-use priority of all associated virtual router instances must be reevaluated. The events hold-set timer has no effect on the removal procedure.

Default 

no route-unknown

Parameters 
prefix—
Specifies the IP prefix address to be monitored by the route unknown priority control event, in dotted decimal notation.
Values—
0.0.0.0 to 255.255.255.255

 

mask-length—
Specifies the subnet mask length, expressed as a decimal integer, associated with the IP prefix defining the route prefix to be monitored by the route unknown priority control event.
Values—
0 to 32

 

ip-address—
Specifies the IP address of the host for which the specific event will monitor connectivity. The ip-address can only be monitored by a single event in this policy. The IP address can be monitored by multiple VRRP priority control policies. The IP address can be used in one or multiple ping requests. Each VRRP priority control host-unreachable and ping destined to the same ip-address is uniquely identified on a per message basis. Each session originates a unique identifier value for the ICMP echo request messages it generates. This allows received ICMP echo reply messages to be directed to the appropriate sending application.
Values—

ip-prefix/mask:

ipv4-prefix -

a.b.c.d (host bits must be 0)

mask-length -

0 to 32

ipv6-address/prefix:

ipv6-address -

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - 0 to FFFF (hexadecimal)

prefix-length -

1 to 128

 

3.12.2.2. Show Commands

instance

Syntax 
instance interface interface-name [vrid virtual-router-id]
Context 
show>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information for VRRP instances.

If no command line options are specified, summary information for all VRRP instances displays.

Parameters 
interface interface-name
Displays detailed information for the VRRP instances on the specified IP interface including status and statistics.
vrid virtual-router-id
Displays detailed information for the specified VRRP instance on the IP interface.
Values—
1 to 255

 

Output 

The following output is an example of VRRP instance information, and Table 30 describes the output fields.

Sample Output
*A:ALA-A# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int 
                                 IP        Opr  Pol Id      InUse Pri  Inh Int 
-------------------------------------------------------------------------------
n2                               1     No  Up   Master       100       1       
                                 IPv4      Up   n/a         100        No      
  Backup Addr: 5.1.1.10                                                        
 
 
 
 
-------------------------------------------------------------------------------
Instances : 2
===============================================================================
*A:ALA-A# 
 
 
*A:ALA-A# show router vrrp instance interface n2 vrid 1 
===============================================================================
VRRP Instance 1 for interface "n2"
===============================================================================
Owner               : No                  VRRP State        : Master           
Primary IP of Master: 5.1.1.2 (Self)
Primary IP          : 5.1.1.2             Standby-Forwarding: Disabled         
VRRP Backup Addr    : 5.1.1.10                                                 
Admin State         : Up                  Oper State        : Up               
Up Time             : 09/23/2004 06:53:45 Virt MAC Addr     : 00:00:5e:00:01:01
Auth Type           : None                                                     
Config Mesg Intvl   : 1                   In-Use Mesg Intvl : 1                
Master Inherit Intvl: No                                                       
Base Priority       : 100                 In-Use Priority   : 100              
Policy ID           : n/a                 Preempt Mode      : Yes              
Ping Reply          : No                  Telnet Reply      : No               
SSH Reply           : No                  Traceroute Reply  : No               
Init Delay          : 0                   Init Timer Expires: 0.000 sec        
Creation State      : Active                                                   
-------------------------------------------------------------------------------
Master Information
-------------------------------------------------------------------------------
Primary IP of Master: 5.1.1.2 (Self)
Addr List Mismatch  : No                  Master Priority   : 100              
Master Since        : 09/23/2004 06:53:49                                      
-------------------------------------------------------------------------------
Masters Seen (Last 32)
-------------------------------------------------------------------------------
Primary IP of Master   Last Seen             Addr List Mismatch     Msg Count  
-------------------------------------------------------------------------------
5.1.1.2                09/23/2004 06:53:49   No                             0  
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Become Master       : 1                   Master Changes    : 1                
Adv Sent            : 103                 Adv Received      : 0                
Pri Zero Pkts Sent  : 0                   Pri Zero Pkts Rcvd: 0                
Preempt Events      : 0                   Preempted Events  : 0                
Mesg Intvl Discards : 0                   Mesg Intvl Errors : 0                
Addr List Discards  : 0                   Addr List Errors  : 0                
Auth Type Mismatch  : 0                   Auth Failures     : 0                
Invalid Auth Type   : 0                   Invalid Pkt Type  : 0                
IP TTL Errors       : 0                   Pkt Length Errors : 0                
Total Discards      : 0                                                        
===============================================================================
*A:ALA-A# 
 
7210SAS>show>router# vrrp instance interface "n1" vrid 1
 
===============================================================================
VRRP Instance 1 for interface "n1"
===============================================================================
Owner               : No                  VRRP State        : Init
Primary IP of Master: 0.0.0.0 (Self)
Primary IP          : 0.0.0.0             Standby-Forwarding: Disabled
VRRP Backup Addr    : None
Admin State         : Up                  Oper State        : Down
Up Time             : 02/16/2000 02:01:54 Virt MAC Addr     : 00:00:5e:00:01:01
Auth Type           : None
Config Mesg Intvl   : 1                   In-Use Mesg Intvl : 1
Master Inherit Intvl: No
Base Priority       : 100                 In-Use Priority   : 100
Policy ID           : n/a                 Preempt Mode      : Yes
Ping Reply          : No                  Telnet Reply      : No
SSH Reply           : No                  Traceroute Reply  : No
Init Delay          : 0                   Init Timer Expires: 0.000 sec
Creation State      : Init
 
-------------------------------------------------------------------------------
Master Information
-------------------------------------------------------------------------------
Primary IP of Master: 0.0.0.0 (Self)
Addr List Mismatch  : Unknown             Master Priority   : 0
Master Since        : 02/16/2000 02:01:54
 
-------------------------------------------------------------------------------
Masters Seen (Last 32)
-------------------------------------------------------------------------------
Primary IP of Master   Last Seen             Addr List Mismatch     Msg Count
-------------------------------------------------------------------------------
None
 
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Become Master       : 0                   Master Changes    : 0
Adv Sent            : 0                   Adv Received      : 0
Pri Zero Pkts Sent  : 0                   Pri Zero Pkts Rcvd: 0
Preempt Events      : 0                   Preempted Events  : 0
Mesg Intvl Discards : 0                   Mesg Intvl Errors : 0
Addr List Discards  : 0                   Addr List Errors  : 0
Auth Type Mismatch  : 0                   Auth Failures     : 0
Invalid Auth Type   : 0                   Invalid Pkt Type  : 0
IP TTL Errors       : 0                   Pkt Length Errors : 0
Total Discards      : 0
 
===============================================================================
7210SAS>show>router#
Table 30:  Output Fields: VRRP Instance 

Label

Description

Interface name

The name of the IP interface

VR ID

The virtual router ID for the IP interface

Own

Owner

Yes — Specifies that the virtual router instance as owning the virtual router IP addresses

No — Indicates that the virtual router instance is operating as a non-owner

Adm

Up — Indicates that the administrative state of the VRRP instance is up

Down — Indicates that the administrative state of the VRRP instance is down

Opr

Up — Indicates that the operational state of the VRRP instance is up

Down — Indicates that the operational state of the VRRP instance is down

State

When owner, backup defines the IP addresses that are advertised within VRRP advertisement messages.

When non-owner, backup actually creates an IP interface IP address used for routing IP packets and communicating with the system when the access commands are defined (ping-reply, telnet-reply, and ssh-reply).

Pol Id

The value that uniquely identifies a Priority Control Policy

Base Priority

The base-priority value is used to derive the in-use priority of the virtual router instance as modified by any optional VRRP priority control policy.

InUse Priority

The current in-use priority associated with the VRRP virtual router instance

Msg Int

The administrative advertisement message timer used by the master virtual router instance to send VRRP advertisement messages and to derive the master down timer as backup

Inh Int

Yes — When the VRRP instance is a non-owner and is operating as a backup and the master-int-inherit command is enabled, the master down timer is indirectly derived from the value in the advertisement interval field of the VRRP message received from the current master.

No — When the VRRP instance is operating as a backup and the master-int-inherit command is not enabled, the configured advertisement interval is matched against the value in the advertisement interval field of the VRRP message received from the current master. If the two values do not match, then the VRRP advertisement is discarded.

If the VRRP instance is operating as a master, this value has no effect.

Backup Addr

The backup virtual router IP address

BFD

Indicates BFD is enabled.

VRRP State

Specifies whether the VRRP instance is operating in a master or backup state

Policy ID

The VRRP priority control policy associated with the VRRP virtual router instance

A value of 0 indicates that no control policy is associated with the virtual router instance

Preempt Mode

Yes — The preempt mode is enabled on the virtual router instance where it will preempt a VRRP master with a lower priority

No — The preempt mode is disabled and prevents the non-owner virtual router instance from preempting another, less desirable virtual router

Ping Reply

Yes — A non-owner master is enabled to reply to ICMP Echo requests directed to the virtual router instance IP addresses

Ping Reply is valid only if the VRRP virtual router instance associated with this entry is a non-owner

A non-owner backup virtual router never responds to such ICMP echo requests irrespective if Ping Reply is enabled

No — ICMP echo requests to the virtual router instance IP addresses are discarded

Telnet Reply

Yes — Non-owner masters can to reply to TCP port 23 Telnet requests directed at the virtual router instances IP addresses

No — Telnet requests to the virtual router instance IP addresses are discarded

SSH Reply

Yes — Non-owner masters can to reply to SSH requests directed at the virtual router instances IP addresses

No — All SSH request messages destined to the non-owner virtual router instance IP addresses are discarded

Primary IP of Master

The IP address of the VRRP master

Primary IP

The IP address of the VRRP owner

Up Time

The date and time when the operational state of the event last changed

Virt MAC Addr

The virtual MAC address used in ARP responses when the VRRP virtual router instance is operating as a master

Auth Type

Specifies the VRRP authentication Type 0 (no authentication), Type 1 (simple password), or Type 2 (MD5) for the virtual router

Addr List Mismatch

Specifies whether a trap was generated when the IP address list received in the advertisement messages received from the current master did not match the configured IP address list.

This is an edge triggered notification. A second trap will not be generated for a packet from the same master until this event has been cleared.

Master Priority

The priority of the virtual router instance which is the current master

Master Since

The date and time when operational state of the virtual router changed to master

For a backup virtual router, this value specifies the date and time when it received the first VRRP advertisement message from the virtual router which is the current master.

policy

Syntax 
policy [vrrp-policy-id [event event-type specific-qualifier]]
Context 
show>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays VRRP priority control policy information.

If no command line options are specified, a summary of the VRRP priority control event policies displays.

Parameters 
vrrp-policy-id—
Displays information about the specified priority control policy ID.
Values—
1 — 9999

 

Default—
all VRRP policies IDs
event event-type
Displays information about the specified VRRP priority control event within the policy ID.
Values—
port-down port-id
lag-port-down lag-id
host-unreachable host-ip-addr
route-unknown route-prefix/mask

 

Default—
all event types and qualifiers
specific-qualifier—
Display information about the specified qualifier.
Values—
port-id, lag-id, host-ip-addr, route-prefix/mask

 

Output 

The following outputs are examples of VRRP policy information. The associated tables describe the output fields.

Sample Output
A:ALA-A# show vrrp policy
===============================================================================
VRRP Policies                                                                  
===============================================================================
Policy    Current             Current      Current      Delta       Applied    
Id        Priority & Effect   Explicit     Delta Sum    Limit                  
-------------------------------------------------------------------------------
1         None                None         None         1           Yes        
2         None                None         None         1           No         
===============================================================================
A:ALA-A#
 
 
A:ALA-A# show vrrp policy 1
===============================================================================
VRRP Policy 1                                                                  
===============================================================================
Description     : 10.10.200.253 reachability                                   
Current Priority: None                 Applied           : No                  
Current Explicit: None                 Current Delta Sum : None                
Delta Limit     : 1                                                            
                                                                               
-------------------------------------------------------------------------------
Applied To                       VR     Opr     Base    In-use  Master  Is     
Interface Name                   Id             Pri     Pri     Pri     Master 
-------------------------------------------------------------------------------
None                                                                           
                                                                               
-------------------------------------------------------------------------------
Priority Control Events                                                        
-------------------------------------------------------------------------------
Event Type & ID                  Event Oper State        Hold Set  Priority In 
                                                         Remaining &Effect  Use
-------------------------------------------------------------------------------
Host Unreach 10.10.200.252       n/a                     Expired    20 Del  No 
Host Unreach 10.10.200.253       n/a                     Expired    10 Del  No 
Route Unknown 10.10.100.0/24     n/a                     Expired     1 Exp  No 
===============================================================================
A:ALA-A# 
Table 31:  Output Fields: VRRP Policy  

Label

Description

Policy Id

The VRRP priority control policy associated with the VRRP virtual router instance

A value of 0 indicates that no control policy is associated with the virtual router instance

Current Priority & Effects

Current Explicit

When multiple explicitly defined events associated with the priority control policy happen simultaneously, the lowest value of all the current explicit priorities will be used as the in-use priority for the virtual router.

Current Delta Sum

The sum of the priorities of all the delta events when multiple delta events associated with the priority control policy happen simultaneously. This sum is subtracted from the base priority of the virtual router to give the in-use priority.

Delta Limit

The delta-in-use-limit for a VRRP policy. When the total sum of all delta events has been calculated and subtracted from the base-priority of the virtual router, the result is compared to the delta-in-use-limit value. If the result is less than this value, the delta-in-use-limit value is used as the virtual router in-use priority value. If an explicit priority control event overrides the delta priority control events, the delta-in-use-limit has no effect.

If the delta-in-use-limit is 0, the sum of the delta priority control events to reduce the virtual router's in-use-priority to 0 can prevent it from becoming or staying master.

Current Priority

The configured delta-in-use-limit priority for a VRRP priority control policy or the configured delta or explicit priority for a priority control event

Applied

The number of virtual router instances to which the policy has been applied

The policy cannot be deleted unless this value is 0

Description

A text string which describes the VRRP policy

Event Type & ID

A delta priority event is a conditional event defined in a priority control policy that subtracts a specific amount from the base priority to give the current in-use priority for the VRRP virtual router instances to which the policy is applied.

An explicit priority event is a conditional event defined in a priority control policy that explicitly defines the in-use priority for the VRRP virtual router instances to which the policy is applied.

Explicit events override all delta Events. When multiple explicit events occur simultaneously, the event with the lowest priority value defines the in-use priority.

Event Oper State

The operational state of the event

Hold Set Remaining

The amount of time that must pass before the set state for a VRRP priority control event can transition to the cleared state to dampen flapping events.

Priority & Effect

Delta — The priority-level value is subtracted from the associated virtual router instance base priority when the event is set and no explicit events are set. The sum of the priority event priority-level values on all set delta priority events are subtracted from the virtual router base priority to derive the virtual router instance in-use priority value.

If the delta priority event is cleared, the priority-level is no longer used in the in-use priority calculation.

Explicit — The priority-level value is used to override the base priority of the virtual router instance if the priority event is set and no other explicit priority event is set with a lower priority-level.

The set explicit priority value with the lowest priority-level determines the actual in-use protocol value for all virtual router instances associated with the policy.

In Use

Specifies whether or not the event is currently affecting the in-use priority of some virtual router

Sample Output for VRRP Policy Event
A:ALA-A#show vrrp policy 1 event port-down
===============================================================================
VRRP Policy 1, Event Port Down 1/1/1                                           
===============================================================================
Description     :                                                              
Current Priority: None                 Applied           : Yes                 
Current Explicit: None                 Current Delta Sum : None                
Delta Limit     : 1                                                            
                                                                               
-------------------------------------------------------------------------------
Applied To                       VR     Opr     Base    In-use  Master  Is     
Interface Name                   Id             Pri     Pri     Pri     Master 
-------------------------------------------------------------------------------
ies301backup                     1      Down    100     100     0       No     
                                                                               
-------------------------------------------------------------------------------
Priority Control Event Port Down 1/1/1                                         
-------------------------------------------------------------------------------
Priority        : 30                   Priority Effect   : Delta               
Hold Set Config : 0 sec                Hold Set Remaining: Expired             
Value In Use    : No                   Current State     : Cleared             
# trans to Set  : 6                    Previous State    : Set-down            
Last Transition : 04/13/2007 04:54:35                                          
===============================================================================
A:ALA-A#
 
A:ALA-A# show vrrp policy 1 event host-unreachable
===============================================================================
VRRP Policy 1, Event Host Unreachable 10.10.200.252                            
===============================================================================
Description     : 10.10.200.253 reachability                                   
Current Priority: None                 Applied           : No                  
Current Explicit: None                 Current Delta Sum : None                
Delta Limit     : 1                                                            
                                                                               
-------------------------------------------------------------------------------
Applied To                       VR     Opr     Base    In-use  Master  Is     
Interface Name                   Id             Pri     Pri     Pri     Master 
-------------------------------------------------------------------------------
None                                                                           
                                                                               
-------------------------------------------------------------------------------
Priority Control Event Host Unreachable 10.10.200.252                          
-------------------------------------------------------------------------------
Priority        : 20                   Priority Effect   : Delta               
Interval        : 1 sec                Timeout           : 1 sec               
Drop Count      : 3                                                            
Hold Set Config : 0 sec                Hold Set Remaining: Expired             
Value In Use    : No                   Current State     : n/a                 
# trans to Set  : 0                    Previous State    : n/a                 
Last Transition : 04/13/2007 23:10:24                                          
===============================================================================
A:ALA-A#
 
 
A:ALA-A# show vrrp policy 1 event route-unknown
===============================================================================
VRRP Policy 1, Event Route Unknown 10.10.100.0/24                              
===============================================================================
Description     : 10.10.200.253 reachability                                   
Current Priority: None                 Applied           : No                  
Current Explicit: None                 Current Delta Sum : None                
Delta Limit     : 1                                                            
                                                                               
-------------------------------------------------------------------------------
Applied To                       VR     Opr     Base    In-use  Master  Is     
Interface Name                   Id             Pri     Pri     Pri     Master 
-------------------------------------------------------------------------------
None                                                                           
                                                                               
-------------------------------------------------------------------------------
Priority Control Event Route Unknown 10.10.100.0/24                            
-------------------------------------------------------------------------------
Priority        : 1                    Priority Effect   : Explicit            
Less Specific   : No                   Default Allowed   : No                  
Next Hop(s)     : None                                                         
Protocol(s)     : None                                                         
Hold Set Config : 0 sec                Hold Set Remaining: Expired             
Value In Use    : No                   Current State     : n/a                 
# trans to Set  : 0                    Previous State    : n/a                 
Last Transition : 04/13/2007 23:10:24                                          
===============================================================================
A:ALA-A# 
Table 32:  Output Fields: VRRP Policy Event  

Label

Description

Description

A text string which describes the VRRP policy

Policy Id

The VRRP priority control policy associated with the VRRP virtual router instance

A value of 0 indicates that no control policy is associated with the virtual router instance

Current Priority

The base router priority for the virtual router instance used in the master election process

Current Explicit

When multiple explicitly defined events associated with the priority control policy happen simultaneously, the lowest value of all the current explicit priorities will be used as the in-use priority for the virtual router.

Applied

The number of virtual router instances to which the policy has been applied. The policy cannot be deleted unless this value is 0.

Current Delta Sum

The sum of the priorities of all the delta events when multiple delta events associated with the priority control policy happen simultaneously. This sum is subtracted from the base priority of the virtual router to give the in-use priority.

Delta Limit

The delta-in-use-limit for a VRRP policy. When the total sum of all delta events has been calculated and subtracted from the base-priority of the virtual router, the result is compared to the delta-in-use-limit value. If the result is less than this value, the delta-in-use-limit value is used as the virtual router in-use priority value. If an explicit priority control event overrides the delta priority control events, the delta-in-use-limit has no effect.

If the delta-in-use-limit is 0, the sum of the delta priority control events to reduce the virtual router's in-use-priority to 0 can prevent it from becoming or staying master.

Applied to Interface Name

The interface name where the VRRP policy is applied

VR ID

The virtual router ID for the IP interface

Opr

Up — Indicates that the operational state of the VRRP instance is up

Down — Indicates that the operational state of the VRRP instance is down

Base Pri

The base priority used by the virtual router instance

InUse Priority

The current in-use priority associated with the VRRP virtual router instance

Master Priority

The priority of the virtual router instance which is the current master

Priority

The base priority used by the virtual router instance

Priority Effect

Delta — A delta priority event is a conditional event defined in a priority control policy that subtracts a specific amount from the base priority to give the current in-use priority for the VRRP virtual router instances to which the policy is applied.

Explicit — A conditional event defined in a priority control policy that explicitly defines the in-use priority for the VRRP virtual router instances to which the policy is applied.

Explicit events override all delta events. When multiple explicit events occur simultaneously, the event with the lowest priority value defines the in-use priority.

Current Priority

The configured delta-in-use-limit priority for a VRRP priority control policy, or the configured delta, or explicit priority for a priority control event

Event Oper State

The operational state of the event

Hold Set Remaining

The amount of time that must pass before the set state for a VRRP priority control event can transition to the cleared state to dampen flapping events

Priority

The base priority used by the virtual router instance

Priority Effect

Delta — The priority-level  value is subtracted from the associated virtual router instance base priority when the event is set and no explicit events are set. The sum of the priority event priority-level values on all set delta priority events are subtracted from the virtual router base priority to derive the virtual router instance in-use priority value.

If the delta priority event is cleared, the priority-level is no longer used in the in-use priority calculation.

Explicit — The priority-level value is used to override the base priority of the virtual router instance if the priority event is set and no other explicit priority event is set with a lower priority-level.

The set explicit priority value with the lowest priority-level determines the actual in-use protocol value for all virtual router instances associated with the policy.

Hold Set Config

The configured number of seconds that the hold-set timer waits after an event enters a set state or enters a higher threshold set state, depending on the event type.

Value In Use

Yes — The event is currently affecting the in-use priority of some virtual router

No — The event is not affecting the in-use priority of some virtual router

# trans to Set

The number of times the event has transitioned to one of the 'set' states

Last Transition

The time and date when the operational state of the event last changed

statistics

Syntax 
statistics
Context 
show>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays statistics for VRRP instance.

Output 

The following output is an example of VRRP statistics information, and Table 33 describes the output fields.

Sample Output
A:ALA-48# show router vrrp statistics
===============================================================================
VRRP Global Statistics
===============================================================================
VR Id Errors       : 0                  Version Errors     : 0
Checksum Errors    : 0
===============================================================================
A:ALA-48#
Table 33:  Output Fields: VRRP Statistics  

Label

Description

VR Id Errors

Displays the number of virtual router ID errors

Version Errors

Displays the number of version errors

Checksum Errors

Displays the number of checksum errors

3.12.2.3. Monitor Commands

instance

Syntax 
instance interface interface-name vr-id virtual-router-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command monitors statistics for a VRRP instance.

Parameters 
interface interface-name—
Specifies the name of the existing IP interface on which VRRP is configured.
vr-id virtual-router-id
Specifies the virtual router ID for the existing IP interface, expressed as a decimal integer.
interval seconds
Specifies the interval for each display, in seconds.
Values—
3 to 60

 

Default—
5
repeat repeat
Specifies how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Specifies that the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
rate—
Specifies that the rate-per-second for each statistic is displayed instead of the delta.
Output 

The following output is an example of VRRP instance information.

Sample Output
*A:ALA-A# monitor router vrrp instance interface n2 vr-id 1 
===============================================================================
Monitor statistics for VRRP Instance 1 on interface "n2"
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Become Master       : 1                   Master Changes    : 1                
Adv Sent            : 1439                Adv Received      : 0                
Pri Zero Pkts Sent  : 0                   Pri Zero Pkts Rcvd: 0                
Preempt Events      : 0                   Preempted Events  : 0                
Mesg Intvl Discards : 0                   Mesg Intvl Errors : 0                
Addr List Discards  : 0                   Addr List Errors  : 0                
Auth Type Mismatch  : 0                   Auth Failures     : 0                
Invalid Auth Type   : 0                   Invalid Pkt Type  : 0                
IP TTL Errors       : 0                   Pkt Length Errors : 0                
Total Discards      : 0                                                        
===============================================================================
*A:ALA-A#

3.12.2.4. Clear Commands

interface

Syntax 
interface ip-int-name [vrid virtual-router-id]
Context 
clear>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command resets VRRP protocol instances on an IP interface.

Parameters 
ip-int-name—
Specifies the IP interface to reset the VRRP protocol instances.
vrid vrid
Resets the VRRP protocol instance for the specified VRID on the IP interface.
Values—
1 to 255

 

Default—
all VRIDs on the IP interface

statistics

Syntax 
statistics [policy policy-id]
Context 
clear>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to clear and reset VRRP entities.

Parameters 
policy policy-id
Clears statistics for the specified policy.
Values—
1 to 9999

 

statistics

Syntax 
statistics interface interface-name [vrid virtual-router-id]
statistics policy [vrrp-policy-id]
Context 
clear>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command clears statistics for VRRP instances on an IP interface or VRRP priority control policies.

Parameters 
interface interface-name
Clears the VRRP statistics for all VRRP instances on the specified IP interface.
vrid virtual-router-id
Clears the VRRP statistics for the specified VRRP instance on the IP interface.
Values—
1 to 255

 

Default—
all VRRP instances on the IP interface
policy [vrrp-policy-id]
Clears VRRP statistics for all or the specified VRRP priority control policy.
Values—
1 to 9999

 

Default—
all VRRP policies

3.12.2.5. Debug Commands

events

Syntax 
events
events interface ip-int-name [vrid virtual-router-id]
no events
no events interface ip-int-name [vrid virtual-router-id]
Context 
debug>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for VRRP events.

The no form of this command disables debugging.

Parameters 
ip-int-name—
Displays the specified interface name.
vrid virtual-router-id
Displays the specified VRID.

packets

Syntax 
packets interface ip-int-name [vrid virtual-router-id]
packets
no packets interface ip-int-name [vrid virtual-router-id]
no packets
Context 
debug>router>vrrp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables debugging for VRRP packets.

The no form of this command disables debugging.

Parameters 
ip-int-name—
Displays the specified interface name.
vrid virtual-router-id
Displays the specified VRID.