Cisco Nexus 1010 Command Reference, Release 4.0(4)SP1(1)
D Commands
Downloads: This chapterpdf (PDF - 168.0KB) The complete bookPDF (PDF - 4.74MB) | Feedback

D Commands

Table Of Contents

D Commands

deadtime

debug logfile

debug logging

default shutdown (interface)

delay

delete

description (interface)

description

dir

domain id

duplex


D Commands


This chapter describes the Cisco Nexus 1010 commands that begin with the letter D.

deadtime

To configure the duration of time for which a nonreachable TACACS+ server is skipped, use the deadtime command. To revert to the default, use the no form of this command.

deadtime minutes

no deadtime minutes

Syntax Description

minutes

Number of minutes, from 0 to 1440, for the interval.


Defaults

0 minutes

Command Modes

TACACS+ server group configuration (config-tacacs+)
Global configuration (config)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

Before you can configure it, you must enable TACACS+ using the tacacs+ enable command.

The dead time can be configured either globally and applied to all TACACS+ servers, or you can configure the dead time per server group.

If the dead time interval for a TACACS+ server group is greater than zero (0), that value takes precedence over the global dead time value.

Setting the dead time interval to 0 disables the timer.

When the dead time interval is 0 minutes, TACACS+ servers are not marked as dead even if they are not responding.

Examples

This example shows how to set a global dead time interval to 5 minutes for all TACACS+ servers and server groups:

switch# config t
switch(config)# tacacs-server deadtime 5
switch(config)# 

This example shows how to set the dead time interval to 5 minutes for a TACACS+ server group:

switch# config t
switch(config)# aaa group server tacacs+ TacServer
switch(config-tacacs+)# deadtime 5
 
   

This example shows how to revert to the dead time interval default:

switch# config t
switch(config)# feature tacacs+
switch(config)# aaa group server tacacs+ TacServer
switch(config-tacacs+)# no deadtime 5
 
   

Related Commands

Command
Description

aaa group server

Configures AAA server groups.

show tacacs-server

Displays the TACACS+ server configuration.

tacacs+ enable

Enables TACACS+.

tacacs-server host

Configures a TACACS+ server.


debug logfile

To direct the output of the debug commands to a specified file, use the debug logfile command. To revert to the default, use the no form of this command.

debug logfile filename [size bytes]

no debug logfile filename [size bytes]

Syntax Description

filename

Name of the file for debug command output. The filename is alphanumeric, case sensitive, and has a maximum of 64 characters.

size bytes

(Optional) Specifies the size of the logfile in bytes. The range is from 4096 to 4194304.


Defaults

Default filename: syslogd_debugs

Default file size: 4194304 bytes

Command Modes

Any command mode

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

The logfile is created in the log: file system root directory.

Use the dir log: command to display the log files.

Examples

This example shows how to specify a debug logfile:

switch# debug logfile debug_log
 
   

This example shows how to revert to the default debug logfile:

switch# no debug logfile debug_log
 
   

Related Commands

Command
Description

dir

Displays the contents of a directory.

debug logging

Enable debug command output logging.


debug logging

To enable the debug command output logging, use the debug logging command. To disable debug logging, use the no form of this command.

debug logging

no debug logging

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Any command mode

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Examples

This example shows how to enable the output logging for the debug command:

switch# debug logging
 
   

This example shows how to disable the output logging for the debug command:

switch# no debug logging
 
   

Related Commands

Command
Description

debug logfile

Configures the logfile for the debug command output.


default shutdown (interface)

To remove any interface-level override for the admin status, use the default shutdown command.

default shutdown

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

Interface configuration (config- if)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

The default shutdown command removes any configuration for admin status that was entered previously to allow the port-profile config to take effect.

Examples

This example shows how to change the ports to the shutdown state:

switch# config t
n1000v(config)# interface ethernet 3/2
n1000v(config-if)# default shutdown
n1000v(config-if)#

Related Commands

Command
Description

show running-config interface

Displays the configuration of an interface.


delay

To assign an informational throughput delay value to an Ethernet interface, use the delay command. To remove the delay value, use the no form of this command.

delay value

no delay [value]

Syntax Description

value

Throughput delay time in tens of microseconds.

The range is from 1 to 16777215.


Defaults

None

Command Modes

Interface configuration (config-if)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

The actual Ethernet interface throughput delay time does not change when you set this value; the setting is for informational purposes only.

Examples

This example shows how to assign the delay time to an Ethernet slot 3, port 1 interface:

switch# config t 
switch(config)# interface ethernet 3/1
switch(config-if)# delay 10000
switch(config-if)#
 
   

This example shows how to remove the delay time configuration:

switch# config t 
switch(config)# interface ethernet 3/1
switch(config-if)# no delay 10000
switch(config-if)#
 
   

Related Commands

Command
Description

show interface

Displays configuration information for an interface.


delete

To delete a file, use the delete command.

delete [filesystem:[//directory/] | directory/]filename

Syntax Description

filesystem:

(Optional) Name of the file system. Valid values are bootflash or volatile.

//directory/

(Optional) Name of the directory. The directory name is case sensitive.

filename

Name of the file. The name is case sensitive.


Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

Use the dir command to locate the file you that want to delete.

Examples

This example shows how to delete a file:

switch# delete bootflash:old_config.cfg
 
   

Related Commands

Command
Description

dir

Displays the contents of a directory.


description (interface)

To add a description for the interface and save it in the running configuration, use the description command. To remove the interface description, use the no form of this command.

description text

no description

Syntax Description

text

Describes the interface. The maximum number of characters is 80.


Defaults

None

Command Modes

Interface configuration (config-if)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Examples

This example shows how to add the description for the interface and save it in the running configuration:

switch(config-if)# description Ethernet port 3 on module 1
 
   

This example shows how to remove the interface description:

switch(config-if)# no description Ethernet port 3 on module 1
 
   

Related Commands

Command
Description

interface vlan

Apply the interface and VLAN ID to a virtual service.

interface loopback

Creates and configures a loopback interface.

interface mgmt

Configure the management interface.

show interface

Displays the interface status, including the description.


description

To add a description to the virtual service, use the description command.

description string

Syntax Description

string

Virtual service. The maximum number of characters is 80.


Defaults

None

Command Modes

Virtual service blade configuration (config-vsb-config)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

The virtual-service-blade command determines which virtual service is modified with the description command.

Examples

This example shows how to add the description for the virtual service and save it in the running configuration:

switch# conf t
switch(config)# virtual-service-blade VSM-1
switch(config-vsb-config)# description vsm hamilton storage
 
   

This example shows how to remove the virtual service description:

switch(config-if)# no description 
 
   

Related Commands

Command
Description

virtual-service-blade

Creates the named virtual service and places you into configuration mode for that service.

show virtual-service-blade

Displays information about the virtual service blades.

show virtual-service-blade-type summary

Displays a summary of all virtual service configurations by type name.

virtual-service-blade-type

Specifies the type and name of the software image file to add to this virtual service.


dir

To display the contents of a directory or file, use the dir command.

dir [bootflash: | debug: | log: | volatile:]

Syntax Description

bootflash:

(Optional) Specifies the directory or filename.

debug:

(Optional) Specifies the directory or filename on expansion flash.

log:

(Optional) Specifies the directory or filename on log flash.

volatile:

(Optional) Specifies the directory or filename on volatile flash.


Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin
network-operator

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

Use the pwd command to identify the directory you are currently working in.

Use the cd command to change the directory you are currently working in.

Examples

This example shows how to display the contents of the bootflash: directory:

switch# dir bootflash:
 
   

Related Commands

Command
Description

cd

Changes the current working directory.

pwd

Displays the current working directory.


domain id

To assign a domain ID, use the domain id command. To remove a domain ID, use the no form of this command.

domain id number

no domain id

Syntax Description

number

Domain ID number. The range is from 1 to 4095.


Defaults

None

Command Modes

Domain configuration (config-svs-domain)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

During installation of the Cisco Nexus 1000V, the setup utility prompts you to configure a domain, including the domain ID and control and packet VLANs.

Examples

This example shows how to assign a domain ID:

switch# config t
switch(config)# sve-domain
switch(config-svs-domain)# domain id number 32
switch(config-svs-domain)# 
 
   

This example shows how to remove the domain ID:

switch# config t
switch(config)# sve-domain
switch(config-svs-domain)# no domain id number 32
switch(config-svs-domain)# 
 
   

Related Commands

Command
Description

show svs domain

Displays the domain configuration.


duplex

To set the duplex mode for an interface as full, half, or autonegotiate, use the duplex command. To revert to the default setting, use the no form of this command.

duplex {full | half | auto}

no duplex [full | half | auto]

Syntax Description

full

Specifies full-duplex mode for the interface.

half

Specifies half-duplex mode for the interface.

auto

Sets the duplex mode on the interface to autonegotiate with the connecting port.


Defaults

None

Command Modes

Interface configuration (config-if)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Usage Guidelines

When you use the no version of this command, the keyword (full, half, or auto) is optional. To return to the default duplex setting, you can use either of the following commands (for example, if the setting had been changed to full):

n1000v(config-if)# no duplex
 
   
n1000v(config-if)# no duplex full
 
   

Examples

This example shows how to set the Ethernet port 1 on the module in slot 3 to full-duplex mode:

n1000v config t
n1000v(config)# interface ethernet 2/1
n1000v(config-if)# duplex full
 
   

This example shows how to revert to the default duplex setting for the Ethernet port 1 on the module in slot 3:

n1000v config t
n1000v(config)# interface ethernet 2/1
n1000v(config-if)# no duplex
 
   

Related Commands

Command
Description

interface

Specifies the interface that you are configuring.

speed

Sets the speed for the port-channel interface.

show interface

Displays the interface status, which includes the speed and duplex mode parameters.