H3C SR8800 Configuration Manual page 95

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

Advertisement

# Create VLAN 10, and assign port GigabitEthernet 4/1/4 to VLAN 10.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port gigabitethernet 4/1/4
[DeviceA-vlan10] quit
# Create VLAN 20, and assign port GigabitEthernet 4/1/5 to VLAN 20.
[DeviceA] vlan 20
[DeviceA-vlan20] port gigabitethernet 4/1/5
[DeviceA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-Aggregation 1.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] quit
# Assign ports GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3 to link aggregation group
1.
[DeviceA] interface gigabitethernet 4/1/1
[DeviceA-GigabitEthernet4/1/1] port link-aggregation group 1
[DeviceA-GigabitEthernet4/1/1] quit
[DeviceA] interface gigabitethernet 4/1/2
[DeviceA-GigabitEthernet4/1/2] port link-aggregation group 1
[DeviceA-GigabitEthernet4/1/2] quit
[DeviceA] interface gigabitethernet 4/1/3
[DeviceA-GigabitEthernet4/1/3] port link-aggregation group 1
[DeviceA-GigabitEthernet4/1/3] quit
# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to
VLANs 10 and 20.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] port link-type trunk
[DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20
Please wait... Done.
Configuring GigabitEthernet4/1/1... Done.
Configuring GigabitEthernet4/1/2... Done.
Configuring GigabitEthernet4/1/3... Done.
[DeviceA-Bridge-Aggregation1] quit
# Configure Device A to use the source and destination MAC addresses of packets as the global
link-aggregation load sharing criteria.
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
Configure Device B:
2.
Configure Device B using the same instructions that you used to configure Device A.
Verify the configurations:
3.
# Display summary information about all aggregation groups on Device A.
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
85

Advertisement

Table of Contents
loading

Table of Contents