R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

270
<Sysname> system-view
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] 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.
NOTE:
A
RIP router confi
g
ured to advertise a default route will not receive any default routes from RIP nei
g
hbors.
Related commands: default-route.
Examples
# Configure GigabitEthernet 0/1 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] rip default-route only cost 2
rip input
Syntax
rip input
undo rip input
View
Interface view