beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 39

background image

23

Configuration procedure

Step1

Configure Device A

# Create the Layer 3 aggregate interface Route-aggregation 1, and configure an IP address and subnet
mask for the aggregate interface.

system-view

[DeviceA] interface route-aggregation 1

[DeviceA-Route-Aggregation1] ip address 192.168.1.1 24

[DeviceA-Route-Aggregation1] quit

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

[DeviceA] interface gigabitethernet 0/1

[DeviceA-GigabitEthernet0/1] port link-aggregation group 1

[DeviceA-GigabitEthernet0/1] quit

[DeviceA] interface gigabitethernet 0/2

[DeviceA-GigabitEthernet0/2] port link-aggregation group 1

[DeviceA-GigabitEthernet0/2] quit

[DeviceA] interface gigabitethernet 0/3

[DeviceA-GigabitEthernet0/3] port link-aggregation group 1

[DeviceA-GigabitEthernet0/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

Step2

Configure Device B

Configure Device B using the same instructions that you used to configure Device A.

Step3

Verify the configurations

# 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

AGG AGG Partner ID Select Unselect Share

Interface Mode Ports Ports Type

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

RAGG1 S none 3 0 Shar

The output 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