Dil ID: 8
Dil Adı: italy
Dil Kodu: it5tayfun Prodotti del Marchio H3c-technologies
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



2-12
[Switch] vlan 100
[Switch-vlan100] protocol-vlan ip
# To ensure the normal operation of IP network, you need to configure a user-defined protocol template
for VLAN 100 to match the ARP protocol (assume Ethernet II encapsulation is adopted here).
[Switch-vlan100] protocol-vlan mode ethernetii etype 0806
# Display the created protocol-based VLANs and the protocol templates.
[Switch-vlan100] display protocol-vlan vlan all
VLAN ID: 100
VLAN Type: Protocol-based VLAN
Protocol Index Protocol Type
0 ip
1 ethernetii etype 0x0806
VLAN ID: 200
VLAN Type: Protocol-based VLAN
Protocol Index Protocol Type
0 at
# 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 Protocol-Index Protocol-Type
100 0 ip
100 1 ethernetii etype 0x0806
200 0 at
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.