HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
73
Default
A RIP interface advertises a default route if the RIP process that the interface runs is enabled to advertise
a default route.
Views
Interface view
Predefined user roles
network-admin
Parameters
only: Advertises only a default route.
originate: Advertises both 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 only non-default routes.
Usage guidelines
An interface that is enabled to advertise a default route does not receive any default route from RIP
neighbors.
Examples
# Configure Ethernet 1/1 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] rip default-route only cost 2
# Configure Ethernet 1/1 to advertise a default route with a metric of 4 and other routes.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] rip default-route originate cost 4
Related commands
default-route
rip enable
Use rip enable to enable RIP on an interface.
Use undo rip enable to disable RIP on an interface.
Syntax
rip process-id enable [ exclude-subip ]
undo rip enable
Default
RIP is disabled on an interface.
Views
Interface view