Interfaces | 391
Reassign an interface to a new port channel
An interface can be a member of only one port channel. If the interface is a member of a port channel, you
must remove it from the first port channel and then add it to the second port channel.
Each time you add or remove a channel member from a port channel, FTOS recalculates the hash
algorithm for the port channel.
To reassign an interface to a new port channel, use these commands in the following sequence in the
INTERFACE mode of a port channel:
Figure 19-14 displays an example of moving the GigabitEthernet 1/8 interface from port channel 4 to port
channel 3.
Figure 19-14. Command Example from Reassigning an Interface to a Different Port Channel
Step Command Syntax Command Mode Purpose
1
no channel-member interface INTERFACE
PORT-CHANNEL
Remove the interface from the first port
channel.
2
interface port-channel id number INTERFACE
PORT-CHANNEL
Change to the second port channel
INTERFACE mode.
3 channel-member interface INTERFACE
PORT-CHANNEL
Add the interface to the second port channel.
FTOS(conf-if-portch)#show config
!
interface Port-channel 4
no ip address
channel-member GigabitEthernet 1/8
no shutdown
FTOS(conf-if-portch)#no chann gi 1/8
FTOS(conf-if-portch)#int port 5
FTOS(conf-if-portch)#channel gi 1/8
FTOS(conf-if-portch)#sho conf
!
interface Port-channel 5
no ip address
channel-member GigabitEthernet 1/8
shutdown
FTOS(conf-if-portch)#