Configuration Guide Vol. 1


23.2.5 Deleting a Channel Group

Before you remove ports from a channel group or delete an entire channel group, you must set shutdown in Ethernet interface configuration mode for the ports that will be removed. If you do not set shutdown, a communication loop might occur.

<Structure of this section>

(1) Deleting Ports in a Channel Group

Points to note

The example below shows how to remove a port from a channel group. Because the removed port can operate independently of the channel group, shutdown is set beforehand to prevent a communication loop.

Because related commands (Table 23-3: Commands related to the port channel interface) that were set by interface port-channel prior to deletion remain in the deleted port, take care when using them for other purposes.

The interface port-channel command settings are not deleted even if all of the ports in the channel group are deleted. For details about deleting entire channel groups, see (2) Deleting entire channel groups.

Command examples

  1. (config)# interface gigabitethernet 1/0/1

    (config-if)# shutdown

    Sets shutdown for port 1/0/1 to place the port in the link-down status so that the port can be removed safely from the channel group.

  2. (config-if)# no channel-group

    Deletes the channel group settings from port 1/0/1.

(2) Deleting an entire channel group

Points to note

The example below shows how to delete an entire channel group. Because the ports in the deleted channel group can operate independently, shutdown is set beforehand to prevent a communication loop.

An entire channel group is deleted by deleting the interface port-channel command. After this deletion, the channel-group mode command is automatically deleted from each port registered in the channel group. Note, however, that the related commands set in interface port-channel (Table 23-3: Commands related to the port channel interface) remain for the ports, so be careful when using them for other purposes.

Command examples

  1. (config)# interface range gigabitethernet 1/0/1-2

    (config-if-range)# shutdown

    (config-if-range)# exit

    Sets shutdown for all ports in the channel group to place these ports in the link-down status so that the entire channel group can be deleted safely.

  2. (config)# no interface port-channel 10

    Deletes channel group 10. The channel-group mode commands set for ports 1/0/1 and 1/0/2 are also deleted automatically.