Configuring a protocol-based vlan, Configuration task list, Configuration prerequisites – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 86: Configuration procedure

Advertising
background image

11-5

# Configure GigabitEthernet 1/0/10 of Switch B.

[SwitchB] interface GigabitEthernet 1/0/10

[SwitchB-GigabitEthernet1/0/10] port link-type trunk

[SwitchB-GigabitEthernet1/0/10] port trunk permit vlan 101

[SwitchB-GigabitEthernet1/0/10] port trunk permit vlan 201

For the command of configuring a port link type (port link-type) and the command of allowing packets
of certain VLANs to pass through a port (port trunk permit), refer to the section of configuring Ethernet
ports in Port Basic Configuration in H3C WX3000 Series Unified Switches Switching Engine

Configuration Guide

.

Configuring a Protocol-Based VLAN

Configuration Task List

Complete the following tasks to configure protocol-based VLAN:

Task

Remarks

Configuring a Protocol Template for a Protocol-Based VLAN

Required

Associating a Port with a Protocol-Based VLAN

Required

Displaying and Maintaining Protocol-Based VLAN

Optional

Configuring a Protocol Template for a Protocol-Based VLAN

Configuration prerequisites

Create a VLAN before configuring the VLAN as a protocol-based VLAN.

Configuration procedure

Follow these steps to configure the protocol template for a VLAN:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter VLAN view

vlan

vlan-id

Configure the protocol template for
the VLAN

protocol-vlan

[ protocol-index ]

{ at | ip | ipx { ethernetii | llc | raw |
snap

} | mode { ethernetii etype

etype-id

| llc dsap dsap-id ssap

ssap-id

| snap etype etype-id } }

Required
By default, no protocol template is
configured for the VLAN.

When configuring a protocol template for a protocol-based VLAN, use the at, ip or ipx keyword to
configure a standard template to match AppleTalk, IP, and IPX packets respectively, and use the mode
keyword to configure a user-defined template.

Advertising