261
Switch(Config)# port-group 1
Delete a port group.
Switch(Config)#no port-group 1
10.2.2.2 port-group mode
Command: port-group <port-group-number> mode {active|passive|on}
no port-group <port-group-number>
Function: Add the physical port to the port channel; The command “no port-group
<port-group-number>” removes the port from the port channel.
Parameter: <port-group-number> sets the port channel number. The valid range is from
1 to 8; active(0) enables the LACP on the port and sets it as active mode; passive(1)
enables the LACP on the port and sets it as passive mode; on(2) forces the port to join the
port channel and disables the LACP on the port.
Command mode: Interface Mode
Default: By default, no ports belong to any port channels and LACP is not enabled.
Usage Guide: If the port group doesn’t exist when joining the port into this port group, this
port group is created automatically and the port is joined to the group afterwards. All the
ports in a port group have the same mode which is that of the first port of the port group.
The ports which have the port mode as on are imperative. That means the port trunking
doesn’t rely on the port information. As soon as there are more than 2 port in the port
group. And the VLAN information of these ports are the same. The port trunking can be
established. The ports which join the port group in the active or passive mode run the
LACP. One end of the trunking has to be in the active mode for establishment of the
trunking. If two ends of the trunking are in the passive mode, the trunking can’t be
established.
Example: In the interface mode, add the current Ethernet port 1/1 to port group 1 and set
the port mode as active.
Switch (Config-Ethernet1/1)#port-group 1 mode active
10.2.2.3 interface port-channel
Command: interface port-channel <port-channel-number>
Function: Create and enter the port channel configuration mode
Command mode: Global Mode
Usage Guide: On entering aggregated port mode, configuration to GVRP or spanning
tree modules will apply to aggregated ports; if the aggregated port does not exist (i.e.
ports have not aggregated), an error message will be displayed and configuration will be