hit counter script

Switchport General Map Macs-Group Vlan - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
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)#
switchxxxxxx(config-vlan)#
switchxxxxxx(config-vlan)#
switchxxxxxx(config-vlan)#
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
67.24 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
no switchport general map macs-group
Parameters
group
—Specifies the group number (range: 1–2147483647)
vlan-id
—Defines the VLAN ID associated with the rule.
vlan database
map mac 0000.1111.0000 32 macs-group 1
map mac 0000.0000.2222 host macs-group 2
exit
interface gi14
switchport mode general
switchport general map macs-group 1 vlan 2
switchport general map macs-group 2 vlan 3
group
vlan
group
vlan-id
67
1278

Advertisement

Table of Contents
loading

Table of Contents