HP A5830 Configuration Manual page 163

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

Configure GigabitEthernet 1/0/1.
# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type trunk
[PE1-GigabitEthernet1/0/1] port trunk permit vlan 10 to 50
# Enable basic QinQ on the port.
[PE1-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLANs 10 through 50.
[PE1-GigabitEthernet1/0/1] qinq transparent-vlan 10 to 50
[PE1-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLANs 10 through 50.
[PE1] interface gigabitethernet 1/0/2
[PE1-GigabitEthernet1/0/2] port link-type trunk
[PE1-GigabitEthernet1/0/2] port trunk permit vlan 10 to 50
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE1-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE1-GigabitEthernet1/0/2] quit
Configure PE 2.
2.
Configure GigabitEthernet 1/0/1.
# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50.
<PE2> system-view
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port link-type trunk
[PE2-GigabitEthernet1/0/1] port trunk permit vlan 10 to 50
# Enable basic QinQ on the port.
[PE2-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLANs 10 through 50.
[PE2-GigabitEthernet1/0/1] qinq transparent-vlan 10 to 50
[PE2-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLANs 10 through 50.
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] port link-type trunk
[PE2-GigabitEthernet1/0/2] port trunk permit vlan 10 to 50
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE2-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE2-GigabitEthernet1/0/2] quit
Configure third-party devices.
3.
On the third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and that
connecting to PE 2 to allow tagged frames of VLAN 10 through VLAN 50 to pass through.
156

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents