EasyManuals Logo
Home>Cisco>Switch>300 Series

Cisco 300 Series User Manual

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
Page #1071 background imageLoading...
Page #1071 background image
Virtual Local Area Network (VLAN) Commands
1071 OL-32830-01 Command Line Interface Reference Guide
56
•
group
—Specifies the group number (range: 1–2147483647)
Default Configuration
N/A
Command Mode
VLAN Database Configuration mode
User Guidelines
Forwarding of packets based on their MAC address requires setting up groups of
MAC addresses and then mapping these groups to VLANs.
Up to 256 MAC addresses (host or range) can be mapped to one or many
MAC-based VLAN groups.
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
switchxxxxxx(config-if)#
switchport mode general
switchxxxxxx(config-if)#
switchport general map
macs-group
1
vlan
2
switchxxxxxx(config-if)#
switchport general map
macs-group
2
vlan
3
56.22 switchport general map macs-group
vlan
Use the switchport general map macs-group vlan Interface Configuration 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

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals