Example
The following example maps protocol ip-arp to the group named "213".
Console (config)# vlan database
Console (config-vlan)# map protocol ip-arp protocols-group 213
5.27.17 switchport general map protocols-group vlan
The switchport general map protocols-group vlan interface configuration command sets a
protocol-based classification rule. To delete a classification, use the no form of this command.
Syntax
switchport general map protocols-group group vlan vlan-id
no switchport general map protocols-group group
group — Group number as defined in the map protocol protocols-group command. (Range: 1 -
2147483647)
vlan-id — Define the VLAN ID in the classifying rule.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example sets a protocol-based classification rule of protocol group 1 to VLAN 8.
Console (config)# interface ethernet e8
Console (config-if)# switchport general map protocols-group 1 vlan 8