H3C SR8800 Configuration Manual page 111

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

[PE1] interface GigabitEthernet 3/1/3
[PE1-GigabitEthernet3/1/3] port link-type trunk
[PE1-GigabitEthernet3/1/3] port trunk permit vlan 200 30 to 90
# Configure VLAN 200 as the PVID for the port.
[PE1-GigabitEthernet3/1/3] port trunk pvid vlan 200
# Enable basic QinQ on the port.
[PE1-GigabitEthernet3/1/3] qinq enable
[PE1-GigabitEthernet3/1/3] quit
Configure PE 2:
2.
# Configure GigabitEthernet 3/1/1 as a trunk port and assign it to VLAN 200 and VLANs 30
through 90.
<PE2> system-view
[PE2] interface GigabitEthernet 3/1/1
[PE2-GigabitEthernet3/1/1] port link-type trunk
[PE2-GigabitEthernet3/1/1] port trunk permit vlan 200 30 to 90
# Configure VLAN 200 as the PVID for the port.
[PE2-GigabitEthernet3/1/1] port trunk pvid vlan 200
# Enable basic QinQ on the port.
[PE2-GigabitEthernet3/1/1] qinq enable
[PE2-GigabitEthernet3/1/1] quit
# Configure GigabitEthernet 3/1/2 as a trunk port and assign it to VLAN 100 and VLAN 200.
[PE2] interface GigabitEthernet 3/1/2
[PE2-GigabitEthernet3/1/2] port link-type trunk
[PE2-GigabitEthernet3/1/2] port trunk permit vlan 100 200
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE2-GigabitEthernet3/1/2] qinq ethernet-type 8200
[PE2-GigabitEthernet3/1/2] quit
# Configure GigabitEthernet 3/1/3 as a trunk port and assign it to VLAN 100 and VLANs 10
through 70.
[PE2] interface GigabitEthernet 3/1/3
[PE2-GigabitEthernet3/1/3] port link-type trunk
[PE2-GigabitEthernet3/1/3] port trunk permit vlan 100 10 to 70
# Configure VLAN 100 as the PVID for the port.
[PE2-GigabitEthernet3/1/3] port trunk pvid vlan 100
# Enable basic QinQ on the port.
[PE2-GigabitEthernet3/1/3] qinq enable
[PE2-GigabitEthernet3/1/3] quit
Configure third-party devices:
3.
On the third-party devices between PE 1 and PE 2, configure the port connecting to PE 1 and that
connecting to PE 2 to allow tagged frames of VLAN 100 and VLAN 200 to pass through.
101

Advertisement

Table of Contents
loading

Table of Contents