Configuring A Vethernet Access Interface - Cisco Nexus 1000V Configuration Manual

For vmware vsphere
Hide thumbs Also See for Nexus 1000V:
Table of Contents

Advertisement

Configuring a vEthernet Access Interface

Configuring a vEthernet Access Interface
You can configure a vEthernet interface for use as an access interface.
Before You Begin
• Log in to the CLI in EXEC mode.
• Know that if you do not add a description to the vEthernet interface, one of the following descriptions
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
38
is added at attach time. If you add a description and then remove it using the no description command,
then one of the following descriptions is added to the interface:
◦For a VM—VM-Name, Network Adapter number
◦For a VMK—VMware VMkernel, vmk number
◦For a VSWIF—VMware Service Console, vswif number
Command or Action
switch# configure terminal
switch(config)# interface vethernet
interface-number
switch(config-if)# description string
switch(config-if)# switchport access
vlan vlanid
switch(config-if)# switchport mode
access
switch(config-if)# show interface
vethernet interface-number
switch(config-if)# copy
running-config startup-config
Configuring Virtual Ethernet Interfaces
Purpose
Enters global configuration mode.
(Optional)
Enters the interface configuration mode for the specified
vEthernet interface (from 1 to 1048575).
(Optional)
Adds a description of up to 80 alphanumeric characters
to the interface in the running configuration.
If you do not add a description, the default
Note
description is added.
You do not need to use quotations around
Note
descriptions that include spaces.
Configures the vEthernet interface as an access interface
and specifies the VLAN ID (1 to 4094) in the running
configuration.
Configures the vEthernet interface for use as an access
interface in the running configuration.
(Optional)
Displays the specified interface for verification.
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.

Advertisement

Table of Contents
loading

Table of Contents