PurposeCommand or Action
If a port profile is configured as an Ethernet type, it
cannot be used to configure VMware virtual ports.
Note
Creates a unique asymmetric port channel (also known as vPC-HM)
and automatically assigns it when the port profile is assigned to the
first interface.
switch(config-port-prof)#
channel-group auto mode
on [sub-group {cdp |
Step 3
manual}]
[mac-pinning[relative]]
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.
The following options are also defined:
• mode—Sets the port channel mode to on (active and passive use
LACP)
• sub-group—Identifies this channel group as asymmetric, or
connected to more than one switch.
◦ cdp—Specifies that CDP information is used to
automatically create subgroups for managing the traffic
flow.
◦ manual—Specifies that subgroups are configured manually.
This option is used if CDP is not configured on the upstream
switches. To configure subgroups, see Manually
Configuring Interface Subgroups.
• mac-pinning—Specifies that Ethernet member ports are assigned
to subgroups automatically, one subgroup per member port. This
option is used if the upstream switch does not support port
channels.
• relative—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 create a port channel that connects to multiple upstream switches that support
CDP:
switch# configure terminal
switch(config)# port-profile UpLinkProfile2
switch(config-port-prof)# channel-group auto mode on sub-group cdp
switch(config-port-prof)# show port-profile name UpLinkProfile2
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
63
Configuring Port Channels
Creating a Port Profile for a Port Channel