F3215-HP Load Balancing Module Network Management Command Reference-6PW101
170
Views
Interface view
Parameters
route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the
routes matching it. The route-policy-name argument is a case-sensitive string of 1 to 63 characters.
value: Add an additional metric to outbound routes, in the range of 1 to 16.
Usage guidelines
With the command configured on an interface, the metric of RIP routes sent on the interface is increased.
If a routing policy is referenced with the route-policy keyword, the following operations can be
performed:
• Routes matching the policy are added with the metric specified in the apply cost command
configured in the policy. Routes not matching it are added with the metric specified in the rip
metricout command. The rip metricout command does not support the + or – keyword—used to
add or reduce a metric—specified in the apply cost command. For more information about the
apply cost command, see "Routing policy configuration commands."
• If the apply cost command is not configured in the policy, all the outbound routes are added with
the metric specified in the rip metricout command.
Examples
# Configure GigabitEthernet 0/1 to add a metric of 6 to the outbound route 1.0.0.0/8 and to add a
metric of 2 to other outbound 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 0/1
[Sysname-GigabitEthernet0/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