Management and Configuration Guide K/KA/KB.15.15

Example
Example 128 Example of enabling nonstop switching for VRRP and then displaying the output
This example shows nonstop VRRP being enabled. The show vrrp config command output
displays the enabled status (see bold line below.)
HP Switch(vlan-10-vrid-1)# nonstop
HP Switch(vlan-10-vrid-1)# show vrrp config
VRRP Global Configuration Information
VRRP Enabled : Yes
Traps Enabled : Yes
Virtual Routers Respond to Ping Requests : Yes
VRRP Nonstop Enabled: Yes
VRRP Virtual Router Configuration Information
Vlan ID : 10
Virtual Router ID : 1
Administrative Status [Disabled] : Enabled
Mode [Uninitialized] : Backup
Priority [100] : 150
Advertisement Interval [1] : 1
Preempt Mode [True] : True
Preempt delay time : 0
Respond to Virtual IP Ping Requests [Yes] : Yes
Primary IP Address : Lowest
IP Address Subnet Mask
--------------- ---------------
10.0.202.87 255.255.0.0
Example nonstop routing configuration
Example 129 Example of configuring the owner routing switch
HP Switch C(config#) ip routing
HP Switch C(config#) router vrrp
HP Switch C(vrrp)# enable
HP Switch C(vrrp)# vlan 201
HP Switch C(vlan-201)# untag a1-a10
HP Switch C(vlan-201)# ip address 20.0.0.1/24
HP Switch C(vlan-201)# vrrp vrid 1
HP Switch C(vlan-201-vrid-1)# owner
HP Switch C(vlan-201-vrid-1)# virtual-ip-address 20.0.0.1/24
HP Switch C(vlan-201-vrid-1)# enable
Example 130 Example of configuring the backup routing switch
HP Switch D(config#) ip routing
HP Switch D(config#) router vrrp
HP Switch D(vrrp)# enable
HP Switch D(vrrp)# vlan 201
HP Switch D(vlan-201)# untag a1-a10
HP Switch D(vlan-201)# ip address 20.0.0.2/24
HP Switch D(vlan-201)# vrrp vrid 1
HP Switch D(vlan-201-vrid-1)# backup
HP Switch D(vlan-201-vrid-1)# virtual-ip-address 2.1.1.1/24
HP Switch D(vlan-201-vrid-1)# enable
482 Chassis Redundancy (8200zl Switches)