hit counter script

Show Vlan Macs-Groups - 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
User Guidelines
MAC-based VLAN rules cannot contain overlapping ranges on the same interface.
The VLAN classification rule priorities are:
1. MAC-based VLAN (Best match among the rules).
1.
Subnet-based VLAN (Best match among the rules).
2.
Protocol-based VLAN.
3.
PVID.
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)# 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 gi11
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

32.22 show vlan macs-groups

Use the show vlan macs-groups EXEC mode command to display the MAC
addresses that belong to the defined MACs-groups.
Syntax
show vlan macs-groups
Parameters
N/A
Default Configuration
N/A
vlan database
32
511

Advertisement

Table of Contents
loading

Table of Contents

Save PDF