EasyManua.ls Logo

Cisco Catalyst 4500 Series - Page 622

Cisco Catalyst 4500 Series
1610 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
24-8
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
OL-25340-01
Chapter 24 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 7-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
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = Po1 GC = 0x00010001 Pseudo-port-channel = Po1
Port indx = 0 Load = 0x55
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical 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.
Command Purpose

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals