H3C S7500 Series Operation Manual page 184

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – QinQ
H3C S7500 Series Ethernet Switches
Specify GigabitEthernet 2/0/2 as the uplink port for packets encapsulated with
outer VLAN tags. It is required that: the tag of VLAN 10 be removed from the
packets to be forwarded when it is used as the outer VLAN tag; while the other
outer VLAN tags be kept.
II. Network diagram
VLAN 10
Selective Q
VLAN
Figure 2-1 Network diagram for selective QinQ configuration
III. Configuration procedure
# Enter system view.
<SwitchA> system-view
[SwitchA]
# Enter GigabitEthernet 2/0/1 port view.
[SwitchA] interface GigabitEthernet 2/0/1
# Configure the port to be a hybrid port.
[SwitchA-GigabitEthernet2/0/1] port link-type hybrid
# Configure the port to permit the packets of all the VLANs.
[SwitchA-GigabitEthernet2/0/1] port hybrid vlan 1 to 4094 tagged
# Set the PVID of the port to 8.
[SwitchA-GigabitEthernet2/0/1] port hybrid pvid vlan 8
# Enable QinQ.
[SwitchA-GigabitEthernet2/0/1] vlan-vpn enable
# Specify the outer VLAN tag to be inserted to packets of VLAN 10, and specify the
upstream port of the tag to be GigabitEthernet 2/0/2 which removes the outer VLAN
tags of packets when transmitting these packets..
[SwitchA-GigabitEthernet2/0/1] vlan-vpn vid 10 uplink GigabitEthernet 2/0/2
untagged
# Specify the inner VLAN tags. The packets with the specific inner VLAN tags are
tagged with the tag of VLAN 10 as the outer VLAN tag.
[SwitchA-GigabitEthernet2/0/1-vid-10] raw-vlan-id inbound
VLAN 100
GE 2/0 /2
inQ
GE 2/0 /1
8~15
VLAN 20~25
Chapter 2 Selective QinQ Configuration
2-3
8 to 15

Advertisement

Table of Contents
loading

Table of Contents