beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 37

background image

21

[DeviceA] vlan 20

[DeviceA-vlan20] port gigabitethernet 0/6

[DeviceA-vlan20] quit

# Create the Layer 2 aggregate interface Bridge-Aggregation 1, and configure the load sharing criterion
for the link aggregation group as the source IP addresses of packets.

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] link-aggregation load-sharing mode source-ip

[DeviceA-Bridge-Aggregation1] quit

# Assign the ports GigabitEthernet 0/1 and GigabitEthernet 0/2 to link 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

# Configure the 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 GigabitEthernet0/1... Done.

Configuring GigabitEthernet0/2... Done.

[DeviceA-Bridge-Aggregation1] quit

# Create the Layer 2 aggregate interface Bridge-Aggregation 2, and configure the load sharing criterion
for the link aggregation group as the destination IP addresses of packets.

[DeviceA] interface bridge-aggregation 2

[DeviceA-Bridge-Aggregation2] link-aggregation load-sharing mode destination-ip

[DeviceA-Bridge-Aggregation2] quit

# Assign the ports GigabitEthernet 0/3 and GigabitEthernet 0/4 to link aggregation group 2.

[DeviceA] interface gigabitethernet 0/3

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

[DeviceA-GigabitEthernet0/3] quit

[DeviceA] interface gigabitethernet 0/4

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

[DeviceA-GigabitEthernet0/4] quit

# Configure the Layer 2 aggregate interface Bridge-Aggregation 2 as a trunk port and assign it to
VLANs 10 and 20.

[DeviceA] interface bridge-aggregation 2

[DeviceA-Bridge-Aggregation2] port link-type trunk

[DeviceA-Bridge-Aggregation2] port trunk permit vlan 10 20

Please wait... Done.

Configuring GigabitEthernet0/3... Done.

Configuring GigabitEthernet0/4... Done.

[DeviceA-Bridge-Aggregation2] quit

Step2

Configure Device B