PurposeCommand or Action
Defines a port channel group in which a unique port channel is
created and automatically assigned when the port profile is assigned
to the first interface.
switch(config-port-prof)#
channel-group auto [mode
{on | active | passive}] [
mac-pinning [relative]]
Step 3
Each additional interface that belongs to the same module is added
to the same port channel. In VMware environments, a different port
channel is created for each module.
• mode—Sets the port channel mode to on, active, or passive
(active and passive use LACP).
• mac-pinning—Designates that one subgroup per Ethernet
member port must be automatically assigned if the upstream
switch does not support port channels.
• relative—Specifies that the subgroup numbering begins at
zero and continues numbering the subgroups consecutively.
(Optional)
Displays the configuration for verification.
switch(config-port-prof)# show
port-profile [brief |
expand-interface | usage]
[name profile-name]
Step 4
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
switch(config-port-prof)# copy
running-config startup-config
Step 5
This example shows how to configure a port channel that connects to one upstream switch:
switch# configure terminal
switch(config)# port-profile AccessProf
switch(config-port-prof)# channel-group auto mode on
switch(config-port-prof)# show port-profile name AccessProf
port-profile AccessProf
description: allaccess4
status: disabled
capability l3control: no
pinning control-vlan: -
pinning packet-vlan: -
system vlans: none
port-group:
max ports: 32
inherit:
config attributes:
channel-group auto mode on
evaluated config attributes:
channel-group auto mode on
assigned interfaces:
switch(config-port-prof)#
Connecting to Multiple Upstream Switches
You can create a port channel that connects to multiple upstream switches.
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
61
Configuring Port Channels
Creating a Port Profile for a Port Channel