6 preempt-mode, 7 priority, 8 router ipv6 vrrp – PLANET XGS3-24040 User Manual

Page 817: Preempt, Mode, Priority, Router ipv, Vrrp

Advertising
background image

55-3

Example: Enable the VRRPv3 virtual router whose ID is 10.

Switch(config)#router ipv6 vrrp 10

Switch(config-router)#enable

55.6 preempt-mode

Command: preempt-mode {true | false}

Function: Configure the preempt mode of VRRPv3.

Parameters: None.

Command Mode: VRRPv3 Protocol Mode.

Default: It is preempt mode by default.

Usage Guide: If it is needed that a router (or a layer-three switch) with higher priority can the role of

master router, the preempt mode needs to be configured.

Example: Configure VRRPv3 as non-preempt mode.

Switch(config-router)# preempt-mode false

55.7 priority

Command: priority <value>

Function: Configure the priority of VRRPv3.

Parameters: <value> is the priority, whose range is from 1 to 254.

Command Mode: VRRPv3 Protocol Mode.

Default: Backup routers(or layer-three 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-three Ethernet switch) in a backup group.

The higher the priority is, the more possible the router can be a Master. The configurable priority ranges

from 1 to 254, while the priority of 255 is reserved to the IP address owner. The priority of 0 has special

usage, which is when disabling a VRRP session, Master will send an advertisement message with a

priority of 0. When Backup receives such advertisement message, it will start a new round of Master

selection. When there are two or more routers (or layer-three switches) in one backup group have the

same priority, the router with biggest local link IPv6 address has higher priority.

Example: Configure the priority of VRRPv3 as 150.

Switch(config-router)# priority 150

55.8 router ipv6 vrrp

Command: router ipv6 vrrp <vrid>

no router ipv6 vrrp <vrid>

Function: Create or delete a VRRPv3 virtual router.

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

Command Mode: Global Mode.

Default: There is no configuration by default.

Advertising