Cisco Cisco SG500-52PP 52-port Gigabit Max PoE+ Stackable Managed Switch 技术参考
Virtual Local Area Network (VLAN) Commands
582
78-21491-01 Command Line Interface Reference Guide
34
Example
The following example defines gi1/1/5 as a member of customer VLAN 5.
switchxxxxxx(config)#
interface gi1/1/5
switchxxxxxx(config-if)#
switchport mode customer
switchxxxxxx(config-if)#
switchport customer vlan
5
34.20 map protocol protocols-group
Forwarding of packets based on their protocol requires setting up groups of
protocols and then mapping these groups to VLANs. Use the map protocol
protocols-group VLAN Configuration mode command to map a protocol to a
group of protocols. This protocol group can then be used in
protocols and then mapping these groups to VLANs. Use the map protocol
protocols-group VLAN Configuration mode command to map a protocol to a
group of protocols. This protocol group can then be used in
. Use the no form of this command to delete a protocol
from a group.
Syntax
map protocol
protocol
[
encapsulation-value
] protocols-group
group
no map protocol
protocol
[
encapsulation
]
Parameters
•
protocol—Specifies a 16-bit protocol number or one of the reserved names
listed in the User Guidelines. (range: 0x0600–0xFFFF)
listed in the User Guidelines. (range: 0x0600–0xFFFF)
•
encapsulation-value—Specifies one of the following values: Ethernet,
rfc1042, llcOther.
rfc1042, llcOther.
•
protocols-group
group
—Specifies the group number of the group of
protocols (range: 1–2147483647).
Default Configuration
The default encapsulation value is Ethernet.
Command Mode
VLAN Configuration mode