EasyManua.ls Logo

Cisco Nexus 5000 Series - Adding a Port to a Port Channel

Cisco Nexus 5000 Series
660 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send feedback to nx5000-docfeedback@cisco.com
1-8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Port Channels
Configuring Port Channels
To create a port channel, perform this task:
This example shows how to create a port channel:
switch# configure terminal
switch (config)# interface port-channel 1
To remove the port channel and delete the associated channel group, perform this task:
Adding a Port to a Port Channel
You can add a port to a new channel group or to a channel group that already contains ports. Cisco
NX-OS creates the port channel associated with this channel group if the port channel does not already
exist.
Enable LACP if you want LACP-based port channels (see the “Enabling LACP” section on page 1-10).
To configure a port channel, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface
port-channel channel-number
Specifies the port-channel interface to configure, and
enters the interface configuration mode. The range is
from 1 to 4096. Cisco NX-OS automatically creates the
channel group if it does not already exist.
Note Enter an unused channel number to create a new
port-channel (for Ethernet ports). To view the
range of used and unused channel numbers use
the show port-channel usage command.
Command Purpose
switch(config)# no interface
port-channel channel-number
Removes the port channel and deletes the associated
channel group. See the “Compatibility Requirements”
section on page 1-2 for details on how the interface
configuration changes when you delete the port channel.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type
slot/port
Specifies the interface that you want to add to a channel
group and enters the interface configuration mode.
Step 3
switch(config-if)# switchport mode
trunk
(Optional) Configures the interface as a trunk port.
Step 4
switch(config-if)# switchport trunk
{allowed vlan vlan-id | native vlan
vlan-id}
(Optional) Configures necessary parameters for a trunk
port.
Step 5
switch(config-if)# channel-group
channel-number
Configures the port in a channel group and sets the mode.
The channel-number range is from 1 to 4096. Cisco
NX-OS creates the port channel associated with this
channel group if the port channel does not already exist
1
.

Table of Contents

Other manuals for Cisco Nexus 5000 Series

Related product manuals