background image

Operation Manual – QinQ 
H3C S9500 Series Routing Switches 

Chapter 1  QinQ Configuration

 

1-5 

Operation 

Command 

Remarks 

Deliver a 
Layer 3 
traffic 
classification 
rule 

traffic-redirect

 

inbound

 

ip-group 

acl-number

 | 

acl-name

 } [ 

rule rule 

system-index

 

index

 ] ] 

nested-vlan

 

nested-vlanid

 

interface interface-type 

interface-number destination-vlan

 

l2-vpn 

] | 

link-aggregation group

 

groupid destination-vlan | 
smart-link group

 

groupid 

destination-vlan 

Deliver both 
Layer 2 and 
Layer 3 
traffic 
classification 
rules 

traffic-redirect

 

inbound

 

ip-group 

acl-number

 | 

acl-name

 } [ 

rule 

rule 

]

 link-group 

acl-number

 | 

acl-name

 } [ 

rule rule 

nested-vlan

 

nested-vlanid 

interface 

interface-type interface-number 
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-name

 } 

rule rule nested-vlan

 

nested-vlanid

 [ 

interface 

interface-type interface-number 
destination-vlan

 [ 

l2-vpn 

] | 

link-aggregation group

 

groupid 

destination-vlan | smart-link group

 

groupid destination-vlan 

Set outer 
VLAN 
tags for 
the 
packets 
matching 
the ACL 
rules 

Deliver a 
Layer 2 
traffic 
classification 
rule 

traffic-redirect

 

inbound

 

link-group 

acl-number

 | 

acl-name

 } [ 

rule rule 

system-index

 

index

 ]

 

nested-vlan

 

nested-vlanid

 

interface interface-type 

interface-number 

}

 destination-vlan

 

l2-vpn 

] | 

link-aggregation group

 

groupid destination-vlan | 
smart-link group

 

groupid 

destination-vlan 

Make sure the 
Nested-VLAN 
already exists to 
prevent 
otherwise the 
packets from 
being discarded.

Содержание 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...

Отзывы: