hit counter script

Map Mac Macs-Group - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide
Example
The following example defines gi5 as a member of customer VLAN 5.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#

32.20 map mac macs-group

Forwarding of packets based on their MAC address requires setting up groups of
MAC addresses and then mapping these groups to VLANs.
Use the map mac macs-group VLAN Configuration mode command to map a MAC
address or range of MAC addresses to a group of MAC addresses, which is then
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-address
mac
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
interface gi5
switchport mode customer
switchport customer vlan
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)
5
vlan. Use the no form of this
32
509

Advertisement

Table of Contents
loading

Table of Contents

Save PDF