background image

Operation Manual – QinQ 
H3C S9500 Series Routing Switches 

Chapter 1  QinQ Configuration

 

1-11 

# Configure the uplink port GigabitEthernet 4/1/1 to a trunk port and allow the packets 

of VLAN 1000 and VLAN 600 to pass the uplink port.  

[H3C] interface GigabitEthernet4/1/1 

[H3C-GigabitEthernet4/1/1] port link-type trunk 

[H3C-GigabitEthernet4/1/1] port trunk permit vlan 600 1000 

1.7.2  TPID Value Configuration Example 

I. Network requirements 

z

 

Switch A and Switch C are S9500 series switches. Switch B is a switch produced 

by other vendor. It uses TPID value of 0x9100. 

z

 

Two networks are connected to the GigabitEthernet 2/1/1 ports of Switch A and 

Switch C respectively. 

z

 

Switch B only permits packets of VLAN 10. 

z

 

It is required that packets of VLANs other than VLAN 10 can be exchanged 

between the networks connected to Switch A and Switch C. 

II. Network diagram 

Switch A

Switch B

Switch C

GE2/1/1

Access

VLAN-VPN port

GE2/1/2

Trunk

 VLAN-VPN Uplink port

GE2/1/2

Trunk

 VLAN-VPN Uplink port

GE3/1/2

Trunk port and TPID is 0X9100

GE3/1/1 

Trunk port and TPID is 0X9100

GE2/1/1

Access

VLAN-VPN port

 

Figure 1-5 

Network diagram for adjusting TPID values 

III. Configuration Procedure 

1) 

Configure Switch A and Switch C. As the configuration performed on Switch A and 

Switch C is the same, configuration on Switch C is omitted. 

# Set the TPID value of the VLAN-VPN uplink port to 0x9100. 

<SwitchA>system-view 

System View: return to User View with Ctrl+Z. 

[SwitchA]vlan-vpn tpid 9100  

[SwitchA]vlan 10 

[SwitchA-vlan10]quit 

Содержание S9500 Series

Страница 1: ...n Based Nested VLAN 1 4 1 3 1 Configuration Prerequisites 1 4 1 3 2 Configuration Procedure 1 4 1 4 Configuring the TPID to Be Used in the Outer Tag 1 6 1 4 1 Configuration Prerequisites 1 6 1 4 2 Con...

Страница 2: ...ate networks nested in those of public networks In public networks packets of this type are transmitted by their outer VLAN tags that is the VLAN tags of public networks And those of private networks...

Страница 3: ...ssification based nested VLANs Traffic classification based nested VLANs is also called flexible QinQ It is a kind of QinQ implemented in a more flexible way You can specify to perform the following o...

Страница 4: ...1 2 Configuring VLAN VPN on a Port 1 2 1 Configuration Prerequisites z GARP VLAN registration protocol GVRP spanning tree protocol STP and 802 1x protocol are disabled on the port z IGMP Snooping is...

Страница 5: ...ace of the VLAN z If you have enabled VLAN VPN for the ports in the VLAN the VLAN cannot be removed z After you enable the QinQ function the configured ACL may fail to function 1 3 Configuring Traffic...

Страница 6: ...destination vlan l2 vpn link aggregation group groupid destination vlan smart link group groupid destination vlan or traffic redirect inbound ip group acl number acl name link group acl number acl nam...

Страница 7: ...k group acl number acl name rule rule modified vlan modified vlanid Modify outer VLAN tags for the packets matching the ACL flow rules Deliver a Layer 2 traffic classification rule traffic redirect in...

Страница 8: ...vpn uplink enable By default a port is not a VLAN VPN uplink port Display VLAN VPN configuration information about all ports in the system display port vlan vpn Information about the current TPID val...

Страница 9: ...he MAC address is converted back to the original destination MAC address at the other end In this way the packet is transmitted transparently over the service provider network Figure 1 3 VLAN VPN tunn...

Страница 10: ...ess vlan vlan id number number Available in any view 1 7 QinQ Configuration Examples 1 7 1 Traffic Classification Based Nested VLAN Configuration Example I Network requirements z As shown in Figure 1...

Страница 11: ...nterface GigabitEthernet4 1 2 H3C GigabitEthernet4 1 2 port link type hybrid H3C GigabitEthernet4 1 2 port hybrid vlan 600 tagged H3C GigabitEthernet4 1 2 port hybrid vlan 1000 untagged H3C GigabitEth...

Страница 12: ...respectively z Switch B only permits packets of VLAN 10 z It is required that packets of VLANs other than VLAN 10 can be exchanged between the networks connected to Switch A and Switch C II Network di...

Страница 13: ...VLAN 10 Note The following describes how a packet is forwarded from Switch A to Switch C z As the GigabitEthernet 2 1 1 port of Switch A is a VLAN VPN port when a packet reaches GigabitEthernet 2 1 1...

Страница 14: ...h C and D in the network diagram serve as devices used to access the customer network z Interconnect switch C and switch D through trunk ports Enable VLAN VPN tunneling to transmit packets transparent...

Страница 15: ...N VPN on Ethernet 4 1 1 H3C interface Ethernet4 1 1 H3C Ethernet4 1 1 stp disable H3C Ethernet4 1 1 vlan vpn enable H3C Ethernet4 1 1 quit Set Ethernet 4 1 3 to a trunk port and add this port to all t...

Страница 16: ...z STP must be enabled on VLAN VPN tunneling enabled devices otherwise BPDUs in the customer network cannot be transmitted transparently z VLAN VPN enabled ports must be configured to Access ports The...

Отзывы: