EasyManuals Logo

H3C S5120-EI Series Command Reference

H3C S5120-EI Series
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #175 background imageLoading...
Page #175 background image
163
• Create a VLAN and associate it with specified protocols.
• Configure the link type as hybrid.
• Configure the port to allow the protocol-based VLAN to pass through.
Related commands: display protocol-vlan interface.
Examples
# Associate the hybrid port GigabitEthernet 1/0/1 with protocol 0 (AppleTalk) in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type hybrid
[Sysname-GigabitEthernet1/0/1] port hybrid vlan 2 untagged
Please wait... Done
[Sysname-GigabitEthernet1/0/1] port hybrid protocol-vlan vlan 2 0
# Associate the hybrid Layer 2 aggregate interface Bridge-aggregation 1 with protocol 0 in VLAN 2,
assuming that Bridge-aggregation 1 does not have member ports.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done
[Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 0
# Associate the hybrid Layer 2 aggregate interface Bridge-aggregation 1 with protocol 0 in VLAN 2.
Among the member ports of the aggregation group corresponding to Bridge-aggregation 1,
GigabitEthernet 1/0/2 is an access port and GigabitEthernet 1/0/3 is a trunk port.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type access
Please wait... Done.
Configuring GigabitEthernet1/0/2... Done.
Configuring GigabitEthernet1/0/3........................................... Done.
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done.
Configuring GigabitEthernet1/0/2... Done.
Configuring GigabitEthernet1/0/3... Done.
[Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 0

Table of Contents

Other manuals for H3C S5120-EI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-EI Series and is the answer not in the manual?

H3C S5120-EI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-EI Series
CategorySwitch
LanguageEnglish

Related product manuals