HP A3100-8 v2 SI Configuration Manual page 156

A3100 v2 switch series layer 2 - lan switching
Hide thumbs Also See for A3100-8 v2 SI:
Table of Contents

Advertisement

# 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 to the incoming traffic of all ports, and enable selective QinQ on Ethernet
1/0/1.
[ProviderA] qos apply policy qinq global inbound
[ProviderA] interface ethernet 1/0/1
[ProviderA-Ethernet1/0/1] qinq enable downlink
Configure Ethernet 1/0/2.
# Configure VLAN 1000 as the PVID.
[ProviderA] interface ethernet 1/0/2
[ProviderA-Ethernet1/0/2] port access vlan 1000
# Enable basic QinQ. Tag frames from VLAN 10 with the outer VLAN tag 1000.
[ProviderA-Ethernet1/0/2] qinq enable
[ProviderA-Ethernet1/0/2] quit
Configure Ethernet 1/0/3.
# Configure the port as a trunk port that permits frames of VLAN 1000, VLAN 2000 and VLAN 3000
to pass through.
[ProviderA] interface ethernet 1/0/3
[ProviderA-Ethernet1/0/3] port link-type trunk
[ProviderA-Ethernet1/0/3] port trunk permit vlan 1000 2000 3000
# To enable interoperability with the third-party switches in the public network, set the TPID of the service
provider network VLAN tags to 0x8200. The port then tags the frames with the outer VLAN tag whose
TPID is 0x8200.
[ProviderA] qinq ethernet-type 8200
Configure Provider B.
2.
Configure Ethernet 1/0/1.
# Configure the port as a trunk port that permits frames of VLAN 1000, VLAN 2000 and VLAN 3000
to pass through.
<ProviderB> system-view
[ProviderB] interface ethernet 1/0/1
[ProviderB-Ethernet1/0/1] port link-type trunk
[ProviderB-Ethernet1/0/1] port trunk permit vlan 1000 2000 3000
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents