
Tip
Once a port join an AP, any configuration can be set on the port until the port
exit the AP.
5.2.3.
Creat Link-aggregation Port
First creat the Link aggregation group, then let the port join the AP as follow stepsinthe port
configuration mode.
:
Command
Function
Switch(config)# link-aggregation [
ap-id
]
mode {lacp | manual}
Creat an AP group (AP group has lacp and manual
two modes
,
the AP mode should be the same
between two switches.
Switch(config-port-range)#
link-aggregation [
ap-id
] {active | passive |
manual}
Join this port into the created AP group. (If the
AP group is lacp mode, the port should be confired
to active or passive mode.If the AP group is manual
mode the port needs to be configured to be manual
mode.
Using the Command
no link-aggregation
[
ap-id
] to exit a physical port in the port configuration
mode.
Below is the example to configure two layer Ethernet port 0/1 and 0/3 to be one memberoftow layer
AP.
Switch# configure terminal
Switch(config)#link-aggregation 1 mode manual
Switch(config)#port 0/1,0/3
Switch(config-if-GigabitEthernet-range)# link-aggregation 1 manual
You can use the Command
“Switch(config)#
link-aggregation
n”
(n means AP number) to enter the
AP Congiguration mode in the global configuration mode.(if AP n is not exsit ,using
link-aggregation
[
ap-id
]
mode {lacp | manual} to create.
)
Tip
When two switches AP group configured to LACP mode,related AP group
physical port attribute need to be active mode at least a section. If both
ports are passive mode, it can not communicate.