![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg4b1.png)
1201
if-match mpls-label
Syntax if-match mpls-label
undo if-match mpls-label
View Routing policy view
Parameters None
Description Use the
if-match mpls-label command to specify the MPLS label match
criterion.
Use the
undo if-match mpls-label command to remove the match criterion.
The match criterion is not configured by default.
Examples # Create a routing policy named policy1 with node 10, matching mode as permit.
Match MPLS label of routing updates.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match mpls-label
if-match route-type
Syntax if-match route-type { internal | external-type1 | external-type2 | external-type1or2 |
is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type2 |
nssa-external-type1or2 } *
undo if-match route-type [ internal | external-type1 | external-type2 |
external-type1or2 | is-is-level-1 | is-is-level-2 | nssa-external-type1 |
nssa-external-type2 | nssa-external-type1or2 ] *
View Routing policy view
Parameters internal: Internal routes (OSPF intra-area and inter-area routes).
external-type1: OSPF Type 1 external routes.
external-type2: OSPF Type 2 external routes.
external-type1or2: OSPF Type 1 or 2 external routes.
is-is-level-1: IS-IS Level-1 routes.
is-is-level-2: IS-IS Level-2 routes.
nssa-external-type1: OSPF NSSA Type 1 external routes.
nssa-external-type2: OSPF NSSA Type 2 external routes.