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 #830 background imageLoading...
Page #830 background image
Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches Chapter 2
Selective QinQ Configuration
2-6
# Configure Ethernet 1/0/3 as a hybrid port and configure VLAN 5 as its default VLAN.
Configure Ethernet 1/0/3 to remove VLAN tags when forwarding packets of VLAN 5,
VLAN 1000, and VLAN 1200.
[SwitchA] interface Ethernet 1/0/3
[SwitchA-Ethernet1/0/3] port link-type hybrid
[SwitchA-Ethernet1/0/3] port hybrid pvid vlan 5
[SwitchA-Etherent1/0/3] port hybrid vlan 5 1000 1200 untagged
# Configure global tag mapping rules for selective QinQ to insert VLAN 1000 tag as the
outer VLAN tag in packets with the tags of VLAN 100 through VLAN 108 as the inner
tags, and insert VLAN 1200 tag as the outer VLAN tag in packets with the tags of VLAN
200 through VLAN 230 as the inner tags.
[SwitchA-Ethernet1/0/3] quit
[SwitchA] vlan-vpn vid 1000
[SwitchA-vid-1000] raw-vlan-id inbound 100 to 108
[SwitchA-vid-1000] quit
[SwitchA] vlan-vpn vid 1200
[SwitchA-vid-1200] raw-vlan-id inbound 200 to 230
# Enable the selective QinQ feature on Ethernet 1/0/3.
[SwitchA-vid-1200] quit
[SwitchA] interface Ethernet 1/0/3
[SwitchA-Ethernet1/0/3] vlan-vpn selective enable
After the above configuration, packets of VLAN 100 through VLAN 108 (that is, packets
of PC users) are tagged with the tag of VLAN 1000 as the outer VLAN tag when they
are forwarded to the public network by Switch A; and packets of VLAN 200 through
VLAN 230 (that is, packets of IP phone users) are tagged with the tag of VLAN 1200 as
the outer VLAN tag when they are forwarded to the public network.
z Configure Switch B.
# Create VLAN 1000, VLAN 1200, VLAN 12 (the default VLAN of Ethernet1/0/12) and
VLAN 13 (the default VLAN of Ethernet1/0/13) on Switch B.
<SwitchB> system-view
[SwitchB] vlan 1000
[SwitchB-vlan1000] quit
[SwitchB] vlan 1200
[SwitchB-vlan1200] quit
[SwitchB] vlan 12 to 13
# Configure Ethernet 1/0/11 as a hybrid port, and configure Ethernet 1/0/11 not to
remove VLAN tags when forwarding packets of VLAN 12, VLAN 13, VLAN 1000, and
VLAN 1200.
<SwitchB> system-view
[SwitchB] interface Ethernet 1/0/11

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