Specifications

Table Of Contents
match mpls-label
MP-133
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
match mpls-label
To redistribute routes that include Multiprotocol Label Switching (MPLS) labels if the routes meet the
conditions specified in the route map, use the match mpls-label command in route-map configuration
mode. To disable this function, use the no form of this command.
match mpls-label
no mat
ch mpls-label
Syntax Description This command has no arguments or keywords.
Command Default Routes with MPLS labels are not redistributed.
Command Modes Route-map configuration
Command History
Usage Guidelines A route map that includes this command can be used in the following instances:
With the neighbor route-map in command to manage inbound route maps in BGP
With the redistribute bgp command to redistribute route maps in an IGP
Use the ro
ute-map global configuration command, and the match and set route map configuration
commands, to define the conditions for redistributing routes from one routing protocol into another. Each
route-map command has a list of match and set commands associated with it. The match commands
specify the match criteria—the conditions under which redistribution is allowed for the current
route-map command. The set commands specify the set actions—the particular redistribution actions
to perform if the criteria enforced by the match commands are met. The no route-map command deletes
the route map.
The mat
ch route-map configuration command has multiple formats. The match commands can be
given in any order, and all match commands must “pass” to cause the route to be redistributed according
to the set actions given with the set commands. The no forms of the match commands remove the
specified match criteria.
Release Modification
12.0(21)ST This command was introduced.
12.0(22)S This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(11)S This command was integrated into Cisco IOS Release 12.2(11)S.
12.2(13)T This command was integrated into Cisco IOS Release 12.2(13)T.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.