R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
53
Examples
# Enable BFD on GigabitEthernet 0/0/1 for a specified destination 202.38.165.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0/1
[Sysname-GigabitEthernet0/0/1] rip bfd enable destination 202.38.165.1
rip default-route
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.
Syntax
rip default-route { { only | originate } [ cost cost ] | no-originate }
undo rip default-route
Default
A RIP interface can advertise a default route if the RIP process is configured with default route
advertisement.
Views
Interface view
Default command level
2: System level
Parameters
only: Advertises only a default route.
originate: Advertises a default route and other routes.
cost: Specifies a cost for the default route, in the range of 1 to 15. The default is 1.
no-originate: Advertises routes other than a default route.
Usage guidelines
A RIP router configured to advertise a default route will not receive any default routes from RIP neighbors.
Examples
# Configure GigabitEthernet 2/1/1 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] rip default-route only cost 2
Related commands
default-route
rip input
Use rip input to enable the interface to receive RIP messages.
Use undo rip input to disable the interface from receiving RIP messages.