Configuring vrrp example, Router xsra, Router xsrb – Enterasys Networks Security Router X-PeditionTM User Manual

Page 147: Configuring vrrp example -45, Router xsra -45 router xsrb -45

Advertising
background image

Configuring VRRP Example

XSR User’s Guide 5-45

XSR(config-if<G1>)#ip policy

These commands create the PBR, map it to ACL 101, and set the forwarding router as 192.168.5.2:

XSR(config)#route-map pbr 101
XSR(config-pbr-map)#match ip address 101
XSR(config-pbr-map)#set ip next-hop 192.168.5.2

Configuring VRRP Example

The following example configures three VRRP groups to provide forwarding redundancy and
load balancing on VRRP routers XSRa and XSRb as follows:

Group 1: the virtual IP address is 10.10.10.10, XSRa is the group master with priority 120, the
advertising interval is 3 seconds, preemption is enabled with a 2-second delay, and
authentication is set with the text robo.

Group 5: XSRb is the group master with priority 200, the virtual IP address is 10.10.10.50, the
advertising interval is 30 seconds, and preemption is enabled with a 2-second delay.

Group 100: XSRa is the group master with priority 85, the advertising interval is 1 second
(default), and preemption is off.

The WAN Serial interface 2/0 is tracked by FastEthernet interface 1 on each likely master VR.

Router XSRa

XSRa(config)#interface fastethernet 1/0
XSRa(config-if<F1>)#ip address 10.10.10.2 255.255.255.0
XSRa(config-if<F1>)#vrrp 1 priority 150
XSRa(config-if<F1>)#vrrp 1 preempt delay 2
XSRa(config-if<F1>)#vrrp 1 track serial 2/0
XSRa(config-if<F1>)#vrrp 1 authentication robo
XSRa(config-if<F1>)#vrrp 1 adver-int 3
XSRa(config-if<F1>)#vrrp 1 ip 10.10.10.10
XSRa(config-if<F1>)#vrrp 5 priority 100
XSRa(config-if<F1>)#vrrp 5 adver-int 30
XSRa(config-if<F1>)#vrrp 5 ip 10.10.10.50
XSRa(config-if<F1>)#vrrp 5 preempt delay 2
XSRa(config-if<F1>)#vrrp 100 ip 10.10.10.100
XSRa(config-if<F1>)#vrrp 100 priority 85
XSRa(config-if<F1>)#no vrrp 100 preempt
XSRa(config-if<F1>)#vrrp 100 track serial 2/0
XSRa(config-if<F1>)#no shutdown

Router XSRb

XSRb(config)#interface fastethernet 1/0
XSRb(config-if<F1>)#ip address 10.10.10.1 255.255.255.0
XSRb(config-if<F1>)#vrrp 1 priority 100
XSRb(config-if<F1>)#vrrp 1 preempt delay 2
XSRb(config-if<F1>)#vrrp 1 authentication robo
XSRb(config-if<F1>)#vrrp 1 adver-int 3
XSRb(config-if<F1>)#vrrp 1 ip 10.10.10.10

Advertising