Configuring split horizon and poison reverse – H3C Technologies H3C S12500-X Series Switches User Manual
Page 45
31
•
Suppress timer—Specifies how long a RIP route stays in suppressed state. When the metric of a
route is 16, the route enters the suppressed state. A suppressed route can be replaced by an
updated route that is received from the same neighbor before the suppress timer expires and has a
metric less than 16.
•
Garbage-collect timer—Specifies the interval from when the metric of a route becomes 16 to when
it is deleted from the routing table. RIP advertises the route with a metric of 16. If no update is
announced for that route before the garbage-collect timer expires, the route is deleted from the
routing table.
IMPORTANT:
To avoid unnecessary traffic or route flapping, configure identical RIP timer settings on RIP routers.
To configure RIP timers:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3.
Configure RIP timers.
timers { garbage-collect
garbage-collect-value | suppress
suppress-value | timeout
timeout-value | update
update-value } *
By default:
•
The garbage-collect timer is 120
seconds.
•
The suppress timer is 120 seconds.
•
The timeout timer is 180 seconds.
•
The update timer is 30 seconds.
157B
Configuring split horizon and poison reverse
The split horizon and poison reverse functions can prevent routing loops.
If both split horizon and poison reverse are configured, only the poison reverse function takes effect.
461B
Enabling split horizon
Split horizon disables RIP from sending routes through the interface where the routes were learned to
prevent routing loops between adjacent routers.
To enable split horizon:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable split horizon.
rip split-horizon
By default, split horizon is enabled.
462B
Enabling poison reverse
Poison reverse allows RIP to send routes through the interface where the routes were learned, but the
metric of these routes is always set to 16 (unreachable) to avoid routing loops between neighbors.
To enable poison reverse: