4 port-group mode, Port, Group mode – PLANET WGSW-50040 User Manual

Page 113

Advertising
background image

Example:

Creating a port group and setting the default load balance method.

Switch(config)# port-group 1

Delete a port group.

Switch(config)#no port-group 1

5.4 port-group mode

Command:

port-group <port-group-number> mode {active|passive|on}

no port-group

Function:

Add a physical port to port channel, the no operation removes specified port from the port channel.

Parameters:

<port-group-number> is the group number of port channel, from 1 to 32;

active enables LACP on the port and sets it in Active mode;

passive enables LACP on the port and sets it in Passive mode;

on forces the port to join a port channel without enabling LACP.

Command mode:

Port Mode.

Default:

Switch ports do not belong to a port channel by default; LACP not enabled by default.

Usage Guide:

If the specified port group does not exist, then print a error message. All ports in a port group must

be added in the same mode, i.e., all ports use the mode used by the first port added. Adding a port

in “on” mode is a “forced” action, which means the local end switch port aggregation does not rely

on the information of the other end, port aggregation will succeed as long as all ports have

consistent VLAN information. Adding a port in “active” or “passive” mode enables LACP. Ports of at

least one end must be added in “active” mode, if ports of both ends are added in “passive” mode,

the ports will never aggregate.

Example:

Under the Port Mode of Ethernet1/1, add current port to “port-group 1” in “active” mode.

Switch(Config-If-Ethernet1/1)#port-group 1 mode active

Advertising