Cisco MDS 9000 Family Command Reference, Release 1.0(2a)
E Commands

Table Of Contents

E Commands

end

exit


E Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. Please see the Command Mode section to determine the appropriate mode for each command. For more information, see the Cisco MDS 9000 Family Configuration Guide.

end

exit

end

To exit any of the configuration modes and return to EXEC mode, use the end command

end

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

Configuration mode

Usage Guidelines

You can also press Ctrl-Z to exit configuration mode.

Examples

The following example changes the name to george. Entering the end command causes the system to exit configuration mode and return to EXEC mode.

switch-config# hostname george
switch-config# end
switch#

Related Commands

Command
Description

hostname

Specifies or modifies the host name for the network server.

exit

Exits configuration mode, or any of the configuration modes


exit

To exit any configuration mode or close an active terminal session and terminate the EXEC, use the exit command at the system prompt.

exit

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

Available in all command modes except switchport.

Usage Guidelines

Use the exit command at the EXEC levels to exit the EXEC mode. Use the exit command at the configuration level to return to privileged EXEC mode. Use the exit command in interface configuration mode to return to configuration mode. You also can press Ctrl-Z, or use the end command, from any configuration mode to return to EXEC mode.


Note The exit command is associated with privilege level 0. If you configure AAA authorization for a privilege level greater than 0, this command will not be included in the command set for that privilege level.



Note This command does not work at the switchport# prompt.


Examples

The following example displays an exit from the interface configuration mode for VRRP to return to the interface configuration mode:

switch-config-if-vrrp# exit 
switch-config-if#

The following example displays an exit from the interface configuration mode to return to the configuration mode:

switch-config-if# exit 
switch-config#

The following example shows how to exit an active session (log-out):

switch# exit

Related Commands

Command
Description

disconnect

Disconnects a line

end

Returns you to EXEC mode.