H3C S7500E Series Operation Manual page 147

S7500e series
Hide thumbs Also See for H3C S7500E Series:
Table of Contents

Advertisement

Operation Manual – QinQ-BPDU Tunneling
H3C S7500E Series Ethernet Switches
# Configure the port as a hybrid port permitting frames of VLAN 1000, VLAN 2000, and
VLAN 3000 to pass through with the outer VLAN tag removed.
[ProviderA] interface ethernet 2/0/1
[ProviderA-Ethernet2/0/1] port link-type hybrid
[ProviderA-Ethernet2/0/1] port hybrid vlan 1000 2000 3000 untagged
# Configure VLAN 3000 as the default VLAN of Ethernet 2/0/1, and enable basic QinQ
on Ethernet 2/0/1. As a result, the frames received on the port are tagged with the outer
VLAN tag 3000.
[ProviderA-Ethernet2/0/1] port hybrid pvid vlan 3000
[ProviderA-Ethernet2/0/1] qinq enable
[ProviderA-Ethernet2/0/1] quit
# Create a class A10 to match frames of VLAN 10 of Customer A.
[ProviderA] traffic classifier A10
[ProviderA-classifier-A10] if-match customer-vlan-id 10
[ProviderA-classifier-A10] quit
# Create a traffic behavior P1000 and configure the action of tagging frames with the
outer VLAN tag 1000 for the traffic behavior.
[ProviderA] traffic behavior P1000
[ProviderA-behavior-P1000] nest top-most vlan-id 1000
[ProviderA-behavior-P1000] quit
# Create a class A20 to match frames of VLAN 20 of Customer A.
[ProviderA] traffic classifier A20
[ProviderA-classifier-A20] if-match customer-vlan-id 20
[ProviderA-classifier-A20] quit
# Create a traffic behavior P2000 and configure the action of tagging frames with the
outer VLAN tag 2000 for the traffic behavior.
[ProviderA] traffic behavior P2000
[ProviderA-behavior-P2000] nest top-most vlan-id 2000
[ProviderA-behavior-P2000] quit
# Create a QoS policy qinq. Associate the class A10 with the traffic behavior P1000,
and associate the class A20 with the traffic behavior P2000 in the QoS policy qinq.
[ProviderA] qos policy qinq
[ProviderA-qospolicy-qinq] classifier A10 behavior P1000
[ProviderA-qospolicy-qinq] classifier A20 behavior P2000
[ProviderA-qospolicy-qinq] quit
# Apply the QoS policy qinq in the inbound direction of Ethernet 2/0/1.
[ProviderA] interface Ethernet 2/0/1
[ProviderA-Ethernet2/0/1] qos apply
Configuration on Ethernet 2/0/2
policy qinq inbound
1-8
Chapter 1 QinQ Configuration

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7502eS7503eS7506eS7510eS7506e-v

Table of Contents