H3C S3100 Series Operation Manual page 865

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

This example describes how to configure one-to-one VLAN mapping for two users: map the three traffic
streams from user A to VLAN 1001, VLAN 1002, and VLAN 1003, and map the three traffic streams
from user B to VLAN 2001, VLAN 2002, and VLAN 2003.
Figure 1-5 Network diagram for one-to-one VLAN mapping configuration
Configuration Procedure
# Create VLAN 1 (which exists by default), VLAN 2, and VLAN 3 on Switch A, and the target VLANs
(VLANs 1001 through 1003 and VLANs 2001 through 2003).
<SwitchA> system-view
[SwitchA] vlan 2 to 3
[SwitchA] vlan 1001 to 1003
[SwitchA] vlan 2001 to 2003
# Because port Ethernet 1/0/1 of Switch A needs to receive the packets from original VLANs from a user
and forward the traffic from the target VLANs from the distribution switch, Ethernet 1/0/1 should be a
trunk or hybrid port. Configure Ethernet 1/0/1 as a hybrid port for example, assign Ethernet 1/0/1 to
VLANs 1 through 3 and VLANs 1001 through 1003, and configure Ethernet 1/0/1 to send packets of
these VLANs with tags kept.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type hybrid
[SwitchA-Ethernet1/0/1] port hybrid vlan 1 to 3 tagged
[SwitchA-Ethernet1/0/1] port hybrid vlan 1001 to 1003 tagged
[SwitchA-Ethernet1/0/1] quit
# Configure port Ethernet 1/0/2 in the same way.
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type hybrid
[SwitchA-Ethernet1/0/2] port hybrid vlan 1 to 3 tagged
[SwitchA-Ethernet1/0/2] port hybrid vlan 1001 to 1003 tagged
[SwitchA-Ethernet1/0/2] quit
1-7

Advertisement

Chapters

Table of Contents
loading

Table of Contents