3com S7906E Guide De Référence

Page de 2327
 
1-13 
Examples 
# On interface VLAN-interface 2, set the interface to be tracked as VLAN-interface 1, making the priority 
of VRRP group 1 on interface VLAN-interface 2 decrement by 50 when VLAN-interface 1 goes down. 
<Sysname> system-view 
[Sysname] interface vlan-interface 2 
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1 
[Sysname-Vlan-interface2] vrrp vrid 1 track interface vlan-interface 1 reduced 50 
vrrp vrid virtual-ip 
Syntax 
vrrp vrid virtual-router-id virtual-ip virtual-address 
undo vrrp vrid virtual-router-id [ virtual-ip virtual-address ] 
View 
Interface view 
Default Level 
2: System level 
Parameters 
virtual-router-id: VRRP group number, in the range 1 to 255. 
virtual-address: Virtual IP address. 
Description 
Use the vrrp vrid virtual-ip command to create a VRRP group, and configure a virtual IP address for it.  
Use the undo  vrrp vrid  virtual-ip  command to remove an existing VRRP group or the virtual IP 
address of the VRRP group. 
By default, no VRRP group is created. 
Note that: 
The system removes a VRRP group after you delete all the virtual IP addresses in it. 
The virtual IP address of the VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, 
non A/B/C address and other illegal IP addresses such as 0.0.0.1. 
Only when the configured virtual IP address and the interface IP address belong to the same 
segment and are legal host addresses can the VRRP group operate normally. If they are not in the 
same network segment, or the configured IP address is the network address or network broadcast 
address of the network segment that the interface IP address belongs to, though you can perform 
the configuration successfully, the state of the VRRP group is always Initialize, that is, VRRP does 
not take effect in this case. 
Examples 
# Create VRRP group 1 and set its virtual IP address to 10.10.10.10. 
<Sysname> system-view 
[Sysname] interface vlan-interface 2 
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10