30-11
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter30 Configuring EtherChannels
Configuring EtherChannels
To remove a port from the EtherChannel group, use the no channel-group interface configuration
command.
Step3 switchport mode {access | trunk}
switchport access vlan vlan-id
Assign all ports as static-access ports in the same VLAN, or
configure them as trunks.
If you configure the port as a static-access port, assign it to only
one VLAN. The range is 1 to 4094.
Step4 channel-group channel-group-number mode
{auto [non-silent] | desirable [non-silent] | on} |
{active | passive}
Assign the port to a channel group, and specify the PAgP or the
LACP mode.
For channel-group-number, the range is 1 to 6.
For mode, select one of these keywords:
auto—Enables PAgP only if a PAgP device is detected. It
places the port into a passive negotiating state, in which the
port responds to PAgP packets it receives but does not start
PAgP packet negotiation.
desirable—Unconditionally enables PAgP. It places the port
into an active negotiating state, in which the port starts
negotiations with other ports by sending PAgP packets.
on—Forces the port to channel without PAgP or LACP. In
the on mode, an EtherChannel exists only when a port group
in the on mode is connected to another port group in the on
mode.
non-silent—(Optional) If your switch is connected to a
partner that is PAgP-capable, configure the switch port for
nonsilent operation when the port is in the auto or desirable
mode. If you do not specify non-silent, silent is assumed.
The silent setting is for connections to file servers or packet
analyzers. This setting allows PAgP to operate, to attach the
port to a channel group, and to use the port for transmission.
active—Enables LACP only if a LACP device is detected. It
places the port into an active negotiating state in which the
port starts negotiations with other ports by sending LACP
packets.
passive—Enables LACP on the port and places it into a
passive negotiating state in which the port responds to LACP
packets that it receives, but does not start LACP packet
negotiation.
For information on compatible modes for the switch and its
partner, see the “PAgP Modes” section on page30 -4 and the
“LACP Modes” section on page 30-5.
Step5 end Return to privileged EXEC mode.
Step6 show running-config Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose