SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
switchport mode
{
access
|
trunk
}
4.
switchport access vlan vlan-id
5.
channel-group channel-group-number mode
{
auto
[
non-silent
] |
desirable
[
non-silent
] |
on
} | {
active
|
passive
}
6.
end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies a physical port, and enters interface configuration mode.
interface interface-id
Step 2
Example:
Switch(config)#
interface
Valid interfaces are physical ports.
For a PAgP EtherChannel, you can configure up to eight ports of the same type and
speed for the same group.
gigabitethernet2/0/1
For a LACP EtherChannel, you can configure up to 16 Ethernet ports of the same
type. Up to eight ports can be active, and up to eight ports can be in standby mode.
Assigns all ports as static-access ports in the same VLAN, or configure them as
trunks.
switchport mode
{
access
|
trunk
}
Example:
Switch(config-if)#
switchport
Step 3
If you configure the port as a static-access port, assign it to only one VLAN. The
range is 1 to 4094.
mode access
(Optional) If you configure the port as a static-access port, assign it to only one
VLAN. The range is 1 to 4094.
switchport access vlan vlan-id
Example:
Switch(config-if)#
switchport
Step 4
access vlan 22
Assigns the port to a channel group, and specifies the PAgP or the LACP mode.
channel-group
channel-group-number mode
{
auto
Step 5
For
channel-group-number
, the range is 1 to 24.
[
non-silent
] |
desirable
[
non-silent
] |
on
} | {
active
|
passive
}
For
mode
, select one of these keywords:
Example:
Switch(config-if)#
•
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.This keyword is not
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
343
How to Configure EtherChannels
Содержание Catalyst 2960 Series
Страница 78: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches lxxviii Contents ...
Страница 96: ......
Страница 184: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 102 Additional References ...
Страница 195: ...P A R T II IP Multicast Routing Configuring IGMP Snooping and Multicast VLAN Registration page 115 ...
Страница 196: ......
Страница 250: ......
Страница 292: ......
Страница 488: ......
Страница 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Страница 590: ......
Страница 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Страница 620: ......
Страница 749: ...P A R T VIII Routing Configuring IP Unicast Routing page 669 Configuring IPv6 First Hop Security page 677 ...
Страница 750: ......
Страница 796: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 714 Additional References ...
Страница 856: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 774 Additional References ...
Страница 1400: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1318 Additional References ...
Страница 1546: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1464 Auto Identity ...
Страница 1596: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1514 Additional References ...
Страница 1604: ......
Страница 1740: ......
Страница 1764: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1682 Additional References ...
Страница 1942: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1860 cli_write ...
Страница 1950: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1868 context_save ...
Страница 2058: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1976 event_register_wdsysmon ...
Страница 2076: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1994 smtp_subst ...
Страница 2090: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2008 sys_reqinfo_syslog_history ...
Страница 2104: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2022 unregister_counter ...
Страница 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Страница 2106: ......
Страница 2118: ......
Страница 2164: ......