Configuring Port Channels
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface port-channel channel-number
Step 3
switch(config)# no interface port-channel channel-number
Example
This example shows how to create a port channel:
switch# configure terminal
switch (config)# interface port-channel 1
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.
Note
If you want LACP-based port channels, you need to enable LACP.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type slot/port
3. (Optional) switch(config-if)# switchport mode trunk
4. (Optional) switch(config-if)# switchport trunk {allowed vlan vlan-id | native vlan vlan-id}
5. switch(config-if)# channel-group channel-number
6. (Optional) switch(config-if)# no channel-group
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
(Optional) switch(config-if)# switchport mode trunk
Purpose
Enters global 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.
Removes the port channel and deletes the associated channel
group.
Purpose
Enters global configuration mode.
Specifies the interface that you want to add to a channel
group and enters the interface configuration mode.
Configures the interface as a trunk port.
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
Adding a Port to a Port Channel
47