Adding A Port To A Port Channel - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Port Channels
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To create a port channel, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface
port-channel channel-number
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:
Command
switch(config)# no interface
port-channel channel-number

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
To configure a port channel, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type
slot/port
Step 3
switch(config-if)# switchport mode
trunk
Step 4
switch(config-if)# switchport trunk
{allowed vlan vlan-id | native vlan
vlan-id}
Step 5
switch(config-if)# channel-group
channel-number
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-8
Chapter 1
Purpose
Enters configuration mode.
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.
Enter an unused channel number to create a new
Note
port-channel (for Ethernet ports). To view the
range of used and unused channel numbers use
the show port-channel usage command.
Purpose
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.
"Enabling LACP" section on page
Purpose
Enters configuration mode.
Specifies the interface that you want to add to a channel
group and enters the interface configuration mode.
(Optional) Configures the interface as a trunk port.
(Optional) Configures necessary parameters for a trunk
port.
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
Configuring Port Channels
1-10).
1
.
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents