| 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 vmware
|
Enters system VM management VMware mode.
|
Step 4 | UCS-A /system/vm-mgmt/vmware #
scope profile-set
|
Enters system VM management VMware profile set mode.
|
Step 5 | UCS-A /system/vm-mgmt/vmware/profile-set #
create port-profile
profile-name
|
Creates the specified port profile and enters system VM management VMware profile set port profile mode.
|
Step 6 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
set descr
description
| (Optional)
Provides a description for the port profile.
Note
|
If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any
show
command output.
|
|
Step 7 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
set max-ports max-num
|
Specifies the maximum number of ports the port profile can use.
The maximum number of ports that can be associated with a single distributed virtual switch (DVS) is 4096. If the DVS has only one associated port profile, that port profile can be configured with up to 4096 ports. However, if the DVS has more than one associated port profile, the total number of ports associated with all of those port profiles combined cannot exceed 4096.
|
Step 8 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
set nw-control-policy
policy-name
|
Specifies the network control policy to use for the port profile.
|
Step 9 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
set pin-group
group-name
|
Specifies the LAN pin group to use for the port profile.
|
Step 10 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
set qos-policy
policy-name
|
Specifies the QoS policy to use for the port profile.
|
Step 11 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile #
create client client-name
|
Creates the specified port profile client and enters system VM management VMware profile set port profile client mode.
|
Step 12 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #
set descr
description
| (Optional)
Provides a description for the port profile client.
Note
|
If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any
show
command output.
|
|
Step 13 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #
set data-center data-center-name
| (Optional)
Specifies the datacenter to which the port profile is applied.
|
Step 14 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #
set folder folder-name
| (Optional)
Specifies the datacenter folder to which the port profile is applied.
|
Step 15 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #
set dvs folder-name
| (Optional)
Specifies the DVS to which the port profile is applied.
|
Step 16 | UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #
commit-buffer
|
Commits the transaction.
|
The following example creates a port profile client named MyClient that applies the port profile to all DVSes in the datacenter named MyDatacenter and commits the transaction:
UCS-A# scope system
UCS-A /system # scope vm-mgmt
UCS-A /system/vm-mgmt # scope vmware
UCS-A /system/vm-mgmt/vmware # scope profile-set
UCS-A /system/vm-mgmt/vmware/profile-set # create port-profile MyProfile
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # set descr "This is my port profile"
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # set max-ports 24
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # set nw-control-policy ncp5
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # set pin-group PinGroup54
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # set qos-policy QosPolicy34
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile* # create client MyClient
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client* # set descr "This is the client for my port profile"
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client* # set data-center MyDatacenter
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client* # commit-buffer
UCS-A /system/vm-mgmt/vmware/profile-set/port-profile/client #