EasyManuals Logo

H3C S3100 8C SI User Manual

H3C S3100 8C SI
944 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 #837 background imageLoading...
Page #837 background image
Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches Chapter 3
VLAN Mapping Configuration
3-6
# As Ethernet 1/0/11 of Switch A not only receives packets of the customer VLAN but
also forward packets from the service provider network, you need to configure the port
as a trunk port or hybrid port. In the following part, configure Ethernet 1/0/11 as a hybrid
port and configure the port to permit the packets of VLAN 100 and VLAN 500 to pass
through with VLAN tags.
[SwitchA] interface Ethernet 1/0/11
[SwitchA-Ethernet1/0/11] port link-type hybrid
[SwitchA-Ethernet1/0/11] port hybrid vlan 100 tagged
[SwitchA-Ethernet1/0/11] port hybrid vlan 500 tagged
[SwitchA-Ethernet1/0/11] quit
# Add Ethernet 1/0/12 to VLAN 200 and VLAN 600 in the same way.
[SwitchA] interface Ethernet 1/0/12
[SwitchA-Ethernet1/0/12] port link-type hybrid
[SwitchA-Ethernet1/0/12] port hybrid vlan 200 tagged
[SwitchA-Ethernet1/0/12] port hybrid vlan 600 tagged
[SwitchA-Ethernet1/0/12] quit
 Note:
z If you configure Ethernet 1/0/11 and Ethernet 1/0/12 as trunk ports, you also need to
add the two ports to the corresponding customer VLANs and service VLANs.
z In the above example, VLAN 1 is the default VLAN and permitted to pass through all
the ports by default. If you have changed default VLAN of a port, you need to
configure the port to permit the default VLAN to pass through.
# Configure Ethernet 1/0/10 of Switch A as a trunk port capable of transmitting packets
of VLAN 500 and VLAN 600.
[SwitchA] interface Ethernet 1/0/10
[SwitchA-Ethernet1/0/10] port link-type trunk
[SwitchA-Ethernet1/0/10] port trunk permit vlan 500 600
[SwitchA-Ethernet1/0/10] quit
# Define a VLAN mapping rule on Ethernet 1/0/11 that maps VLAN 100 to VLAN 500
and enable the VLAN mapping function on Ethernet 1/0/11.
[SwitchA] interface Ethernet 1/0/11
[SwitchA-Ethernet1/0/11] vlan-mapping vlan 100 remark 500
[SwitchA-Ethernet1/0/11] quit
# Define a VLAN mapping rule on Ethernet 1/0/12 that maps VLAN 200 to VLAN 600
and enable the VLAN mapping function on Ethernet 1/0/12.
[SwitchA] interface Ethernet 1/0/12

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 8C SI and is the answer not in the manual?

H3C S3100 8C SI Specifications

General IconGeneral
BrandH3C
ModelS3100 8C SI
CategorySwitch
LanguageEnglish

Related product manuals