if-match mpls-label

Use if-match mpls-label to specify the MPLS label match criterion.

Use undo if-match mpls-label to restore the default.

Syntax

if-match mpls-label

undo if-match mpls-label

Default

No MPLS label match criterion is configured.

Views

Routing policy node view

Predefined user roles

network-admin

mdc-admin

Examples

# Configure node 10 in permit mode for routing policy policy1 to match routes having MPLS labels.

<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match mpls-label