3-25
Examples
# Configure VLAN-interface 10 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 vlan-interface 10
[Sysname-Vlan-interface10] rip metricout route-policy abc 2
rip mib-binding
Syntax
rip mib-binding
process-id
undo rip mib-binding
View
System view
Default Level
2: System level
Parameters
process-id
: RIP process ID, in the range of 1 to 65535.
Description
Use the
rip mib-binding
command to bind MIB operations with a specified RIP process, so that
the RIP process can receive SNMP requests.
Use the
undo rip mib-binding
command to restore the default.
By default, MIB operations are bound to RIP process 1, that is, RIP process 1 is enabled to
receive SNMP requests.
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
Syntax
rip output
undo rip output
View
Interface view