•
Configure a port-based VLAN containing the ports for which you want to provide VSRP service.
NOTE: If you already have a port-based VLAN but only want to use VSRP on a sub-set of the VLANs ports,
you can selectively remove ports from VSRP service in the VLAN. See "Removing a Port from the VRID's
VLAN" on page 10-29.
•
Configure a VRID.
•
Specify that the device is a backup. Since VSRP, like VRRPE, does not have an "owner", all VSRP
devices are backups. The active device for a VRID is elected based on the VRID priority, which is
configurable.
•
Activate the VRID.
The following example shows a simple VSRP configuration.
HP9300(config)# vlan 200
HP9300(config-vlan-200)# tag ethernet 1/1 to 1/8
HP9300(config-vlan-200)# vsrp vrid 1
HP9300(config-vlan-200-vrid-1)# backup
HP9300(config-vlan-200-vrid-1)# activate
Syntax: [no] vsrp vrid <num>
The <num> parameter specifies the VRID and can be from 1 – 255.
Syntax: [no] backup [priority <value>] [track-priority <value>]
This command is required. In VSRP, all devices on which a VRID are configured are Backups. The Master is then
elected based on the VSRP priority of each device. There is no "owner" device as there is in VRRP.
For information about the command's optional parameters, see the following:
•
"Changing the Backup Priority" on page 10-30
•
"Changing the Default Track Priority" on page 10-32
Syntax: [no] activate
or
Syntax: enable | disable
Configuring Optional VSRP Parameters Using the CLI
The following sections describe how to configure optional VSRP parameters.
Disabling or Re-Enabling VSRP
VSRP is enabled by default. On a Routing Switch, if you want to use VRRP or VRRPE for Layer 3 redundancy
instead of VSRP, you need to disable VSRP first. To do so, enter the following command at the global CONFIG
level:
HP9300(config)# no router vsrp
router vsrp is disabled. All vsrp config data will be lost when writing to flash
To re-enable the protocol, enter the following command:
HP9300(config)# router vsrp
Syntax: [no] router vsrp
Changing the Timer Scale
To achieve sub-second failover times, you can shorten the duration of all VSRP timers by adjusting the timer scale.
The timer scale is a value used by the software to calculate the timers. By default, the scale value is 1. If you
increase the timer scale, each timer's value is divided by the scale value. Using the timer scale to adjust VSRP
Configuring Metro Features
10 - 27
Need help?
Do you have a question about the ProCurve 9304M and is the answer not in the manual?