Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 35
19
Configuration procedure
Step1
Configure Device A
# Create VLAN 10, and assign the port GigabitEthernet 0/4 to VLAN 10.
[DeviceA] vlan 10
[DeviceA-vlan10] port gigabitethernet 0/4
[DeviceA-vlan10] quit
# Create VLAN 20, and assign the port GigabitEthernet 0/5 to VLAN 20.
[DeviceA] vlan 20
[DeviceA-vlan20] port gigabitethernet 0/5
[DeviceA-vlan20] quit
# Create the Layer 2 aggregate interface Bridge-aggregation 1, and configure the link aggregation
mode as dynamic.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic
# Assign the ports GigabitEthernet 0/1 through GigabitEthernet 0/3 to link aggregation group 1 one at
a time.
[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 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.
Configuring GigabitEthernet0/3... Done.
[DeviceA-Bridge-Aggregation1] quit
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