The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco Nexus 1010 commands that begin with the letter D.
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
minutes |
Number of minutes, from 0 to 1440, for the interval. |
0 minutes
TACACS+ server group configuration (config-tacacs+)
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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.
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
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]
Default filename: syslogd_debugs
Default file size: 4194304 bytes
Any command mode
network-admin
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
The logfile is created in the log: file system root directory.
Use the dir log: command to display the log files.
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
|
|
---|---|
dir |
Displays the contents of a directory. |
debug logging |
Enable debug command output 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
This command has no arguments or keywords.
Disabled
Any command mode
network-admin
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
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
|
|
---|---|
debug logfile |
Configures the logfile for the debug command output. |
To remove any interface-level override for the admin status, use the default shutdown command.
default shutdown
This command has no arguments or keywords.
None
Interface configuration (config- if)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
The default shutdown command removes any configuration for admin status that was entered previously to allow the port-profile config to take effect.
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)#
|
|
---|---|
show running-config interface |
Displays the configuration of an interface. |
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]
value |
Throughput delay time in tens of microseconds. The range is from 1 to 16777215. |
None
Interface configuration (config-if)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
The actual Ethernet interface throughput delay time does not change when you set this value; the setting is for informational purposes only.
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)#
|
|
---|---|
show interface |
Displays configuration information for an interface. |
To delete a file, use the delete command.
delete [filesystem:[//directory/] | directory/]filename
None
Any command mode
network-admin
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
Use the dir command to locate the file you that want to delete.
This example shows how to delete a file:
switch# delete bootflash:old_config.cfg
|
|
---|---|
dir |
Displays the contents of a directory. |
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
text |
Describes the interface. The maximum number of characters is 80. |
None
Interface configuration (config-if)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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
To add a description to the virtual service, use the description command.
description string
string |
Virtual service. The maximum number of characters is 80. |
None
Virtual service blade configuration (config-vsb-config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
The virtual-service-blade command determines which virtual service is modified with the description command.
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
To display the contents of a directory or file, use the dir command.
dir [bootflash: | debug: | log: | volatile:]
None
Any command mode
network-admin
network-operator
|
|
4.0(4)SP1(1) |
This command was introduced. |
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.
This example shows how to display the contents of the bootflash: directory:
switch#
dir bootflash:
|
|
---|---|
cd |
Changes the current working directory. |
pwd |
Displays the current working directory. |
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
number |
Domain ID number. The range is from 1 to 4095. |
None
Domain configuration (config-svs-domain)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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.
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)#
|
|
---|---|
show svs domain |
Displays the domain configuration. |
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]
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. |
None
Interface configuration (config-if)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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
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