R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
211
cost: Cost of the default route, in the range 1 to 15.
no-originate: Advertises routes other than a default route.
Description
Use the rip default-route command to configure the RIP interface to advertise a default route with the
specified metric.
Use the undo rip default-route command 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/0 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] rip default-route only cost 2
rip input
Syntax
rip input
undo rip input
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the rip input command to enable the interface to receive RIP messages.
Use the undo rip input command to disable the interface from receiving RIP messages.
By default, an interface is enabled to receive RIP messages.
Related commands: rip output.
Examples
# Enable GigabitEthernet 0/0 to receive RIP messages.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] rip input