Configuring a protocol-based vlan, Protocol-based vlan configuration task list, Configuration prerequisites – H3C Technologies H3C S3600 Series Switches User Manual
Page 117: Configuration procedure
2-7
[SwitchB] vlan 200
[SwitchB-vlan200] description Dept2
[SwotchB-vlan200] port Ethernet1/0/11 Ethernet 1/0/12
[SwitchB-vlan200] quit
z
Configure the link between Switch A and Switch B.
Because the link between Switch A and Switch B needs to transmit data of both VLAN 100 and VLAN
200, you can configure the ports at both ends of the link as trunk ports and permit packets of the two
VLANs to pass through the two ports.
# Configure Ethernet 1/0/2 of Switch A.
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan 100
[SwitchA-Ethernet1/0/2] port trunk permit vlan 200
# Configure Ethernet 1/0/10 of Switch B.
[SwitchB] interface Ethernet 1/0/10
[SwitchB-Ethernet1/0/10] port link-type trunk
[SwitchB-Ethernet1/0/10] port trunk permit vlan 100
[SwitchB-Ethernet1/0/10] port trunk permit vlan 200
Configuring a Protocol-Based VLAN
Protocol-Based VLAN Configuration Task List
Complete these 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 Protocol-Based VLAN Configuration
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
—