- echo
- ecp max retries
- ecp retransmission-timer-exponent
- enable l3sec
- encapsulation dot1q vlan id bridge-domain
- end
- errdisable detect cause
- errdisable recovery cause
- errdisable recovery interval
- erspan-id
- ethanalyzer local read
- ethanalyzer local sniff-interface
- evb mac
- evb resource-wait-delay
- evb reinit-keep-alive
- exec-timeout
- exit
- exporter
E Commands
This chapter describes the Cisco Nexus 1000V commands that begin with E.
echo
To echo an argument back to the terminal screen, use the echo command.
echo [ backslash-interpret ] [ text ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can use this command in a command script to display information while the script is running.
Table 5-1 lists the formatting keywords that you can insert in the text when you include the -e or backslash-interpret keyword.
|
|
---|---|
Removes the new line character at the end of the text string. |
|
Examples
This example shows how to display a blank line at the command prompt:
This example shows how to display a line of text at the command prompt:
This example shows how to use a formatting option in the text string:
Related Commands
|
|
---|---|
ecp max retries
To configure the number of times ECP retries sending an upper layer protocol message, use the ecp max retries command. Use the no form of this command to revert to the default value.
Syntax Description
The range is from 1-7. The no form of this command resets this value to the default. |
Defaults
Command Modes
Command History
|
|
Usage Guidelines
This command is optional. Use this command only if you want to reconfigure the number of times ECP should retry sending a protocol message to a non default value.
Related Commands
ecp retransmission-timer-exponent
To configure the exponential value of the interval for which ECP waits before trying to retransmit a packet, use the ecp retransmission-timer-exponent command. U se the no form of this command to revert to the default value.
ecp retransmission-timer-exponent command < value>
[no] ecp retransmission-timer-exponent command
Syntax Description
The range is from 10-20. The no form of this command resets this value to to the default. |
Defaults
Command Modes
Command History
|
|
Usage Guidelines
This command is optional. Use this command only if you want to specify a non-default value for the ecp retransmission timer.
Related Commands
enable l3sec
To enable feature l3security in Layer 3, use the enable l3sec command.
Syntax Description
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to enable feature l3security in Layer 3:
Related Commands
|
|
---|---|
encapsulation dot1q vlan id bridge-domain
Creates a VLAN-VXLAN mapping on the service module.
encapsulation dot1q vlan id bridge-domain[bd-name]
Syntax Description
Defaults
Command Modes
Port-profile configuration (config-port-prof-srv)
Command History
|
|
Usage Guidelines
Use this command to create a VLAN-VXLAN mapping on an attached service module.
Examples
This example shows how to create mappings:
This example shows how to remove mappings:
Related Commands
end
To exit a configuration mode and return to Privileged EXEC mode, use the end command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
Command History
|
|
---|---|
Usage Guidelines
This command differs from the exit command in that the exit command returns you to the configuration mode you were previously in. The end command always takes you completely out of configuration mode and places you in privileged EXEC mode.
Examples
This example shows how to end the session in Global Configuration mode and return to privileged EXEC mode:
This example shows how to end the session in Interface Configuration mode and return to privileged EXEC mode:
Related Commands
|
|
---|---|
Exits the current command mode and returns you to the previous command mode. |
errdisable detect cause
To detect the reason an interface is error-disabled, use the errdisable detect cause command. To stop error detection, use the no form of this command.
errdisable detect cause { acl-exception | all | link-flap | loopback | arp-inspection | dhcp-rate-limit | qos-exception}
no errdisable detect cause { acl-exception | all | link-flap | loopback | arp-inspection | dhcp-rate-limit | qos-exception}
Syntax Description
Enables error-disabled detection for access-list installation failures. |
|
Enables error-disabled disable detection on link-state flapping. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The error-disabled state is an operational state that is similar to the link-down state. You must enter the shutdown command and then the no shutdown command to recover an interface manually from the error-disabled state.
Examples
This example shows how to detect the cause of the error-disabled state for all applications:
Related Commands
|
|
---|---|
Displays the interfaces currently in the error-disabled state. |
errdisable recovery cause
To enable the automatic recovery from the error-disabled (errdisable) state for an application, use the errdisable recovery cause command. To return to the default setting, use the no form of this command.
errdisable recovery cause { all | arp-inspection | bpduguard | dhcp-rate-limit | link-flap | failed-port-state | psecure-violation | security-violation | storm-control | udld | vpc-peerlink }
no errdisable recovery cause { all | arp-inspection | bpduguard | dhcp-rate-limit | link-flap | psecure-violation | security-violation | storm-control | udld | vpc-peerlink }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the errdisable recovery cause command to enable automatic recovery on the interface from the error-disabled state for an application. This command tries to bring the interface out of the error-disabled state and retry operation once all the causes have timed out. The interface automatically tries to come up again after 300 seconds. To change this interval, use the errdisable recovery interval command.
Examples
This example shows how to automatically recover from the error-disabled state for link flapping after you have enabled the recovery timer:
Related Commands
|
|
---|---|
errdisable recovery interval
To enable the recovery timer, use the errdisable recovery interval command.
errdisable recovery interval interval
Syntax Description
Error detection for access-list installation failures. The range is from 30 to 65535. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the errdisable recovery interval command to configure the recovery timer.
Examples
This example shows how to configure the recovery timer:
Related Commands
|
|
---|---|
erspan-id
To add an Encapsulated Remote Switch Port Analyzer (ERSPAN) ID to the session configuration and save it in the running configuration, use the erspan-id command.
Syntax Description
Flow ID to be assigned to the ERSPAN session. The range is 1–1023. |
Defaults
Command Modes
CLI ERSPAN source configuration (config-erspan-src)
Command History
|
|
Usage Guidelines
The session ERSPAN ID is added to the ERSPAN header of the encapsulated frame and can be used at the termination box to differentiate between various ERSPAN streams of traffic.
Examples
This example shows how to add ERSPAN ID 51 to the session configuration and save it in the running configuration:
Related Commands
ethanalyzer local read
To decode and display packet information from a file, use the ethanalyzer local read command.
ethanalyzer local read filename
Syntax Description
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to capture and display packets from a file:
Related Commands
|
|
---|---|
ethanalyzer local sniff-interface
To capture packets on a given interface, use the ethanalyzer local sniff-interface command.
ethanalyzer local sniff-interface {control | inband | management| ha-primary|ha-secondary} [capture-filter | detailed-dissection |display-filter| dump-pkt| limit-captured-frames| limit-frame-size| write filename ]
Syntax Description
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to capture and decode packets:
Related Commands
|
|
---|---|
evb mac
To add the DMAC information for the ECP packets originating from the VDP station to blade-switches such as the UCS-FI and other similar network devices, use the evb mac command. Use the no form of this command to remove the DMAC information.
Syntax Description[no] evb mac
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows the evb segmentation information:
switch (config)#
show evb
Related Commands
|
|
---|---|
Configures the interval at which VDP refreshes the VSI state with in the bridge by sending a VDP associate refresh. |
evb resource-wait-delay
To configure the resource wait delay used by VDP to calculate the time it waits before concluding that a request has timed out, use the evb-resource-wait-delay command. Use the no form of this command to revert to the default value.
evb resource-wait-delay < value>
Syntax Description
The range is from 20-31. The no form of this command resets this value to the default. |
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Related Commands
evb reinit-keep-alive
To configure the interval at which VDP refreshes the VSI state in the bridge by sending a VDP associate refresh, use the evb reinit-keep-alive command. Use the no form of this command to revert to the default value.
evb reinit-keep-alive < 20-31>
Syntax Description
The range is from 20-31. The no form of this command resets this value to the default. |
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Related Commands
exec-timeout
To configure the length of time, in minutes, that an inactive Telnet or SSH session remains open before it is automatically shut down, use the exec-timeout command. To remove an exec timeout setting, use the no form of this command.
Syntax Description
Timeout time, in minutes. The range of valid values is 0 to 525600. If a session remains inactive longer than this specified time period, then it is automatically closed. |
Defaults
Command Modes
Console configuration (config-console)
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure an inactive session timeout for the console port:
This example shows how to configure an inactive session timeout for the virtual terminal:
This example shows how to remove an exec timeout on the console port:
n1000v# configure terminal
DocTeamVSM(config)# line console
n1000v(
config-console)#
no exec-timeout
n1000v(
config-console)#
Related Commands
|
|
---|---|
Displays the terminal configuration, including the timeout value. |
|
exit
To exit a configuration mode or exit the CLI, use the exit command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
Command History
|
|
---|---|
Examples
This example shows how to exit global configuration mode. The CLI returns you to the EXEC mode.
This example shows how to exit interface configuration mode. The CLI returns you to the global configuration mode.
This example shows how to exit the CLI.
Related Commands
|
|
---|---|
exporter
To add an existing flow exporter to a specific flow monitor and save it in the running configuration, use the exporter command. To remove the flow exporter for a specific flow monitor, use the no form of this command.
Syntax Description
Defaults
Command Modes
CLI flow monitor configuration (config-flow-monitor)
Command History
|
|
Examples
This example shows how to add the flow exporter called Exportv9 and save it in the running configuration:
This example shows how to remove the flow exporter called Exportv9: