3Com Switch 7750 Configuration Guide
Configuring a Protocol-Based VLAN 101
■ ip [ ip-address [ net-mask ] ] defines IPv4-based VLAN. If you want to define
the VLANs based on IP or other encapsulation formats, use mode { ethernetii
[ etype etype-id ] } and snap [ etype etype-id ], in which, etype-id is 0x0800.
Associating a Port with
the Protocol-Based VLAN
Configuration prerequisites
■ The protocol template for the protocol-based VLAN is created
■ The port is configured as a hybrid port, and the port is configured to remove
VLAN tags when it forwards the packets of the protocol-based VLANs.
Configuration procedure
c
CAUTION:
■ For the same VLAN, it is not allowed to configure the same protocol type and
encapsulation format. Between different VLANs, the same protocol type and
encapsulation format can be configured, but cannot be distributed to the same
port. Even the user-defined template and standard template with the same
encapsulation format cannot be distributed to the same port.
■ If a protocol template has been configured in a VLAN, the VLAN cannot be
removed.
■ If a protocol of a VLAN has been distributed to a port, the VLAN cannot be
removed from the port.
■ If a protocol of a VLAN has been distributed to a port, the protocol cannot be
removed from the VLAN.
■ For a given type of packets, if the protocol VLAN bound to a port is different
from the protocol VLAN applied on the module that provides the port, the
board-associated protocol VLAN configuration supersedes the port-associated
protocol VLAN configuration.
Associating a Module
with the Protocol-Based
VLAN
c
CAUTION:
■ It is necessary to add those ports that require protocol on the module to the
protocol-based VLAN.
Table 53 Associate a port with the protocol-based VLAN
Operation Command Description
Enter system view system-view -
Enter port view interface interface-type
interface-number
-
Associate a port with the
protocol-based VLAN
port hybrid protocol-vlan
vlan vlan-id { protocol-index
[ to protocol-end ] | all }
Required
Table 54 Create/Remove protocol-based VLAN on specific card
Operation Command Description
Enter system view system-view -
Create protocol-based VLAN
on specific card
protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-end ] | all }{slot
slot-number | mainboard }
Required