The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter includes the following sections:
Port profiles contain the properties and settings that you can use to configure virtual interfaces in Cisco UCS for VM-FEX. The port profiles are created and administered in Cisco UCS Manager. After a port profile is created, assigned to, and actively used by one or more clusters, any changes made to the networking properties of the port profile in Cisco UCS Manager are immediately applied to those clusters.
Note |
The following example shows how to create and configure a port profile named MyProfile and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # scope profile-set UCS-A /system/vm-mgmt/profile-set # create port-profile MyProfile UCS-A /system/vm-mgmt/profile-set/port-profile* # set descr "This is my port profile" UCS-A /system/vm-mgmt/profile-set/port-profile* # set max-ports 24 UCS-A /system/vm-mgmt/profile-set/port-profile* # set nw-control-policy ncp5 UCS-A /system/vm-mgmt/profile-set/port-profile* # set pin-group PinGroup54 UCS-A /system/vm-mgmt/profile-set/port-profile* # set qos-policy QosPolicy34 UCS-A /system/vm-mgmt/profile-set/port-profile* # commit-buffer UCS-A /system/vm-mgmt/profile-set/port-profile #
Add a port profile client to the port profile.
You cannot delete a port profile if a VM is actively using that port profile.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system | Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt | Enters system VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # scope profile-set | Enters system VM management profile set mode. |
Step 4 | UCS-A /system/vm-mgmt/profile-set # delete port-profile profile-name | Deletes the specified port profile. |
Step 5 | UCS-A /system/vm-mgmt/profile-set # commit-buffer | Commits the transaction. Cisco UCS Manager deletes the port profile and all associated port profile clients. |
The following example shows how to delete the port profile named MyProfile and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # scope profile-set UCS-A /system/vm-mgmt/profile-set # delete port-profile MyProfile UCS-A /system/vm-mgmt/profile-set* # commit-buffer UCS-A /system/vm-mgmt/profile-set #
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | UCS-A# scope system | Enters system mode. |
||
Step 2 | UCS-A /system # scope vm-mgmt | Enters system VM management mode. |
||
Step 3 | UCS-A /system/vm-mgmt # scope profile-set | Enters system VM management profile set mode. |
||
Step 4 | UCS-A /system/vm-mgmt/profile-set # scope port-profile profile-name | Enters system VM management profile set port profile mode for the specified port profile. |
||
Step 5 | UCS-A /system/vm-mgmt/profile-set/port-profile # create vlan vlan-name | Specifies a named VLAN to use for the port profile.
|
||
Step 6 | UCS-A /system/vm-mgmt/profile-set/port-profile/vlan # set default-net no | (Optional) Sets the default-net VLAN as the native VLAN in UCS Manager. |
||
Step 7 | UCS-A /system/vm-mgmt/profile-set/port-profile/vlan # commit-buffer | Commits the transaction. |
The following example shows how to add the VLAN named accounting to the port profile named MyProfile, set the VLAN as non-native, and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt# scope profile-set UCS-A /system/vm-mgmt/profile-set # scope port-profile MyProfile UCS-A /system/vm-mgmt/profile-set/port-profile # create vlan accounting UCS-A /system/vm-mgmt/profile-set/port-profile/vlan* # set default-net no UCS-A /system/vm-mgmt/profile-set/port-profile/vlan* # commit-buffer UCS-A /system/vm-mgmt/profile-set/port-profile/vlan #
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system | Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt | Enters system VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # scope profile-set | Enters system VM management profile set mode. |
Step 4 | UCS-A /system/vm-mgmt/profile-set # scope port-profile profile-name | Enters system VM management profile set port profile mode for the specified port profile. |
Step 5 | UCS-A /system/vm-mgmt/profile-set/port-profile # delete vlan vlan-name | Deletes the specified named VLAN from the port profile. |
Step 6 | UCS-A /system/vm-mgmt/profile-set/port-profile # commit-buffer | Commits the transaction. |
The following example shows how to delete the VLAN named accounting from the port profile named MyProfile and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt# scope profile-set UCS-A /system/vm-mgmt/profile-set # scope port-profile MyProfile UCS-A /system/vm-mgmt/profile-set/port-profile # delete vlan accounting UCS-A /system/vm-mgmt/profile-set/port-profile* # commit-buffer UCS-A /system/vm-mgmt/profile-set/port-profile #
The port profile client determines the cluster or clusters to which a port profile is applied.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | UCS-A# scope system | Enters system mode. |
||
Step 2 | UCS-A /system # scope vm-mgmt | Enters system VM management mode. |
||
Step 3 | UCS-A /system/vm-mgmt # scope profile-set | Enters system VM management profile set mode. |
||
Step 4 | UCS-A /system/vm-mgmt/profile-set # scope port-profile profile-name | Enters system VM management profile set port profile mode for the specified port profile. |
||
Step 5 | UCS-A /system/vm-mgmt/profile-set/port-profile # create client client-name | Creates the specified port profile client and enters system VM management profile set port profile client mode. |
||
Step 6 | UCS-A /system/vm-mgmt/profile-set/port-profile/client # set descr description | (Optional) Provides a description for the port profile client.
|
||
Step 7 | UCS-A /system/vm-mgmt/profile-set/port-profile/client # set data-center data-center-name | (Optional) Specifies the datacenter to which the port profile is applied. |
||
Step 8 | UCS-A /system/vm-mgmt/profile-set/port-profile/client # set folder folder-name | (Optional) Specifies the datacenter folder to which the port profile is applied. |
||
Step 9 | UCS-A /system/vm-mgmt/profile-set/port-profile/client # set cluster name | (Optional) Specifies the cluster to which the port profile is applied. |
||
Step 10 | UCS-A /system/vm-mgmt/profile-set/port-profile/client # commit-buffer | Commits the transaction. |
The following example shows how to create a port profile client named MyClient that applies the port profile to the default cluster and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # scope profile-set UCS-A /system/vm-mgmt/profile-set # scope port-profile MyProfile UCS-A /system/vm-mgmt/profile-set/port-profile* # create client MyClient UCS-A /system/vm-mgmt/profile-set/port-profile/client* # set descr "This is the client for my port profile" UCS-A /system/vm-mgmt/profile-set/port-profile/client* # set cluster default UCS-A /system/vm-mgmt/profile-set/port-profile/client* # commit-buffer UCS-A /system/vm-mgmt/profile-set/port-profile/client #
You cannot delete a port profile client if a VM is actively using the port profile with which the client is associated.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system | Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt | Enters system VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # scope profile-set | Enters system VM management profile set mode. |
Step 4 | UCS-A /system/vm-mgmt/profile-set # scope port-profile profile-name | Enters system VM management profile set port profile mode for the specified port profile. |
Step 5 | UCS-A /system/vm-mgmt/profile-set/port-profile # delete client client-name | Deletes the specified port profile client. |
Step 6 | UCS-A /system/vm-mgmt/profile-set/port-profile # commit-buffer | Commits the transaction. |
The following example shows how to delete the port profile client named OtherClient from the port profile named MyProfile and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt# scope profile-set UCS-A /system/vm-mgmt/profile-set # scope port-profile MyProfile UCS-A /system/vm-mgmt/profile-set/port-profile # delete client OtherClient UCS-A /system/vm-mgmt/profile-set/port-profile* # commit-buffer UCS-A /system/vm-mgmt/profile-set/port-profile #