
2-7
# Configure GigabitEthernet1/0/3 of Switch A.
[SwitchA] interface GigabitEthernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port link-type trunk
[SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 101
[SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 201
# Configure GigabitEthernet1/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
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
—
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.
Summary of Contents for H3C S5100-SI
Page 129: ...1 10...
Page 522: ...ii...
Page 701: ...3 2...
Page 797: ...1 20 0 00 packet loss round trip min avg max 50 60 70 ms...
Page 827: ...i Table of Contents 1 Acronyms 1 1...