要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。
参数:ingress:源MAC, both:源和目的MAC
<Quidway>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]sysname swtich02
[swtich02]super password 133
[swtich02]int e0/1
[swtich02-Ethernet0/1]duplex full
[swtich02-Ethernet0/1]speed 100
[swtich02-Ethernet0/1]port link-type trunk
[swtich02-Ethernet0/1]port trunk permit vlan all
[swtich02-Ethernet0/1]int e0/2
[swtich02-Ethernet0/2]duplex full
[swtich02-Ethernet0/2]speed 100
[swtich02-Ethernet0/2]port link-type trunk
[swtich02-Ethernet0/2]port trunk permit vlan all
[swtich02-Ethernet0/2]quit
[swtich02]save
Save current configuration to flash memory successfully.
[swtich02]link-aggregation e0/1 to e0/2 both
[swtich02]display link-aggregation e0/1
link-aggregation: e0/1 to e0/2 both
switch>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]sysname switchA
[switchA]interface ethernet 0/1
[switchA-Ethernet0/1]duplex full
[switchA-Ethernet0/1]speed 100
[switchA-Ethernet0/1]port link-type trunk
[switchA-Ethernet0/1]port trunk permit vlan all
[switchA-Ethernet0/1]int e0/2
[switchA-Ethernet0/2]duplex full
[switchA-Ethernet0/2]speed 100
[switchA-Ethernet0/2]port link-type trunk
[switchA-Ethernet0/2]port trunk permit vlan all
[switchA-Ethernet0/2]quit
[switchA]save
Save current configuration to flash memory successfully.
[switchA]link-aggregation e0/1 to e0/2 both
[switchA]save
Save current configuration to flash memory successfully.