Configuring IP Services

IP Services Configuration Examples

Router PE1 Configuration

configure terminal

!

ip cef

!

ip vrf vrf1 rd 100:1

route-target export 100:1 route-target import 100:1

!

interface ethernet0

ip vrf forwarding vrf1

ip address 10.2.0.1 255.255.0.0 standby 1 ip 10.2.0.20 standby 1 priority 105

standby preempt delay minimum 10 standby 1 timers 3 1

standby 1 track ethernet1 10 standby 1 track ethernet2 10

Router PE2 Configuration

configure terminal

!

ip cef

!

ip vrf vrf1 rd 100:1

route-target export 100:1 route-target import 100:1

!

interface ethernet0

ip vrf forwarding vrf1

ip address 10.2.0.2 255.255.0.0 standby 1 ip 10.2.0.20 standby 1 priority 100

standby preempt delay minimum 10 standby 1 timers 3 1

standby 1 track ethernet1 10 standby 1 track ethernet2 10

HSRP Support for ICMP Redirect Messages Example

The following is a configuration example for two HSRP groups that allow the filtering of ICMP redirect messages:

Router A ConfigurationActive for Group 1 and Standby for Group 2

interface Ethernet1

ip address 1.0.0.10 255.0.0.0 standby redirects

standby 1 priority 120

standby 1 preempt delay minimum 20 standby 1 ip 1.0.0.1

standby 2 priority 100

standby 2 preempt delay minimum 20 standby 2 ip 1.0.0.2

Router B ConfigurationStandby for Group 1 and Active for Group 2

interface Ethernet1

Cisco IOS IP Configuration Guide

IPC-129

Page 175
Image 175
Cisco Systems 78-11741-02 manual Hsrp Support for Icmp Redirect Messages Example, Router PE1 Configuration, IPC-129