Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Networking Requirements

In figure 1, Switch connects to the internet through gateway switches Switch A and Switch B. To ensure nonstop service availability, a VRRP group in standard mode needs to be configured on SwitchA and SwitchB.

...

Figure 1. Networking of Standard VRRP


Procedure

Switch A

Step1         Configure VLAN.

...

                   admin@SwitchA# set protocols vrrp interface vlan100 vif vlan100 vrid 1

Step3         Configure the VRRP version number to v3.

   admin@SwitchA#set protocols vrrp interface vlan100 vif vlan100 vrid 1 version 3

   By default, the system uses VRRPv2.

...

    admin@SwitchA# set protocols vrrp interface vlan100 vif vlan100 vrid 1 disable false

...

                   admin@SwitchA# set protocols vrrp interface vlan100 vif vlan100 vrid 1 ip 192.168.1.5

Step6         Configure the priority of a device in a VRRP group.

    admin@SwitchA# set protocols vrrp interface vlan100 vif vlan100 vrid 1 priority 250

Step7         Commit the configuration.

    admin@SwitchA# commit

Switch B

Step1         Configure VLAN.

...

                   admin@SwitchB# set protocols vrrp interface vlan100 vif vlan100 vrid 1

Step3         Configure the VRRP version number to v3.

   admin@SwitchB#set protocols vrrp interface vlan100 vif vlan100 vrid 1 version 3

   By default, the system uses VRRPv2.

...

    admin@SwitchB# set protocols vrrp interface vlan100 vif vlan100 vrid 1 disable false

...

                   admin@SwitchB# set protocols vrrp interface vlan100 vif vlan100 vrid 1 ip 192.168.1.5

...

    admin@SwitchB# set protocols vrrp interface vlan100 vif vlan100 vrid 1 priority 100

Step7         Commit the configuration.

...

Code Block
admin@SwitchA# run show vrrp
Interface: vlan100
Vif: vlan100
VRID: 1
Load-balance: disable
State: Master
Master IP: 192.168.1.1
Virtual MAC: 00:00:5e:00:01:01
Preempt: enable
Adver Interval: 1 
Priority: 250
Virtual IP: 192.168.1.5

...