end Verified current stable Not installed? System Operations

End / Exit Configuration Mode

Exit Configuration Mode

Exits configuration mode in device management interfaces.

$
Terminal
end

When To Use

When concluding configuration changes in a network device session to ensure no further modifications are made.

Pro Tip

Be aware that unsaved changes will be lost if you exit directly; ensure to execute 'write' prior if changes were made.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Router(config) # end
Router #

Anatomy of Output

Understanding the result

Switch# exit Command Execution

Exits the configuration mode.

Thank you for using our device management interface. Exit Confirmation

Standard message indicating successful exit.

Power User Variants

Optimized versions

end

Directly exits current mode without confirming last settings.

Troubleshooting

Common pitfalls

% Invalid input detected at '^' marker.

Solution: Ensure you are in the correct mode before exiting.

No configuration changes to save.

Solution: Execute 'write' to save changes before exiting.

% Cannot exit, device is in transition.

Solution: Wait for ongoing processes to complete before attempting to exit.

Command Breakdown

What each part is doing

end
Base Command
The executable that performs this operation. Here it runs End before the shell applies any redirect operators.

How To Run

Execution path

  1. Step 1

    Enter configuration mode if not already: `configure terminal`

  2. Step 2

    Execute the command: `end`

  3. Step 3

    Verify that you're back to the privileged EXEC mode with `show version`.

Alternative Approaches

Comparable commands in other tools

Alternative system operations tools for the same job.