switch# configure terminal
Places you in global configuration mode.
|Step 2||switch(config)# port-profile type vethernetname
Places you into the CLI Port Profile Configuration mode for the specified port profile.
type: Defines the port-profile as Ethernet or vEthernet type. Once configured, this setting cannot be changed. The default is vEthernet type.
If a port profile is configured as an Ethernet type, then it cannot be used to configure VMware virtual ports.
name: The port profile name can be up to 80 characters and must be unique for each port profile on the Cisco Nexus 1000V.
|Step 3||switch(config)# descriptionprofile description
Adds a description to the port profile. This description is automatically pushed to the vCenter Server.
profile description: up to 80 ASCII characters. If the description includes spaces, it must be surrounded by quotations.
|Step 4||switch(config)# vmware port-groupname
Designates the port-profile as a VMware port group. The port profile is mapped to a VMware port group of the same name. When a vCenter Server connection is established, the port group created in Cisco Nexus 1000V is then distributed to the virtual switch on the vCenter Server. name: The Vmware port group name.If you want to map the port profile to a different port group name, use the alternate name.
|Step 5||switch(config)# switchport mode access
Designates that the interfaces are switch access ports (the default).
|Step 6||switch(config)# switchport access vlanvlanID
Assigns the system VLAN ID to the access port for this port profile. The VLAN assigned to this iSCSI port profile must be a system VLAN.
|Step 7||switch(config)# no shutdown
Administratively enables all ports in the profile.
|Step 8||switch(config)# system vlanvlanID
Adds the system VLAN to this port profile. This ensures that, when the host is added for the first time or rebooted later, the VEM will be able to reach the VSM. One of the uplink ports must have this VLAN in its system VLAN range.
|Step 9||switch(config)# capability iscsi-multipath
Allows the port to be used for iSCSI multipathing. In vCenter Server, the iSCSI Multipath port profile must be selected and assigned to the VMkernel NIC port.
|Step 10||switch(config)# state enabled
Enables the port profile. The configuration for this port profile is applied to the assigned ports, and the port group is created in the VMware vSwitch on the vCenter Server.
|Step 11||switch(config)# show port-profile name name
(Optional) Displays the current configuration for the port profile.
|Step 12||switch(config)# copy running-config startup-config
(Optional) Saves the running configuration persistently through reboots and restarts by copying it to the startup configuration.