245
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
match route-type
match route-type
To redistribute routes of the specified type, use the match route-type command. To remove the route
type entry, use the no form of this command.
match route-type {external | internal | local | nssa-external | type-1 | type-2}
no match route-type {external | internal | local | nssa-external | type-1 | type-2}
Syntax Description
Command Default Disabled
Command Modes Route-map configuration mode
Command History
Usage Guidelines Use the route-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 match 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.
external Specifies the external route (Border Gateway Protocol [BGP], Enhanced
Interior Gateway Routing Protocol [EIGRP], and Open Shortest Path First
[OSPF] type 1/2). You can specify more than one keyword.
internal Specifies the internal route (including the OSPF intra/inter area). You can
specify more than one keyword.
local Specifies the locally generated route. You can specify more than one
keyword.
nssa-external
Specifies the nssa-external route (OSPF type 1/2). You can specify more
than one keyword.
type-1 Specifies the OSPF external type 1 route. You can specify more than one
keyword.
type-2 Specifies the OSPF external type 2 route. You can specify more than one
keyword.
Release Modification
5.0(3)A1(1) This command was introduced.