DELL 8132 ユーザーズマニュアル

ページ / 1818
1386
Virtual Router Redundancy Protocol Commands
User Guidelines
The virtual router IP addresses must be a valid host address on the local 
subnet based on the IP address and subnet mask configured on the VLAN 
interface. The VRRP IP address cannot be either the broadcast address or a 
network address. To configure vrrp, perform the following steps:
Enable ip routing in global configuration mode.
Enable ip vrrp globally.
Set an IP address on the desired interface where VRRP is to be configured.
Configure the VRRP group ID on the selected interface.
Set the virtual router ID and address on the selected interface.
Enable VRRP on the interface using the vrrp mode command.
Example
The following example configures VRRP on VLAN 15.
console#configure
console(config)#ip routing
console(config)#ip vrrp
console(config)#vlan database
console(config-vlan)#vlan 15
console(config-vlan)#vlan routing 15
console(config-vlan)#exit
console(config)#interface vlan 15
console(config-if-vlan15)#ip address 192.168.5.1 255.255.255.0
console(config-if-vlan15)#vrrp 20
console(config-if-vlan15)#vrrp 20 ip 192.168.5.20
console(config-if-vlan15)#vrrp 20 mode
vrrp mode
Use the vrrp mode command in Interface Configuration mode to enable the 
virtual router configured on an interface. Enabling the status field starts a 
virtual router. Use the no form of the command to disable the virtual router.
2CSPC4.X8100-SWUM102.book  Page 1386  Friday, March 15, 2013  8:56 AM