Commands For Ipv6 Vrrpv3 Configuration

11.2 Commands for IPv6 VRRPv3 Configuration

Command: advertisement-interval <adver-interval>
Function: Configure the advertisement interval of VRRPv3.
Parameters:

  • <adver-interval>: interval of sending VRRPv3 advertisement messages, in centi-seconds. The valid range is from 100 to 1000; the value must be a multiple of 100.

Command mode: VRRPv3 Protocol Mode
Default: 100.
Usage guide: The master in a VRRPv3 backup group will send a VRRPv3 message to notify other routers (layer 3 switches) in the group that it is working normally at intervals. This interval is called adver-interval. If the backup hasn?t received any VRRPv3 messages from the master over a certain period of time (the length of the time is master-down-interval), it will assume that the master is not working normally and will change its state to become the master.
This command can also adjust the interval of VRRPv3 advertisement messages sent by the master. For members in the same backup group, this attribute should have the same value. For backup, the value of its master-down-interval should be three times more than adver-interval. If the network flow is too big or if different routers (or layer 3 switches) have different timers, master-down-interval might time out, which will cause a state change as a result. This situation can be solved by prolonging adver-interval or setting a longer preemptive delay time.
Example: Configure the VRRPv3 advertisement interval to 300 centi-seconds.

active500EM(config-router)#advertisement-interval 300

 

11.2.2 circuit-failover

Command: circuit-failover {vlan <vlan-id>| <IFNAME>} <value-reduced>
no circuit-failover
Function: Configure the VRRPv3 monitor interface. The no command removes the configuration.
Parameters:

  • <vlan-id>: VLAN ID, valid range is <1-4094>.
  • <IFNAME>: name of the interface to be monitored.
  • <value-reduced>: indicates the priority decrease. The valid range is from 1 to 253.

Command mode: VRRPv3 Protocol Configuration Mode
Default: None.
Usage guide: The interface monitor function is an extension to the backup function. It enables VRRPV3 to provide a backup function upon a router (or L3 Ethernet switch) failure and allows a user to decrease the priority of a router (or L3 Ethernet switch). This ensures smooth implementation of a backup function when the status of that network interface is down.
When this command is used, if the status of an interface which is monitored turns from up to down, then the priority of that router (or L3 Ethernet switch) in its standby cluster will decrease. If the priority of value-reduced is higher than the interface configuration, then the corresponding router is down, and the priority of the interface in backup decreases until it reaches 0. The backup cannot change its status due to having a lower priority than the master when the master fails. After the interface monitored goes up, the priority of the corresponding router (or L3 Ethernet switch) will restore to Backup.
Example: Configure the VRRPv3 monitor interface to VLAN 2 and decrease the priority to 10.

active500EM(config-router)#circuit-failover vlan 2 10

 

11.2.3 debug ipv6 vrrp

Command: debug ipv6 vrrp [all | events | packet [recv | send]] no debug ipv6 vrrp [all | events | packet [recv | send]]
Function: Display the state change, as well as message receiving and sending of a VRRPv3 backup group. The no command disables the display.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Display the state change, as well as message receiving and sending of a VRRPv3 backup group.
Example: Display the state change, as well as message receiving and sending of a VRRPv3 backup group.

active500EM#debug ipv6 vrrp
Jan 01 01:03:13 2006 NSM: VRRP6 SEND[Hello]: Advertisement sent for vrid=[1], virtual-ip=[fe80::2]
Jan 01 01:03:14 2006 NSM: VRRP6 SEND[Hello]: Advertisement sent for vrid=[1], virtual-ip=[fe80::2]
Jan 01 01:03:15 2006 NSM: VRRP6 SEND[Hello]: Advertisement sent for vrid=[1], virtual-ip=[fe80::2]

 

11.2.4 disable

Command: disable
Function: Disable the VRRPv3 virtual router.
Parameters: None.
Command mode: VRRPv3 Protocol Mode
Default: None.
Usage guide: Disable the corresponding virtual router session. Only after disabling the virtual router can the relative configuration parameters change.
Example: Disable the VRRPv3 virtual router whose ID is 10.

active500EM(config)#router ipv6 vrrp 10
active500EM(config-router)#disable

 

11.2.5 enable

Command: enable
Function: Enable the VRRPv3 virtual router.
Parameters: None.
Command mode: VRRPv3 Protocol Mode
Default: None.
Usage guide: Start the corresponding virtual router session. Only the interface of the enabled router (or the layer 3 switch) can actually join the backup group. Before enabling the virtual router, the virtual IPv6 address and interface of VRRPv3 should be configured.
Example: Enable the VRRPv3 virtual router with ID 10.

active500EM(config)#router ipv6 vrrp 10
active500EM(config-router)#enable

 

11.2.6 preempt-mode

Command: preempt-mode {true | false}
Function: Configure the preempt mode of VRRPv3.
Parameters: None.
Command mode: VRRPv3 Protocol Mode
Default: Preempt mode is true.
Usage guide: If a user needs a router (or a layer 3 switch) with a higher priority to take the role of master, the preempt mode needs to be configured.
Example: Configure VRRPv3 as non-preempt mode.

active500EM(config-router)#preempt-mode false

 

11.2.7 priority

Command: priority <value>
Function: Configure the priority of VRRPv3.
Parameters:

  • <value>: priority. The valid range is from 1 to 254.

Command mode: VRRPv3 Protocol Mode
Default: Backup routers (or layer 3 switches) all have a priority of 100. The priority of IP address owners are all 255 in the backup group they belong to.
Usage guide: Priority decides the state of a router (or a layer 3 switch) in a backup group. The higher the priority is, the more probable the router can become a master. The configurable priority ranges from 1 to 254, while the priority of 255 is reserved for the IP address owner. The priority of 0 has special usage: when disabling a VRRP session, the master will send an advertisement message with a priority of 0. When a backup receives such an advertisement message, it will start a new round of master selection. When there are two or more routers (or layer 3 switches) in one backup group with the same priority, the router with biggest local link IPv6 address will receive higher priority.
Example: Configure the priority of VRRPv3 as 150.

active500EM(config-router)#priority 150

 

11.2.8 router ipv6 vrrp

Command: router ipv6 vrrp <vrid>
no router ipv6 vrrp <vrid>
Function: Create or delete a VRRPv3 virtual router.
Parameters:

  • <vrid>: ID of the virtual router. The valid range is 1 to 255.

Command mode: Global Mode
Default: None.
Usage guide: This command is used to create or delete a VRRPv3 virtual router. The virtual router is uniquely specified by the virtual router ID and the related virtual IPv6 address. Only after creating a virtual router can its relative configuration be set. The number of configurable virtual routers should not exceed 64.
Example: Configure a virtual router with ID 10.

active500EM(config)#router ipv6 vrrp 10

 

11.2.9 show ipv6 vrrp

Command: show ipv6 vrrp [<vrid>] Function: Display the state and configuration information of the VRRPv3 backup group.
Parameters:

  • <vrid>: ID of the virtual router. The valid range is from 1 to 255.
  • no parameter: display the state and configuration information of all backup groups.

Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Display the state and configuration information of the VRRPv3 backup group.
Example: Display the state and configuration information of the VRRPv3 backup group.

active500EM#show ipv6 vrrp
VrId 1
 State is Master
 Virtual IPv6 is fe80::2 (Not IPv6 owner)
 Interface is Vlan1
 Configured priority is 150, Current priority is 150
 Advertisement interval is 100 centiseconds
 Preempt mode is TRUE
 Circuit failover interface Vlan1, Priority Delta 3, Status UP
VrId 10
 State is Initialize
 Virtual IPv6 is fe80::3 (Not IPv6 owner)
 Interface is Vlan2
 Priority is 100
 Advertisement interval is 300 centiseconds
 Preempt mode is TRUE
 Circuit failover interface Vlan2, Priority Delta 10, Status UP
Displayed Information Explanation
State State
Virtual IPv6 Virtual IPv6 address
Interface Interface name
Priority Priority
Advertisement interval The interval of VRRPv3 advertisement messages
Preempt Preempt mode
Circuit failover interface Monitor interface information

 

11.2.10 virtual-ipv6 interface

Command: virtual-ipv6 <ipv6-address> interface {vlan <vlan-id>| <IFNAME>}
no virtual-ipv6 interface
Function: Configure the virtual IPv6 address and interface of VRRPv3. The no command deletes the virtual IPv6 address and interface.
Parameters:

  • <ipv6-address>: virtual IPv6 address, which has to be an IPv6 local link address.
  • <vlan-id>: VLAN ID, valid range <1-4094>
  • <IFNAME>: Interface name.

Command mode: VRRPv3 Protocol Mode
Default: None.
Usage guide: This command is used to add an IPv6 address and interface to an existing backup group. The virtual IPv6 address is the link?s local unicast address. There can only be one virtual IPv6 address in a backup group. In order to avoid returning a physical MAC address when pinging a virtual IPv6 address, the virtual IPv6 address should not be the real IPv6 address of the interface. Thus, the interfaces of all VRRPv3 backup groups are backup by default. A user will need to select a master within the backup groups.
Example: Configure the virtual IPv6 address of the backup group to fe80::2, the interface is VLAN1.

active500EM(config-router)# virtual-ipv6 fe80::2 interface vlan 1

 


Return to Controller Wired CLI Table of Contents