What to Do Next
Verify the status of the connection between the static interfaces and the static vNICs on the host server.
Configuring a Port Profile for the Dynamic Interfaces
You can configure a port profile for dynamic virtual interfaces. This port profile is exported to the VMware
vCenter distributed virtual switch (DVS) as a port-group.
With redundant switches, you can perform the following procedure with identical settings on both the primary
and secondary switches.
Before You Begin
•
Dynamic vNICs must be configured on the VIC adapter installed in the host server.
•
The VLAN specified in the port profile must be created.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enters configuration mode for the specified port profile,
creating it if necessary.
port-profile type vethernet
profilename
Step 2
(Optional)
Configures the interface to be in access mode.
switchport mode access
Step 3
(Optional)
Specifies the VLAN when the interface is in access mode.
switchport access vlan vlan-id
Step 4
Specifies the vCenter DVS to which the port profile is
exported as a port-group. With the keyword
all
, the port
profile is exported to all DVSs in the vCenter.
dvs-name
{
all
|
name
}
Step 5
(Optional)
Specifies dynamic port binding. The port is connected when
the VM is powered on and disconnected when the VM is
port-binding dynamic
Step 6
powered off. Max-port limits are enforced. The default is
static port binding.
Enables the port profile.
state enabled
Step 7
This example configures a port profile for dynamic virtual interfaces:
switch-1#
configure terminal
switch-1(config)#
port-profile type vethernet vm-fex-vlan-60
switch-1(config-port-prof)#
switchport mode access
switch-1(config-port-prof)#
switchport access vlan 60
switch-1(config-port-prof)#
dvs-name all
switch-1(config-port-prof)#
port-binding dynamic
switch-1(config-port-prof)#
state enabled
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
193
Configuring VM-FEX
Configuring a Port Profile for the Dynamic Interfaces