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-matchmpls-labelcommand to specify the MPLS label match

 

criterion.

 

Use the undo if-matchmpls-labelcommand 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.

Page 1201
Image 1201
3Com MSR 50, MSR 30 manual If-match mpls-label, If-match route-type