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

624
Predefined user roles
network-admin
Parameters
preference: Specifies a local preference in the range of 0 to 4294967295.
Examples
# Create node 10 in permit mode for routing policy policy1 to match BGP routes having a local
preference of 2.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match preference 2
if-match mac-list
Use if-match mac-list to match MAC addresses that are contained in EVI IS-IS packets.
Use undo if-match mac-list to remove the configuration.
Syntax
if-match mac-list mac-list-name
undo if-match mac-list mac-list-name
Default
No MAC list match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
mac-list-name: Specifies a MAC list by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
A MAC list can contain multiple items that specify MAC address ranges. Each MAC address entry in an
EVI IS-IS packet is compared with these items in ascending order of their index numbers. A MAC address
entry matches the MAC list if it matches one item in the list.
Examples
# Configure a routing policy to match the MAC addresses in EVI IS-IS packets with the MAC list p1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match mac-list p1
Related commands
mac-list
if-match mpls-label
Use if-match mpls-label to specify the MPLS label match criterion.