5-49
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 5 Configuring Virtual Switching Systems
Configuring a VSS
Switch(config-if)# ip address 172.32.52.10 255.255.255.0
Switch(config-if)# end
This example shows how to verify the configuration of port channel interface 1:
Switch# show running-config interface port-channel 1
Building configuration...
Current configuration:
!
interface Port-channel1
ip address 172.32.52.10 255.255.255.0
end
Switch#
Configuring Physical Interfaces as Layer 3 EtherChannels
To configure physical interfaces as Layer 3 EtherChannels, perform this task for each interface:
This example shows how to configure Gigabit Ethernet interfaces 1/3/26 and 2/2/26 into port channel 1
with PAgP mode desirable:
Switch(config)# conf terminal
Switch(config)# int gigabitEthernet 1/3/26
Switch(config-if)# no switchport
Switch(config-if)# no ip address
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# exit
Switch(config)# int gigabitEthernet 2/2/6
Switch(config-if)# no switchport
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.