EasyManua.ls Logo

Cisco 300 Series

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide 1072
56
no switchport general map macs-group
group
Parameters
group
—Specifies the group number (range: 1–2147483647)
vlan-id
—Defines the VLAN ID associated with the rule.
Default Configuration
N/A
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
MAC-based VLAN rules cannot contain overlapping ranges on the same interface.
The VLAN classification rule priorities are:
MAC-based VLAN (best match among the rules)
Subnet-based VLAN (best match among the rules)
Protocol-based VLAN
PVID
User Guidelines
After groups of MAC addresses have been created (see the map mac macs-group
command), they can be mapped to specific VLANs.
Each MAC address (host or range) in the MAC-based group assigned to an
interface consumes a single TCAM entry.
Example
The following example creates two groups of MAC addresses, sets a port to
general mode and maps the groups of MAC addresses to specific VLANs.
switchxxxxxx(config)#
vlan database
switchxxxxxx(config-vlan)#
map mac
0000.1111.0000 32
macs-group
1
switchxxxxxx(config-vlan)#
map mac
0000.0000.2222 host
macs-group
2
switchxxxxxx(config-vlan)#
exit
switchxxxxxx(config)#
interface
gi14

Table of Contents

Other manuals for Cisco 300 Series

Related product manuals