Description
Use rip bfd enable to enable BFD on the RIP interface.
Use undo rip bfd enable to restore the default and delete the relevant BFD session.
By default, a RIP interface is not enabled with BFD.
BFD echo-mode detection only works for a RIP neighbor one hop away.
Using the undo peer command does not delete the neighbor relationship at once and cannot bring down
the BFD session at once.
Examples
# Enable BFD on RIP interface VLAN-interface 1 1.
<Sysname> system-view
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] rip bfd enable
rip default-route
Syntax
rip default-route { { only | originate } [ cost cost ] | no-originate }
undo rip default-route
View
Interface view
Default level
2: System level
Parameters
only: Advertises only a default route.
originate: Advertises a default route and other routes.
cost: Cost of the default route, in the range of 1 to 15. The default is 1.
no-originate: Advertises routes other than a default route.
Description
Use rip default-route to configure the RIP interface to advertise a default route with the specified metric.
Use undo rip default-route to disable the RIP interface from sending a default route.
By default, a RIP interface can advertise a default route if the RIP process is configured with default route
advertisement.
A RIP router configured to advertise a default route will not receive any default routes from RIP neighbors.
Related commands: default-route.
Examples
# Configure VLAN-interface 10 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip default-route only cost 2
47