Interfaces | 433
Figure 20-15. Error Message
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 20-16 displays an example of moving the GigabitEthernet 1/8 interface from port channel 4 to port
channel 3.
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 5
no ip address
switchport
channel-member GigabitEthernet 1/6
FTOS(conf-if-portch)#int gi 1/6
FTOS(conf-if)#ip address 10.56.4.4 /24
% Error: Port is part of a LAG Gi 1/6.
FTOS(conf-if)#
Error message