R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

649
Usage guidelines
You can configure the ACL, DSCP value, and IP precedence match criteria for an MTR node at the same
time. The match criteria are in an OR relationship. If a packet matches one of the criteria, it matches the
node, as well as the MTR policy. If a packet fails to match a node, it goes to the next node for a match.
Examples
# Configure an IP precedence match criterion for node 0 of MTR policy mtr, allowing packets with an IP
precedence of 5 to pass.
<Sysname> system-view
[Sysname] mtr-policy mtr node 0
[Sysname-mtr-policy-mtr-0] if-match ip precedence 5
mtr-policy
Use mtr-policy to create an MTR policy node and enter its view. If the specified MTR policy node already
exists, the command enters its view.
Use undo mtr-policy to delete the specified MTR policy node.
Syntax
mtr-policy policy-name node node-value
undo mtr-policy policy-name [ node node-value ]
Default
No MTR policy node is created.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: Specifies an MTR policy by its name, a case-sensitive string of 1 to 63 characters.
node-value: Specifies an MTR policy node by its number in the range of 0 to 255.
Usage guidelines
An MTR policy comprises multiple nodes that are in an OR relationship. If a packet matches one of the
nodes, it matches the MTR policy.
The undo mtr-policy policy-name node node-value command deletes the specified node from the
specified MTR policy. If the MTR policy has only one node, the command also deletes the MTR policy.
Examples
# Create MTR policy mtr and node 0, and enter MTR policy node view.
<Sysname> system-view
[Sysname] mtr-policy mtr node 0
[Sysname-mtr-policy-mtr-0]
routing-table limit
Use routing-table limit to configure the maximum number of active routes supported by the topology.