58CHAPTER 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.

Table 54 Creating and Deleting a VLAN Protocol Type

Operation

Command

 

 

Create a VLAN protocol type

protocol-vlan [ protocol-index ]

 

{ ip [ ip_address [ net_mask ] ]

 

{ ethernetii llc raw snap }

 

at mode { ethernetii llc snap }

 

}

Delete an existing VLAN protocol type

undo protocol vlan protocol {

 

protocol_index [ to protocol_end ]

 

all }

 

 

Creating and Deleting the Association Between a Port and a

Protocol-Based VLAN

Perform the following configuration in Ethernet port view.

Table 55 Creating and Deleting the Association Between a Port and a Protocol-Based

VLAN

Operation

Command

 

 

Create the association between a port and a

port hybrid protocol-vlan

protocol-based VLAN

vlan-protocol_list

Delete the association between a port and a

undo port hybrid protocol-vlan

protocol-based VLAN

vlan-protocol_list

 

 

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 16 VLAN Configuration Example

Switch

E1/0/1 E1/0/2

E1/0/3 E1/0/4

VLAN2

VLAN3

1Create VLAN 2 and enter its view.

[SW7750]vlan 2

2Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN2.

Page 58
Image 58
3Com 10014298 manual Creating and Deleting a Vlan Protocol Type, Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN2