HP 4800G Series Configuration Manual page 217

24/48 port
Table of Contents

Advertisement

[SwitchA-policy-p11] classifier c33 behavior b33
[SwitchA-policy-p11] quit
[SwitchA] qos policy p22
[SwitchA-policy-p22] classifier c44 behavior b11
[SwitchA-policy-p22] classifier c55 behavior b22
[SwitchA-policy-p22] classifier c66 behavior b33
[SwitchA-policy-p22] quit
# Configure GigabitEthernet 1/0/1 to permit frames of the specified CVLANs and SLVANs to pass
through.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port link-type trunk
[SwitchA-GigabitEthernet1/0/1] port trunk permit vlan 1 2 3 101 201 301
# Enable basic QinQ on GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] qinq enable
# Apply the uplink policy p1 to the inbound direction of GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] qos apply policy p1 inbound
# Apply the downlink policy p11 to the outbound direction of GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] qos apply policy p11 outbound
[SwitchA-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to permit frames of the specified CVLANs and SVLANs to pass
through.
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] port link-type trunk
[SwitchA-GigabitEthernet1/0/2] port trunk permit vlan 1 2 3 102 202 302
# Enable basic QinQ on GigabitEthernet 1/0/2.
[SwitchA-GigabitEthernet1/0/2] qinq enable
# Apply the uplink policy p2 to the inbound direction of GigabitEthernet 1/0/2.
[SwitchA-GigabitEthernet1/0/2] qos apply policy p2 inbound
# Apply the downlink policy p22 to the outbound direction of GigabitEthernet 1/0/2.
[SwitchA-GigabitEthernet1/0/2] qos apply policy p22 outbound
[SwitchA-GigabitEthernet1/0/2] quit
# Configure GigabitEthernet 1/0/3 to permit frames of the specified SVLANs to pass through.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port link-type trunk
[SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 101 201 301 102 202 302
2)
Configuration on Switch B
# Create the CVLANs and the SVLANs.
<SwitchB> system-view
[SwitchB] vlan 2 to 3
[SwitchB] vlan 111 to 112
[SwitchB] vlan 211 to 212
[SwitchB] vlan 311 to 312
1-16

Advertisement

Chapters

Table of Contents
loading

Table of Contents