Map Mac Macs-Group - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide
Parameters
vlan-id
—Specifies the customer VLAN.
Default Configuration
No VLAN is configured as customer.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
When a port is in customer mode it is in QinQ mode. This enables the user to use
their own VLAN arrangements (PVID) across a provider network. The switch is in
QinQ mode when it has one or more customer ports.
Example
The following example defines gi 1 4 as a member of customer VLAN 5.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#

56.21 map mac macs-group

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. Use the no
form of this command to delete the mapping.
Syntax
mac-address
map mac
mac-address
no map mac
Parameters
mac-address
—Specifies the MAC address to be mapped to the group of
MAC addresses.
prefix-mask
—Specifies the number of ones in the mask.
host—Specifies that the mask is comprised of all 1s.
interface gi14
switchport mode customer
switchport customer vlan
prefix-mask
{
| host} macs-group
prefix-mask |
{
host}
56
5
group
1070

Advertisement

Table of Contents
loading

Table of Contents