H3C S7500 Series Operation Manual page 115

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S7500 Series Ethernet Switches
# Associate the port with protocol-index 1.
[H3C-Ethernet2/0/5] port hybrid protocol-vlan vlan 5 1
II. User-defined-template-based protocol VLAN configuration example
1)
Network requirement
Create VLAN 7 and configure it as a protocol-based VLAN.
Create two indexes in VLAN 7. Index 1 is used to match the packets with DSAP
and SSAP value being 01 and ac respectively in 802.3 LLC encapsulation; Index 2
is used to match the packets with the type value being 0xabcd in 802.3 SNAP
encapsulation.
Associate Ethernet 2/0/7 port with the two indexes of the protocol-based VLAN 7
to enable IP packets matching one of the indexes received by this port to be
tagged with the tag of VLAN 7.
2)
Configuration procedure
# Create VLAN 7 and enter its view.
<H3C> system-view
[H3C] vlan 7
[H3C-vlan7]
# Configure index 1 of VLAN 7 according to the network requirement.
[H3C-vlan7] protocol-vlan 1 mode llc dsap 01 ssap ac
# Configure index 2 of VLAN 7 according to the network requirement.
[H3C-vlan7] protocol-vlan 2 mode snap etype abcd
# Enter port view of the Ethernet 2/0/7.
[H3C-vlan7] interface Ethernet 2/0/7
# Configure the port as a hybird port.
[H3C-Ethernet2/0/7] port link-type hybrid
# Add the port to VLAN 7, and add VLAN 7 to the list of untagged VLANs permitted to
pass through the port.
[H3C-Ethernet2/0/7] port hybrid vlan 7 untagged
# Associate the port with the two indexes of VLAN 7.
[H3C-Ethernet2/0/7] port hybrid protocol-vlan vlan 7 1 to 2
2-11
Chapter 2 VLAN Configuration

Advertisement

Table of Contents
loading

Table of Contents