H3C S6850 Series Configuration Manual page 386

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

Advertisement

[PE1] vlan 3
[PE1-vlan3] quit
# Configure Twenty-FiveGigE 1/0/1 as a trunk port, assign the port to VLAN 2, and set the
PVID to VLAN 2.
[PE1] interface twenty-fivegige 1/0/1
[PE1-Twenty-FiveGigE1/0/1] port link-mode bridge
[PE1-Twenty-FiveGigE1/0/1] port link-type trunk
[PE1-Twenty-FiveGigE1/0/1] port trunk permit vlan 2
[PE1-Twenty-FiveGigE1/0/1] port trunk pvid vlan 2
# Enable QinQ on Twenty-FiveGigE 1/0/1.
[PE1-Twenty-FiveGigE1/0/1] qinq enable
# Enable L2PT for LACP on Twenty-FiveGigE 1/0/1.
[PE1-Twenty-FiveGigE1/0/1] l2protocol lacp tunnel dot1q
[PE1-Twenty-FiveGigE1/0/1] quit
# Configure Twenty-FiveGigE 1/0/2 as a trunk port, assign the port to VLAN 3, and set the
PVID to VLAN 3.
[PE1] interface twenty-fivegige 1/0/2
[PE1-Twenty-FiveGigE1/0/2] port link-mode bridge
[PE1-Twenty-FiveGigE1/0/2] port link-type trunk
[PE1-Twenty-FiveGigE1/0/2] port trunk permit vlan 3
[PE1-Twenty-FiveGigE1/0/2] port trunk pvid vlan 3
# Enable QinQ on Twenty-FiveGigE 1/0/2.
[PE1-Twenty-FiveGigE1/0/2] qinq enable
# Enable L2PT for LACP on Twenty-FiveGigE 1/0/2.
[PE1-Twenty-FiveGigE1/0/2] l2protocol lacp tunnel dot1q
[PE1-Twenty-FiveGigE1/0/2] quit
4.
Configure PE 2 in the same way PE 1 is configured. (Details not shown.)
Verifying the configuration
# Verify that CE 1 and CE 2 have completed Ethernet link aggregation successfully.
[CE1] display link-aggregation member-port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Twenty-FiveGigE1/0/1:
Aggregate Interface: Bridge-Aggregation1
Local:
Port Number: 3
Port Priority: 32768
Oper-Key: 1
Flag: {ACDEF}
Remote:
System ID: 0x8000, 0004-0000-0000
Port Number: 3
Port Priority: 32768
Oper-Key: 1
Flag: {ACDEF}
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents