R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

54
Syntax
rip input
undo rip input
Default
An interface is enabled to receive RIP messages.
Views
Interface view
Default command level
2: System level
Examples
# Enable GigabitEthernet 2/1/1 to receive RIP messages.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] rip input
rip metricin
Use rip metricin to configure the interface to add a metric to the routes it receives.
Use undo rip metricin to restore the default.
Syntax
rip metricin [ route-policy route-policy-name ] value
undo rip metricin
Default
The additional metric of a received route is 0.
Views
Interface view
Default command level
2: System level
Parameters
route-policy route-policy-name: Specifies the name of a routing policy used to add an additional metric
for the routes matching it. The name is a string of 1 to 63 case-sensitive characters.
value: Adds an additional metric to received routes, in the range of 0 to 16.
Usage guidelines
When a valid RIP route is received, the system adds a metric to it and then installs it into the routing table.
The metric of the route received on the configured interface is then increased. If the sum of the additional
metric and the original metric is greater than 16, the metric of the route will be 16.
If a routing policy is referenced with the route-policy keyword, the following operations can be
performed: