beautypg.com

6 port-group, 7 port-group mode, Port – PLANET XGS3-24040 User Manual

Page 149: Group, Group mode

background image

9-15

9.6 port-group

Command:

port-group <port-group-number> }]

no port-group <port-group-number>

Function:

Creates a port group. The no command deletes that group.

Parameters:

> is the group number of a port channel from 1 to 128.

Default:

There is no port-group.

Command mode:

Global Mode

Example:

Creating a port group.

Switch(config)# port-group 1

Delete a port group.

Switch(config)#no port-group 1

9.7 port-group mode

Command:

port-group 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:

is the group number of port channel, from 1 to 128;

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.