Cisco Systems N5KC5596TFA Manual De Usuario

Descargar
Página de 122
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.
If you want LACP-based port channels, you need to enable LACP.
Note
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Specifies the interface that you want to add to a channel
group and enters the interface configuration mode.
switch(config)# interface type
slot
/port
Step 2
(Optional)
Configures the interface as a trunk port.
switch(config-if)# switchport mode
trunk
Step 3
(Optional)
Configures necessary parameters for a trunk port.
switch(config-if)# switchport trunk
{allowed vlan vlan-id native vlan
vlan-id}
Step 4
Configures the port in a channel group and sets the
mode. The channel-number range is from 1 to 4096.
switch(config-if)# channel-group
channel-number
Step 5
Cisco NX-OS creates the port channel associated with
this channel group if the port channel does not already
exist. This is called implicit port channel creation.
(Optional)
Removes the port from the channel group. The port
reverts to its original configuration.
switch(config-if)# no channel-group
Step 6
This example shows how to add an Ethernet interface 1/4 to channel group 1:
switch#
configure terminal
switch (config)#
interface ethernet 1/4
switch(config-if)#
switchport mode trunk
switch(config-if)#
channel-group 1
Configuring Load Balancing Using Port Channels
You can configure the load-balancing algorithm for port channels that applies to the entire device.
If you want LACP-based port channels, you need to enable LACP.
Note
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)    
   78-26881-OL
55
Configuring Port Channels
Adding a Port to a Port Channel