R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
646
Predefined user roles
network-admin
Parameters
unicast: Specifies the IPv4 unicast address family (the default).
Usage guidelines
Before you configure MTR, enter global address family view by using this command.
Examples
# Enter global address family view.
<Sysname> system-view
[Sysname] global-address-family ipv4 unicast
[Sysname-global-ipv4]
if-match ip acl
Use if-match ip acl to configure an ACL match criterion.
Use undo if-match ip acl to remove the configuration.
Syntax
if-match ip acl acl-number
undo if-match ip acl
Default
No ACL match criterion is configured.
Views
MTR policy node view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an advanced ACL by its number in the range of 3000 to 3999.
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 ACL match criterion for node 0 of MTR policy mtr, allowing packets matching ACL 3333
to pass.
<Sysname> system-view
[Sysname] mtr-policy mtr node 0
[Sysname-mtr-policy-mtr-0] if-match ip acl 3333
if-match ip dscp
Use if-match ip dscp to configure a DSCP value match criterion.