Technical data
50 CHAPTER 3: VLAN CONFIGURATION
Creating and Deleting a VLAN Protocol Type
You can use the following command to create or delete a VLAN protocol type.
Perform the following configuration in VLAN view.
Creating and Deleting the Association Between a Port and a
Protocol-Based VLAN
Perform the following configuration in Ethernet port view.
Note that the port must be a hybrid port and it must belong to that
protocol-based VLAN.
Example: VLAN
Configuration
Create VLAN2 and VLAN3. Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN2. Add
Ethernet1/0/3 and Ethernet1/0/4 to VLAN3.
Figure 2 VLAN Configuration Example
1 Create VLAN 2 and enter its view.
[SW7700] vlan 2
2 Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN2.
[SW7700-vlan2] port ethernet1/0/1 to ethernet1/0/2
3 Create VLAN 3 and enters its view.
Tab le 9 Creating and Deleting a VLAN Protocol Type
Operation Command
Create a VLAN protocol type protocol-vlan [ protocol-index ] { ip [
ip_address [ net_mask ] ] | ipx { ethernetii I
llc I raw I snap } | at | mode { ethernetii I llc
I snap } }
Delete an existing VLAN protocol type undo protocol vlan protocol {
protocol_index [ to protocol_end ] | all }
Tab le 10 Creating and Deleting the Association Between a Port and a Protocol-Based
VLAN
Operation Command
Create the association between a port and a
protocol-based VLAN
port hybrid protocol-vlan vlan-protocol_list
Delete the association between a port and a
protocol-based VLAN
undo port hybrid protocol-vlan
vlan-protocol_list
Switch
VLAN2
VLAN3
E1/0/1
E1/0/2
E1/0/3 E1/0/4