H3C S6850 Series Configuration Manual page 234

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

Figure 3 Network diagram
Procedure
1.
Configure PE 1:
# Configure Twenty-FiveGigE 1/0/1 as a trunk port, and assign it to VLAN 100.
<PE1> system-view
[PE1] interface twenty-fivegige 1/0/1
[PE1-Twenty-FiveGigE1/0/1] port link-type trunk
[PE1-Twenty-FiveGigE1/0/1] port trunk permit vlan 100
# Set the PVID of Twenty-FiveGigE 1/0/1 to VLAN 100.
[PE1-Twenty-FiveGigE1/0/1] port trunk pvid vlan 100
# Enable QinQ on Twenty-FiveGigE 1/0/1.
[PE1-Twenty-FiveGigE1/0/1] qinq enable
[PE1-Twenty-FiveGigE1/0/1] quit
# Configure Twenty-FiveGigE 1/0/2 as a trunk port, and assign it to VLANs 100 and 200.
[PE1] interface twenty-fivegige 1/0/2
[PE1-Twenty-FiveGigE1/0/2] port link-type trunk
[PE1-Twenty-FiveGigE1/0/2] port trunk permit vlan 100 200
# Set the TPID value in the SVLAN tags to 0x8200 on Twenty-FiveGigE 1/0/2.
[PE1-Twenty-FiveGigE1/0/2] qinq ethernet-type service-tag 8200
[PE1-Twenty-FiveGigE1/0/2] quit
# Configure Twenty-FiveGigE 1/0/3 as a trunk port, and assign it to VLAN 200.
[PE1] interface twenty-fivegige 1/0/3
[PE1-Twenty-FiveGigE1/0/3] port link-type trunk
[PE1-Twenty-FiveGigE1/0/3] port trunk permit vlan 200
# Set the PVID of Twenty-FiveGigE 1/0/3 to VLAN 200.
[PE1-Twenty-FiveGigE1/0/3] port trunk pvid vlan 200
# Enable QinQ on Twenty-FiveGigE 1/0/3.
[PE1-Twenty-FiveGigE1/0/3] qinq enable
9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents