D Commands

delay (interface)

To set a delay value for an interface, use the delay command. To restore the default delay value, use the no form of this command.

delay tens-of-microseconds

no delay

Syntax Description

tens-of-microseconds

Throughput delay in tens of microseconds. The range is from 1 to 16,777,215.

Command Default

10 microseconds

Command Modes

Interface configuration mode

Subinterface configuration mode

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

5.0(3)N1(1)

Support for Layer 3 interfaces was added.

Examples

This example shows how to set a delay of 30,000 microseconds on an interface:


switch(config)# interface ethernet 1/1
switch(config-if)# delay 30000
switch(config-if)#

This example shows how to set a delay of 1000 microseconds on a subinterface:


switch(config)# interface ethernet 1/1.1
switch(config-subif)# delay 1000
switch(config-subif)#

description (interface)

To add a description to an interface configuration, use the description command. To remove the description, use the no form of this command.

description description

no description

Syntax Description

description

String description of the interface configuration. This string is limited to 80 characters.

Command Default

No description is added.

Command Modes

Interface configuration mode

Subinterface configuration mode

Virtual Ethernet interface configuration

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

5.0(3)N1(1)

Support for Layer 3 interfaces and virtual Ethernet interface was added.

5.1(3)N1(1)

Support for virtual Ethernet interface was added.

Usage Guidelines

The description command is meant to provide a reminder in the configuration to describe what certain interfaces are used for. The description appears in the output of the following commands such as show interface and show running-config .

You can use this command on the following interfaces:

  • Ethernet interface
  • Management interface
  • Subinterfaces
  • Virtual Ethernet interface

Examples

This example shows how to add a description for an interface:


switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# description "10G Server Link"
switch(config-if)#

This example shows how to add a description for a virtual Ethernet interface:


switch# configure terminal
switch(config)# interface vethernet 1
switch(config-if)# description "Virtual interface"
switch(config-if)#

duplex

To specify the duplex mode as full, half, or autonegotiate, use the duplex command. To return the system to default mode, use the no form of this command.

duplex {full | half | auto}

no duplex {full | half | auto}

Syntax Description

full

Specifies the duplex mode as full.

half

Specifies the duplex mode as half.

Note 
This keyword is not supported on a management interface.

auto

Specifies the duplex mode as autonegotiate.

Command Default

None

Command Modes

Interface
configuration mode


network-adminvdc-admin

Command History

Release

Modification

5.1(3)N1(1)

This command was introduced.

Usage Guidelines

The interface speed that you specify can affect the duplex mode used for an interface, so you should set the speed before setting the duplex mode. If you set the speed for autonegotiation, the duplex mode is automatically set to be autonegotiated. If you specify 10- or 100-Mbps speed, the port is automatically configured to use half-duplex mode, but you can specify full-duplex mode instead. Gigabit Ethernet is full duplex only. You cannot change the duplex mode on Gigabit Ethernet ports or on a 10/100/1000-Mbps port that is set for Gigabit Ethernet.

See the Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide for more information on interface speed and duplex settings.

This command does not require a license.

Examples

This example shows how to specify the duplex mode for full duplex:

switch#configure terminal 
switch(config)#interface ethernet 1/5 
switch(config-if)#duplex full 
switch(config-if)#