HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 170
Configuring inner VLAN ID substitution
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 170 highlights
Step 6. Configure a marking action and an inner-to-outer tag priority copying action. Command • Mark the 802.1p priorities in outer VLAN tags: remark dot1p 8021p • Copy the inner 802.1p priorities to outer 802.1p priorities: remark dot1p customer-dot1p-trust 7. Return to system view. quit 8. Create a QoS policy and enter QoS policy view. qos policy policy-name 9. Associate the traffic class with the traffic behavior defined classifier classifier-name behavior earlier. behavior-name 10. Return to system view. quit 11. Enter Layer 2 Ethernet interface view. interface interface-type interface-number 12. Enable basic QinQ. qinq enable 13. Apply the QoS policy to the incoming traffic. qos apply policy policy-name inbound Remarks Use either command. N/A N/A N/A N/A N/A N/A N/A Configuring inner VLAN ID substitution When you configure basic QinQ or an outer VLAN tagging policy for selective QinQ on a port connecting the device to the customer network, basic QinQ or the outer VLAN tagging policy can add outer VLAN tags to packets, but cannot modify the inner VLAN IDs of packets. To modify the inner VLAN IDs of packets, follow these steps on the port connecting the device to the service provider network: 1. Configure a class to match the specified inner VLAN IDs and outer VLAN ID of packets. 2. Configure a behavior to modify the inner VLAN IDs of packets. 3. Associate the class with the behavior in a QoS policy. 4. Apply the QoS policy to the outgoing traffic of the port connecting the device to the service provider network. To configure inner VLAN ID substitution: Step Command Remarks 1. Enter system view. system-view N/A 2. Create a class and enter class view. traffic classifier classifier-name [ operator and ] By default, the operator of a class is AND. 3. Configure a match criterion to match the specified inner VLAN IDs. if-match customer-vlan-id vlan-id-list N/A 4. Configure a match criterion to match the specified outer VLAN IDs. if-match service-vlan-id vlan-id N/A 5. Return to system view. quit N/A 161