27-9
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 27 Configuring EtherChannel and Link State Tracking
Configuring EtherChannel
This example shows how to configure Fast Ethernet interfaces 5/4 and 5/5 into port channel 1 with PAgP
mode
desirable
:
Switch#
configure terminal
Switch(config)#
interface range fastethernet 5/4 - 5
(Note: Space is mandatory.)
Switch(config-if)#
no switchport
Switch(config-if)#
no ip address
Switch(config-if)#
channel-group 1 mode desirable
Switch(config-if)#
end
Note
See the
“Configuring a Range of Interfaces” section on page 9-4
for information about the
range
keyword.
The following two examples show how to verify the configuration of Fast Ethernet interface 5/4:
Switch#
show running-config interface fastethernet 5/4
Building configuration...
Current configuration:
!
interface FastEthernet5/4
no ip address
no switchport
no ip directed-broadcast
channel-group 1 mode desirable
end
Switch#
show interfaces fastethernet 5/4 etherchannel
Port state = EC-Enbld Up In-Bndl Usr-Config
Command
Purpose
Step 1
Switch(config)#
interface
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot
/
port
Selects a physical interface to configure.
Step 2
Switch(config-if)#
no switchport
Makes this a Layer 3 routed port.
Step 3
Switch(config-if)#
no ip address
Ensures that no IP address is assigned to the physical
interface.
Step 4
Switch(config-if)#
channel-group
port_channel_number
mode
{
active
|
on
|
auto
|
passive
|
desirable
}
Configures the interface in a port channel and
specifies the PAgP or LACP mode.
If you use PAgP, enter the keywords
auto
or
desirable
.
If you use LACP, enter the keywords
active
or
passive
.
Step 5
Switch(config-if)#
end
Exits configuration mode.
Step 6
Switch#
show running-config interface port-channel
port_channel_number
Switch#
show running-config interface
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot
/
port
Switch#
show interfaces
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot
/
port
etherchannel
Switch#
show etherchannel 1 port-channel
Verifies the configuration.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...