HP 4800G Series Configuration Manual page 223

24/48 port
Table of Contents

Advertisement

Configuration procedure
1)
Configuration on Device A
# Configure QinQ function on GigabitEthernet 1/0/1 to add outer VLAN tag 100 to the traffic tagged with
VLAN 10.
<DeviceA> system-view
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port access vlan 100
[DeviceA-GigabitEthernet1/0/1] qinq enable
[DeviceA-GigabitEthernet1/0/1] quit
# Configure the uplink port GigabitEthernet 1/0/2 to permit frames of VLAN 100 to pass through.
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 100
2)
Configuration on Device B
# Configure GigabitEthernet 1/0/1 to permit frames of VLAN 100 to pass through.
<DeviceB> system-view
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 100
[DeviceB-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to permit frames of VLAN 100 to pass through.
[DeviceB] interface gigabitethernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] port link-type trunk
[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 100
3)
Configuration on Device C
# Specify the original CVLAN and SVLAN in the VLAN mapping for VPN 1 traffic received on
GigabitEthernet 1/0/1.
<DeviceC> system-view
[DeviceC] traffic classifier downlink_in
[DeviceC-classifier-downlink_in] if-match customer-vlan-id 10
[DeviceC-classifier-downlink_in] if-match service-vlan-id 100
[DeviceC-classifier-downlink_in] quit
# Specify the new SVLAN used for replacing the original SVLAN for incoming VPN 1 traffic on
GigabitEthernet 1/0/1.
[DeviceC] traffic behavior downlink_in
[DeviceC-behavior-downlink_in] remark service-vlan-id 200
[DeviceC-behavior-downlink_in] quit
# Configure an uplink policy to map the original SVLAN and CVLAN to the new SVLAN.
[DeviceC] qos policy downlink_in
[DeviceC-qospolicy-downlink_in] classifier downlink_in behavior downlink_in
[DeviceC-qospolicy-downlink_in] quit
# Specify the new CVLAN and SVLAN in the VLAN mapping for outgoing VPN 1 traffic on
GigabitEthernet 1/0/1.
1-22

Advertisement

Chapters

Table of Contents
loading

Table of Contents