Dell POWEREDGE M1000E User Manual

Page 1053

Advertising
background image

Configuring VRRP

1053

To configure Router A:

1 Enable routing for the switch.

console#config

console(config)#ip routing

2 Create and configure the VLAN routing interface to use as the default

gateway for network clients. This example assumes all other routing

interfaces, such as the interface to the external network, have been

configured.

console(config)#interface vlan 10

console(config-if-vlan10)#ip address 192.168.10.1

255.255.255.0

console(config-if-vlan10)#exit

3 Enable VRRP for the switch.

console(config)#ip vrrp

4 Assign a virtual router ID to the VLAN routing interface for the VRRP

group.

console(config)#interface vlan 10

console(config-if-vlan10)#vrrp 10

5 Specify the IP address that the virtual router function will use.

console(config-if-vlan10)#vrrp 10 ip 192.168.10.15

6 Configure the router priority.

console(config-if-vlan10)#vrrp 10 priority 200

7 Enable preempt mode so that the router can regain its position as VRRP

master if its priority is greater than the priority of the backup router.

console(config-if-vlan10)#vrrp 10 preempt

8 Enable the VRRP groups on the interface.

console(config-if-vlan10)#ip vrrp 10 mode

console(config-if-vlan10)#exit

9 Track the routing interface VLAN 25 on VRID 10 so that if it goes down,

the priority of VRID 10 on Router A is decreased by 10, which is the

default decrement priority value.

console(config-if-vlan10)#vrrp 10 track interface

vlan 25

Advertising