H3C S7500 Series Operation Manual page 185

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – QinQ
H3C S7500 Series Ethernet Switches
# Specify the outer VLAN tag of VLAN 100 to be inserted to packets, and specify the
upstream port of the tag to be GigabitEthernet 2/0/1 which does not remove the outer
VLAN tags of packets when transmitting these packets.
[SwitchA-GigabitEthernet2/0/1-vid-10]
GigabitEthernet 2/0/2
# Specify the inner VLAN tags. The packets with the specific inner VLAN tags are
tagged with the tag of VLAN 100 as the outer VLAN tag.
[SwitchA-GigabitEthernet2/0/1-vid-100] raw-vlan-id inbound
# Return to system view.
[SwitchA-GigabitEthernet2/0/1-vid-100] quit
[SwitchA-GigabitEthernet2/0/1] quit
[SwitchA]
# Enter GigabitEthernet 2/0/2 port view.
[SwitchA] interface GigabitEthernet 2/0/2
[SwitchA-GigabitEthernet2/0/2]
# Configure GigabitEthernet 2/0/1 port as a hybrid port, and then configure the port to
remove the outer VLAN tags for the packets with the tag of VLAN 10 as the outer VLAN
tags and keep the other outer VLAN tags when packets are forwarded on the port.
[SwitchA-GigabitEthernet2/0/1] port link-type hybrid
[SwitchA-GigabitEthernet2/0/1] port hybrid vlan 1 to 4094 tagged
[SwitchA-GigabitEthernet2/0/1] port hybrid vlan 10 untagged
Note:
With the configurations above, the packets received on GigabitEthernet 2/0/1 are
processed as follows:
Inserting VLAN 10 tag as the outer VLAN tag to single-tagged packets with their
tags being the tags of VLAN 8 through VLAN 15.
Inserting VLAN 100 tag as the outer VLAN tag to single-tagged packets with their
tags being the tags of VLAN 20 through VLAN 25.
Inserting VLAN 8 tag as the outer VLAN tag to single-tagged packets with their tags
being neither the tags of VLAN 8 through VLAN 15 nor the tags of VLAN 20 through
VLAN 25.
Chapter 2 Selective QinQ Configuration
vlan-vpn
2-4
vid
100
uplink
20 to 25

Advertisement

Table of Contents
loading

Table of Contents