Match Vlan - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

match vlan

To filter routes with the specified VLAN, use the match vlan command. To remove the entry for the
redistributed route from the routing table, use the no form of this command.
Syntax Description
vlan-range
Command Default
No match VLAN values are defined.
Command Modes
Route-map configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
To filter routes with the specified VLAN, use the match vlan command You can specify one or more
VLANs (or) range of VLANs. At least one of the specified VLANs must match for the command to pass.
The command matches any VLAN that falls inclusive in the range.
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.
A route map can have several parts. Any route that does not match at least one match clause that relates
to a route-map command is ignored; that is, the route is not advertised for outbound route maps and is
not accepted for inbound route maps. If you want to modify some particular data, you must configure a
second route map section with an explicit match specified.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to redistribute routes that match VLANs 5 to 10:
switch# configure terminal
OL-27852-01
match vlan vlan-range
no match vlan vlan-range
Modification
This command was introduced.
Range of VLAN that this command matches against. The range is
from 1 to 4094.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
match vlan
249

Advertisement

Table of Contents
loading

Table of Contents