Configuration procedure, Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 141

Advertising
background image

128

Configuration procedure

1.

Configure Device A:
# Create Layer 3 aggregate interface Route-Aggregation 1, and configure an IP address and
subnet mask for the aggregate interface.

<DeviceA> system-view

[DeviceA] interface route-aggregation 1

[DeviceA-Route-Aggregation1] ip address 192.168.1.1 24

[DeviceA-Route-Aggregation1] quit

# Assign Layer 3 Ethernet interfaces GigabitEthernet 3/0/1 through GigabitEthernet 3/0/3 to
aggregation group 1.

[DeviceA] interface Gigabitethernet 3/0/1

[DeviceA-Gigabitethernet3/0/1] port link-aggregation group 1

[DeviceA-Gigabitethernet3/0/1] quit

[DeviceA] interface Gigabitethernet 3/0/2

[DeviceA-Gigabitethernet3/0/2] port link-aggregation group 1

[DeviceA-Gigabitethernet3/0/2] quit

[DeviceA] interface Gigabitethernet 3/0/3

[DeviceA-Gigabitethernet3/0/3] port link-aggregation group 1

[DeviceA-Gigabitethernet3/0/3] quit

# Configure the global link-aggregation load sharing criteria as the source and destination IP
addresses of packets.

[DeviceA] link-aggregation load-sharing mode source-ip destination-ip

2.

Configure Device B in the same way Device A is configured.

Verifying the configuration

# Display the 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

AGG AGG Partner ID Select Unselect Share

Interface Mode Ports Ports Type

-------------------------------------------------------------------------------

RAGG1 S none 3 0 Shar

The output above shows that link aggregation group 1 is a load-sharing-capable Layer 3 static
aggregation group that contains three Selected ports.
# Display the global link-aggregation load sharing criteria on Device A.

[DeviceA] display link-aggregation load-sharing mode

Link-Aggregation Load-Sharing Mode:

destination-ip address, source-ip address

Advertising
This manual is related to the following products: