Cisco Small Business 300 1.1 Series Administration Manual page 422

Managed switch
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
used in
switchport general map macs-group
command to delete the mapping.
This command can only be used when the device is in Layer 2 mode.
Syntax
mac-address
map mac
mac-address
no map mac
Parameters
mac
mac-address
of MAC addresses.
prefix-mask—Specifies the number of ones in the mask.
host—Specifies that the mask is comprised of all 1s.
group
macs-group
Default Configuration
N/A
Command Mode
VLAN Configuration mode
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
console(config-vlan)# map mac 0000.0000.2222 host macs-group 2
console(config-vlan)# exit
console(config)# interface gi11
console(config-if)# switchport mode general
console(config-if)# switchport general map macs-group 1 vlan 2
console(config-if)# switchport general map macs-group 2 vlan 3
prefix-mask | host} macs-group group
{
prefix-mask | host}
{
—Specifies the MAC address to be mapped to the group
—Specifies the group number (range: 1–2147483647)
vlan. Use the no form of this
30
423

Advertisement

Table of Contents
loading

Table of Contents