Chapter 6 Configuring PortChannels

 

 

 

 

Configuring PortChannels

 

 

 

 

 

 

 

 

 

 

 

Command

Purpose

Step 2

 

 

 

switch(config)# interface fc1/1 - 5

Configures the specified range of interfaces. In

 

 

 

switch(config-if)#

this example, interfaces from 1/1 to 1/5 are

 

 

 

 

configured.

Step 3

 

 

 

switch(config-if)# channel-group 2

Adds physical interfaces 1/1, 1/2, 1/3, 1/4, and

 

 

 

 

1/5 to channel group 2. If channel group 2 does

 

 

 

 

not exist, it is created.

 

 

 

 

If the compatibility check is successful, the

 

 

 

 

interfaces are operational and the

 

 

 

 

corresponding states apply to these interfaces.

 

 

 

 

 

 

 

 

 

 

 

Note

By default, the CLI adds a interface normally to a PortChannel, while DCNM-SAN adds the interface

 

 

 

by force, unless specified explicitly.

 

 

 

 

 

 

 

 

 

 

Forcing an Interface Addition

Detailed Steps

To force the addition of a port to a PortChannel, follow these steps:

 

Command

Purpose

Step 1

 

 

switch# config t

Enters configuration mode.

 

switch(config)#

 

Step 2

 

 

switch(config)# interface fc1/1

Specifies the interface fc1/1.

 

switch(config-if)#

 

Step 3

 

 

switch(config-if)#channel-group 1 force

Forces the addition of the physical port for

 

 

interface fc1/1 to channel group 1. The port is

 

 

shut down.

 

 

 

Deleting an Interface from a PortChannel

Detailed Steps

To delete a physical interface (or a range of physical interfaces) from a PortChannel, follow these steps:

 

Command

Purpose

Step 1

 

 

switch(config)# interface fc1/1

Enters the selected physical interface level.

 

switch(config-if)#

 

 

 

 

 

switch(config)# interface fc1/1 - 5

Enters the selected range of physical interfaces.

 

switch(config-if)#

 

Step 2

 

 

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

Deletes the physical Fibre Channel interfaces in

 

switch(config-if)#

channel group 2.

 

 

 

 

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

 

 

 

 

 

 

OL-29284-01, Release 6.x

 

 

6-19

 

 

 

 

 

Page 189
Image 189
Cisco Systems DSC9148D8G48PK9 manual Forcing an Interface Addition, Deleting an Interface from a PortChannel