Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Configuring VRRP
VRRP Configuration Overview
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 32-11
• Preempt mode. By default, preempt mode is enabled. Use no preempt to turn it off, and preempt to 
turn it back on. For more information about the preempt mode, see 
.
• Advertising interval (in seconds). Use the interval keyword with the desired number of seconds for the 
delay in sending VRRP advertisement packets. The default is 1 second. See 
The following example creates a virtual router (with VRID 7) on VLAN 2 with a priority of 75. The 
preempt mode of the router is enabled and VRRP advertisements will be sent at intervals of 2 seconds:
-> vrrp 7 2 priority 75 preempt interval 2 
Note. All virtual routers with the same VRID on the same LAN should be configured with the same 
advertising interval; otherwise the network may produce duplicate IP or MAC address messages. 
The vrrp command may also be used to specify whether the virtual router is enabled or disabled (it is 
disabled by default). However, the virtual router must have an IP address assigned to it before it can be 
enabled
. Use the vrrp address command as described in the next section to specify an IP address or 
addresses.
To delete a virtual router, use the no form of the vrrp command with the relevant VRID and VLAN ID. 
For example:
-> no vrrp 7 3
Virtual router 7 on VLAN 3 is deleted from the configuration. (The virtual router does not have to be 
disabled before you delete it.)
For more information about the vrrp command syntax, see the OmniSwitch CLI Reference Guide.
Specifying an IP Address for a Virtual Router
An IP address must be specified before a virtual router may be enabled. To specify an IP address for a 
virtual router, use the 
 command and the relevant IP address. For example:
-> vrrp 6 4 address 10.10.2.3
-> vrrp 6 4 enable
In this example, the vrrp address command specifies that virtual router 6 on VLAN 4 will be used to 
backup IP address 10.10.2.3. The virtual router is then enabled with the vrrp command.
Note that if a virtual router is to be the IP address owner, then all addresses on the virtual router must 
match an address on the switch interface. 
To remove an IP address from a virtual router, use the no form of the vrrp address command. For exam-
ple:
-> vrrp 6 4 disable
-> vrrp 6 4 no address 10.10.2.3
In this example, virtual router 6 is disabled. (A virtual router must be disabled before IP addresses may be 
added/removed from the router.) IP address 10.10.2.3 is then removed from the virtual router with the no 
form of the vrrp address command.