3com 8807 User Guide

Page of 883
Configuring Protocol-Based VLAN
57
Configuring Port-Based 
VLAN
You can use the following commands to specify Ethernet ports for a VLAN.
Perform the following configuration in VLAN view.
By default, the system adds all the ports to a default VLAN whose ID is 1.
Note that you can add/remove the trunk and Hybrid ports to/from a VLAN by the 
port/undo port commands in Ethernet port view, but not in VLAN view.
Configuring 
Protocol-Based VLAN
The following sections describe the protocol-based VLAN configuration tasks:
Creating/Deleting a 
VLAN Protocol Type
You can use the following commands to create/delete a VLAN protocol type.
Perform the following configuration in VLAN view.
Associating/Dissociating 
a Port with/from a 
Protocol-Based VLAN
Perform the following configuration in Ethernet port view.
The port to be associated with a protocol-based VLAN must be of Hybrid type 
and in this VLAN.
The same protocol can be configured in the different VLANs, but cannot be 
configured repeatedly in the same VLAN.
A port cannot be associated with different VLANs with the same protocols 
configured.
Table 38   Specify Ethernet ports for a VLAN
Operation 
Command 
Add Ethernet ports to a VLAN 
port interface-list 
Remove Ethernet ports from a VLAN 
undo port interface-list
Table 39   Create/Delete a VLAN protocol type
Operation 
Command 
Create a VLAN protocol type 
protocol-vlan [ protocol-index ] { at | ipx { 
ethernetii | llc | raw | snap } | mode { 
ethernetii etype etype-id | llc dsap dsap-id 
ssap ssap-id | snap etype etype-id } } 
Delete an existing VLAN protocol type 
undo protocol-vlan { protocol-index [ to 
protocol-end ] | all }
Table 40   Associate/Dissociate a port with/from a protocol-based VLAN
Operation 
Command 
Associate a port with a protocol-based VLAN 
port hybrid protocol-vlan vlan vlan-id { 
vlan-protocol-list | all } 
Remove a port from a protocol-based VLAN 
undo port hybrid protocol-vlan vlan { 
vlan-id { vlan-protocol-list | all } | all }