Associating track with vrrp – H3C Technologies H3C S10500 Series Switches User Manual
Page 180
171
To do…
Use the command…
Remarks
Create a track entry, associate it
with the interface management
module to monitor the Layer 3
protocol status of an interface, and
specify the delay time for the track
module to notify the associated
application module when the track
entry status changes
track track-entry-number interface
interface-type interface-number protocol
{ ipv4 | ipv6 } [ delay { negative
negative-time | positive positive-time } * ]
Associating the track module with an application
module
Associating track with VRRP
VRRP is an error-tolerant protocol. It adds a group of routers that can act as network gateways to a VRRP
group, which forms a virtual router. Routers in the VRRP group elect the master acting as the gateway
according to their priorities. A router with a higher priority is more likely to become the master. The other
routers function as the backups. When the master fails, the backups in the VRRP group elect a new
gateway to undertake the responsibility of the failed master. This ensures that the hosts in the network
segment can uninterruptedly communicate with external networks.
Associate the track module with the VRRP group to implement the following actions:
•
Change the priority of a router according to the status of the uplink. If a fault occurs on the uplink
of the router, the VRRP group cannot be aware of the uplink failure. If the router is the master, hosts
in the LAN cannot access the external network. This problem can be solved by establishing a
track-VRRP group association. Use the detection modules to monitor the status of the uplink of the
router and establish collaborations between the detection modules, track module and VRRP. When
the uplink fails, the detection modules notify the track module to change the status of the monitored
track entry to Negative, and the priority of the master then decreases by a specific value, allowing
a higher priority router in the VRRP group to become the master, and maintaining proper
communication between the hosts in the LAN and the external network.
•
Monitor the master on a backup. If a fault occurs on the master, the backup working in switchover
mode will switch to the master immediately to maintain normal communication.
Follow these steps to associate track with VRRP group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Create a VRRP group and
configure its virtual IP address
vrrp vrid virtual-router-id virtual-ip
virtual-address
Required
No VRRP group is created by
default.
Associate a track entry with a VRRP
group
vrrp [ ipv6 ] vrid virtual-router-id
track track-entry-number [ reduced
priority-reduced | switchover ]
Required
No track entry is specified for a
VRRP group by default.
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS