R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

503
if-match mpls-label
Use if-match mpls-label to specify the MPLS label match criterion.
Use undo if-match mpls-label to remove the match criterion.
Syntax
if-match mpls-label
undo if-match mpls-label
Default
No MPLS label match criterion is not configured.
Views
Routing policy view
Default command level
2: System level
Examples
# Configure node 10 in permit mode of routing policy policy1 to match routes having MPLS labels.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match mpls-label
if-match route-type
Use if-match route-type to configure a route type match criterion.
Use undo if-match route-type to remove the match criterion.
Syntax
if-match route-type { external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 |
is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } *
undo if-match route-type [ external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1
| is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 ] *
Default
The match criterion is not configured.
Views
Routing policy view
Default command level
2: System level
Parameters
external-type1: Matches OSPF Type 1 external routes.
external-type1or2: Matches OSPF Type 1 or 2 external routes.
external-type2: Matches OSPF Type 2 external routes.