xStack
config vrrp vrid
| gateway that will be statically assigned to end hosts and must be set |
| for all routers that participate in this group. |
| advertisement_interval <int |
| seconds, for sending VRRP message packets. This value must be |
| consistent with all routers participating within the same VRRP group. |
| The default is 1 second. |
| preempt [true false] – This entry will determine the behavior of |
| backup routers within the VRRP group by controlling whether a |
| higher priority backup router will preempt a lower priority Master |
| router. A true entry, along with having the backup router’s priority set |
| higher than the masters priority, will set the backup router as the |
| Master router. A false entry will disable the backup router from |
| becoming the Master router. This setting must be consistent with all |
| routers participating within the same VRRP group. The default |
| setting is true. |
| critical_ip <ipaddr> - Enter the IP address of the physical device that |
| will provide the most direct route to the Internet or other critical |
| network connections from this virtual router. This must be a real IP |
| address of a real device on the network. If the connection from the |
| virtual router to this IP address fails, the virtual router will be disabled |
| automatically. A new master will be elected from the backup routers |
| participating in the VRRP group. Different critical IP addresses may |
| be assigned to different routers participating in the VRRP group, and |
| can therefore define multiple routes to the Internet or other critical |
| network connections. |
| critical_ip_state [enable disable] – This parameter is used to enable |
| or disable the critical IP address entered above. The default is |
| disable. |
Restrictions | Only |
|
|
Example usage:
To configure a VRRP entry:
|
| |
| priority 100 advertisement_interval 2 |
|
| Command: config vrrp vrid 1 ipif Trinity state enable |
|
| priority 100 advertisement_interval 2 |
|
| Success. |
|
|
| |
|
|
|
| ||
config vrrp ipif | ||
|
| |
Purpose | To configure the authentication type for the VRRP routers of an IP | |
| interface. | |
Syntax | config vrrp ipif <ipif_name 12> [authtype [none simple | |
| authdata <string 8> ip authdata <string 16>] | |
Description | This command is used to set the authentication type for the VRRP | |
| routers of an IP interface. | |
|
|
|
265