end

To end the current configuration session and return to EXEC mode, use the end command.

end

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

This command returns you to EXEC mode regardless of which configuration mode you are in. Use this command when you are done configuring the system and you want to return to EXEC mode to perform verification steps.

Examples

This example shows how the end command is used to exit from interface configuration mode and return to EXEC mode. A show command is used to verify the configuration.

switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# switchport host
switch(config-if)# end
switch# show interface ethernet 1/1
 

Related Commands

Command
Description
exit (EXEC)
Terminates the active terminal session by logging off the switch.
exit (global)
Exits from the current configuration mode.