Configuring A Port Profile For The Dynamic Interfaces - Cisco Nexus 6000 Series Configuration Manual

Nx-os layer 2 guide
Hide thumbs Also See for Nexus 6000 Series:
Table of Contents

Advertisement

Configuring VM-FEX
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
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
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
Command or Action
switch# configure terminal
port-profile type vethernet
profilename
switchport mode access
switchport access vlan vlan-id
dvs-name {all | name}
port-binding dynamic
state enabled
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring a Port Profile for the Dynamic Interfaces
Purpose
Enters global configuration mode.
Enters configuration mode for the specified port profile,
creating it if necessary.
(Optional)
Configures the interface to be in access mode.
(Optional)
Specifies the VLAN when the interface is in access mode.
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.
(Optional)
Specifies dynamic port binding. The port is connected when
the VM is powered on and disconnected when the VM is
powered off. Max-port limits are enforced. The default is
static port binding.
Enables the port profile.
193

Advertisement

Table of Contents
loading

Table of Contents