167
Example:
Under the Port Mode of Ethernet1/1, add current port to “port-group 1” in
“active” mode.
Switch(C
onfig-Ethernet1/1)#port-group 1 mode active
5.2.2.4 interface port-channel
Command: interface port-channel <port-channel-number>
Function:
Enters 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 been aggregated), an error message will be displayed and configuration
will be saved and will be restored until the ports are aggregated. Note such restoration
will be performed only once, if an aggregated group is ungrouped and aggregated again,
the initial user configuration will not be restored. If it is configuration for modules, such as
shutdown or speed configuration, then the configuration to current port will apply to all
member ports in the corresponding port group.
Example:
Entering configuration mode for port-channel 1.
Switch(C
onfig)#interface port-channel 1
Switch(C
onfig-If-Port-Channel1)#
5.2.2.5 show port-group
Command: show port-group [<port-group-number>] {brief | detail | load-balance |
port | port-channel}
Parameters:
<port-group-number>
is the group number of port channel to be displayed,
from 1 to 8;
“brief”
displays summary information;
“detail”
displays detailed information;
“load-balance”
displays load balance information;
“port”
displays member port
information;
“port-channel”
displays port aggregation information.
Command mode:
Admin Mode
Usage Guide:
If “port-group-number”
is not specified, then information for all port groups
will be displayed.
Example:
Adding port 1/1 and 1/2 to port-group 1.
1. Display summary information for port-group 1.
Switch#
show port-group 1 brief
Port-group number : 1
Number of ports in porg-group : 2 Maxports in port-channel = 8
Number of port-channels : 0 Max port-channels : 1
Displayed information
Explanation