R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
56
• If the apply cost command is not configured in the policy, all the advertised routes are added with
the metric specified in the rip metricout command.
Examples
# Configure GigabitEthernet 2/1/1 to add a metric of 6 for the outgoing route 1.0.0.0/8 and to add a
metric of 2 for other outgoing routes.
<Sysname> system-view
[Sysname] ip ip-prefix 123 permit 1.0.0.0 8
[Sysname] route-policy abc permit node 0
[Sysname-route-policy] if-match ip-prefix 123
[Sysname-route-policy] apply cost 6
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] rip metricout route-policy abc 2
rip mib-binding
Use rip mib-binding to bind MIB operations with a specified RIP process, so that the RIP process can
receive SNMP requests.
Use undo rip mib-binding to restore the default.
Syntax
rip mib-binding process-id
undo rip mib-binding
Default
MIB operations are bound to RIP process 1. RIP process 1 is enabled to receive SNMP requests.
Views
System view
Default command level
2: System level
Parameters
process-id: Specifies a RIP process by its ID in the range of 1 to 65535.
Examples
# Enable RIP process 100 to receive SNMP requests.
<Sysname> system-view
[Sysname] rip mib-binding 100
# Restore the default.
[Sysname] undo rip mib-binding
rip output
Use rip output to enable the interface to send RIP messages.
Use undo rip output to disable the interface from sending RIP messages.