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.
|
Command Modes
TACACS+ server group configuration (config-tacacs+)
Global configuration (config)
network-admin
Command History
|
|
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)# tacacs-server deadtime 5
This example shows how to set the dead time interval to 5 minutes for a TACACS+ server group:
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)# feature tacacs+ switch(config)# aaa group server tacacs+ TacServer switch(config-tacacs+)# no deadtime 5
Related Commands
|
|
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
network-admin
Command History
|
|
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
|
|
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.
Command Modes
Any command mode
network-admin
Command History
|
|
4.0(4)SP1(1)
|
This command was introduced.
|
Examples
This example shows how to enable the output logging for the
debug
command:
This example shows how to disable the output logging for the
debug
command:
Related Commands
|
|
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.
Command Modes
Interface configuration (config- if)
network-admin
Command History
|
|
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:
n1000v(config)# interface ethernet 3/2 n1000v(config-if)# default shutdown
Related Commands
|
|
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.
|
Command Modes
Interface configuration (config-if)
network-admin
Command History
|
|
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)# interface ethernet 3/1 switch(config-if)# delay 10000
This example shows how to remove the delay time configuration:
switch(config)# interface ethernet 3/1 switch(config-if)#
no delay 10000
Related Commands
|
|
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.
|
Command Modes
Any command mode
network-admin
Command History
|
|
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
|
|
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.
|
Command Modes
Interface configuration (config-if)
network-admin
Command History
|
|
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
|
|
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.
|
Command Modes
Virtual service blade configuration (config-vsb-config)
network-admin
Command History
|
|
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(
config)#
virtual-service-blade VSM-1switch(config-vsb-
config)#
description vsm hamilton storage
This example shows how to remove the virtual service description:
switch(
config-if)#
no description
Related Commands
|
|
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.
|
Command Modes
Any command mode
network-admin
network-operator
Command History
|
|
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:
Related Commands
|
|
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.
|
Command Modes
Domain configuration (config-svs-domain)
network-admin
Command History
|
|
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)#
sve-domainswitch(
config-svs-domain)#
domain id number 32switch(
config-svs-domain)#
This example shows how to remove the domain ID:
switch(config)#
sve-domainswitch(
config-svs-domain)#
no domain id number 32switch(
config-svs-domain)#
Related Commands
|
|
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.
|
Command Modes
Interface configuration (config-if)
network-admin
Command History
|
|
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)# 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)# interface ethernet 2/1 n1000v(config-if)# no duplex
Related Commands
|
|
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.
|