inherit port-profile system-uplink-pvlan
sub-group-id 0
interface Ethernet3/3
inherit port-profile system-uplink-pvlan
sub-group-id 0
interface Ethernet3/4
inherit port-profile system-uplink-pvlan
sub-group-id 1
interface Ethernet3/5
inherit port-profile system-uplink-pvlan
sub-group-id 1
switch(config-if)#
Pinning a vEthernet Interface to a Subgroup
You can pin a vEthernet interface to a specific port channel subgroup in the port profile configuration.
You can also pin a subgroup to a vEthernet interface in the interface configuration. See Configuring Static
Pinning for an Interface, on page 72.
Note
Before You Begin
•
Log in to the CLI in EXEC mode.
•
Know the subgroup ID (0 to 31) for the vEthernet interface.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters port profile configuration mode for the named
port profile.
switch(config)# port-profile type
vethernet name
Step 2
For the named port profile, assigns (or pins) a
vEthernet interface to a port channel subgroup
(0–31).
switch(config-port-prof)# pinning id
subgroup_id [backup
subgroup_id1...subgroup_id7 ]
Step 3
backup—Optionally specifies an ordered list of
backup subgroups for pinning to be used if the
primary subgroup is not available.
(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
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
66
Configuring Port Channels
Creating a Port Profile for a Port Channel