H3C LS-3100-52P-OVS-H3 Operation Manual page 202

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchB-behavior-b11] traffic behavior b22
[SwitchB-behavior-b22] remark customer-vlan-id 2
[SwitchB-behavior-b22] traffic behavior b33
[SwitchB-behavior-b33] remark customer-vlan-id 3
[SwitchB-behavior-b33] quit
[SwitchB] qos policy p11
[SwitchB-policy-p11] classifier c11 behavior b11
[SwitchB-policy-p11] classifier c22 behavior b22
[SwitchB-policy-p11] classifier c33 behavior b33
[SwitchB-policy-p11] quit
[SwitchB] qos policy p22
[SwitchB-policy-p22] classifier c44 behavior b11
[SwitchB-policy-p22] classifier c55 behavior b22
[SwitchB-policy-p22] classifier c66 behavior b33
[SwitchB-policy-p22] quit
# Configure GigabitEthernet 1/0/1 to permit frames of the specified CVLANs and SVLANs to pass
through.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 1 2 3 111 211 311
# Enable basic QinQ on GigabitEthernet 1/0/1.
[SwitchB-GigabitEthernet1/0/1] qinq enable
# Apply the uplink policy p1 to the inbound direction of GigabitEthernet 1/0/1.
[SwitchB-GigabitEthernet1/0/1] qos apply policy p1 inbound
# Apply the downlink policy p11 to the outbound direction of GigabitEthernet 1/0/1.
[SwitchB-GigabitEthernet1/0/1] qos apply policy p11 outbound
[SwitchB-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to permit frames of the specified CVLANs and SLVANs to pass
through.
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-GigabitEthernet1/0/2] port trunk permit vlan 1 2 3 112 212 312
# Enable basic QinQ on GigabitEthernet 1/0/2.
[SwitchB-GigabitEthernet1/0/2] qinq enable
# Apply the uplink policy p2 to the inbound direction of GigabitEthernet 1/0/2.
[SwitchB-GigabitEthernet1/0/2] qos apply policy p2 inbound
# Apply the downlink policy p22 to the outbound direction of GigabitEthernet 1/0/2.
[SwitchB-GigabitEthernet1/0/2] qos apply policy p22 outbound
[SwitchB-GigabitEthernet1/0/2] quit
# Configure GigabitEthernet 1/0/3 to permit frames of the specified SVLANs to pass through.
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port link-type trunk
[SwitchB-GigabitEthernet1/0/3] port trunk permit vlan 111 211 311 112 212 312
1-18

Advertisement

Chapters

Table of Contents
loading

Table of Contents