H3C S3100-52P Operation Manual page 128

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S3100-52P Ethernet Switch
VLAN Type: Protocol-based VLAN
Protocol Index
VLAN ID: 200
VLAN Type: Protocol-based VLAN
Protocol Index
# Configure Ethernet 1/0/10 as a hybrid port, which removes the VLAN tag of the
packets of VLAN 100 and VLAN 200 before forwarding the packets.
[Switch-vlan100] quit
[Switch] interface Ethernet 1/0/10
[Switch-Ethernet1/0/10] port link-type hybrid
[Switch-Ethernet1/0/10] port hybrid vlan 100 200 untagged
# Associate Ethernet 1/0/10 with protocol template 0 and 1 of VLAN 100, and protocol
template 0 of VLAN 200.
[Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 100 0 to 1
[Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 200 0
# Display the associations between Ethernet 1/0/10 and the VLAN protocol templates
to verify your configuration.
[Switch-Ethernet1/0/10] display protocol-vlan interface Ethernet 1/0/10
Interface:Ethernet1/0/10
VLAN ID
The above output information indicates that Ethernet 1/0/10 has already been
associated with the corresponding protocol templates of VLAN 100 and VLAN 200.
Thus, packets from the IP and AppleTalk workstations can be automatically assigned to
VLAN 100 and VLAN 200 respectively for transmission by matching the corresponding
protocol templates, so as to realize the normal communication between workstations
and servers.
0
1
0
Protocol-Index
100
0
100
1
200
0
Protocol Type
ip
ethernetii etype 0x0806
Protocol Type
at
Protocol-Type
ip
ethernetii etype 0x0806
at
2-13
Chapter 2 VLAN Configuration

Advertisement

Table of Contents
loading

Table of Contents