beautypg.com
i
Contents
Configuring VRRP ························································································································································· 1
Overview ············································································································································································ 1
VRRP standard mode ························································································································································ 2
Router priority in a VRRP group ······························································································································ 2
Preemption ································································································································································ 2
Authentication method ············································································································································· 3
VRRP timers ······························································································································································· 3
Master election ························································································································································· 4
VRRP tracking ···························································································································································· 4
VRRP application ······················································································································································ 4
VRRP load balancing mode ············································································································································· 6
Virtual MAC address assignment ··························································································································· 6
Virtual forwarder ······················································································································································ 8
Protocols and standards ················································································································································ 10
Configuring IPv4 VRRP ·················································································································································· 10
IPv4 VRRP configuration task list ·························································································································· 10
Specifying an IPv4 VRRP operating mode ·········································································································· 11
Specifying the IPv4 VRRP version ························································································································ 11
Creating a VRRP group and assigning a virtual IP address ············································································· 11
Configuring the router priority, preemptive mode, and tracking function ······················································ 12
Configuring IPv4 VRRP packet attributes ············································································································ 13
Configuring VF tracking ········································································································································ 14
Enabling SNMP notifications for VRRP ················································································································ 15
Disabling an IPv4 VRRP group ····························································································································· 15
Displaying and maintaining IPv4 VRRP ··············································································································· 15
Configuring IPv6 VRRP ·················································································································································· 16
IPv6 VRRP configuration task list ·························································································································· 16
Specifying an IPv6 VRRP operating mode ·········································································································· 16
Creating a VRRP group and assigning a virtual IPv6 address ········································································· 17
Configuring the router priority, preemptive mode, and tracking function ······················································ 18
Configuring VF tracking ········································································································································ 18
Configuring IPv6 VRRP packet attributes ············································································································ 19
Disabling an IPv6 VRRP group ····························································································································· 20
Displaying and maintaining IPv6 VRRP ··············································································································· 20
IPv4 VRRP configuration examples ······························································································································· 20
Single VRRP group configuration example ········································································································· 20
Multiple VRRP groups configuration example ···································································································· 23
VRRP load balancing configuration example ····································································································· 25
IPv6 VRRP configuration examples ······························································································································· 33
Single VRRP group configuration example ········································································································· 33
Multiple VRRP groups configuration example ···································································································· 36
VRRP load balancing configuration example ····································································································· 39
Troubleshooting VRRP ···················································································································································· 47
An error prompt is displayed ······························································································································· 47
Multiple masters appear in a VRRP group ·········································································································· 48
Fast VRRP state flapping ······································································································································· 48
Configuring BFD ························································································································································· 49
Introduction to BFD ························································································································································· 49