poison-local-routes

Configures the device to avoid routing loops by advertising local RIP or RIPng routes with a cost of 16 (infinite or unreachable) when these routes go down.
Syntax
poison-local-routes
no poison-local-routes
Command Default

By default, RIP or RIPng routers add a cost of 1 to RIP or RIPng routes advertised to neighbors.

Modes

RIP router configuration mode or RIPng router configuration mode

Usage Guidelines

Use the no form of the poison-local-routes command to disable these poison route updates for local routes that go down.

Examples

The following example configures the RIP router to trigger an update to advertise local RIP routes as unreachable when they go down.

device# configure terminal
device(config)# router rip
device(config-rip-router)# poison-local-routes

The following example configures the RIPng router to trigger an update when local routes go down to advertise them as unreachable.

device# configure terminal
device(config)# ipv6 router rip
device(config-ripng-router)# poison-local-routes