Switch User Manual

VLAN Commands 349
switchport general map protocols-group vlan
The
switchport general map
protocols-group vlan
Interface Configuration mode 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.
ip internal-usage-vlan
The
ip internal-usage-vlan
Interface Configuration mode command reserves a VLAN as the
internal usage VLAN of an interface. Use the
no
form of this command to reset to default.
Syntax
ip internal-usage-vlan
vlan-id
no ip internal-usage-vlan
vlan-id—
VLAN ID of the internal usage VLAN.(Range: Valid VLAN)
Default Configuration
This command has no default configuration.
Console (config)# interface ethernet g8
Console (config-if)# switchport general map protocols-group 1 vlan
8