![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 423](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294423.webp)
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
424
30
30.21 switchport general map macs-group vlan
After groups of MAC addresses have been created (see
they can be mapped to specific VLANs.
Use the switchport general map macs-group vlan Interface Configuration
(Ethernet, Port-channel) mode command to set a MAC-based classification rule.
Use the no form of this command to delete a classification rule.
Syntax
switchport general map macs-group
group
vlan
vlan-id
no switchport general map macs-group
group
Parameters
•
macs-group
group
—Specifies the group number (range: 1–2147483647)
•
vlan
vlan-id
—Defines the VLAN ID associated with the rule.
Default Configuration
N/A
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
MAC-based VLAN rules cannot contain overlapping ranges on the same interface.
The VLAN classification rule priorities are:
1.
MAC-based VLAN (Best match among the rules).
2.
Subnet-based VLAN (Best match among the rules).
3.
Protocol-based VLAN.
4.
PVID.
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.
Console(config)#
vlan database
console(config-vlan)#
map mac
0000.1111.0000 32
macs-group
1
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...