exit

Purpose

Leave edit mode or an edit submode.

Syntax

exit

Parameters

None.

Usage Notes

Configuration changes are saved when the edit session is ended, not on leaving an edit submode. This might cause validation errors to be displayed later than expected.

Related Commands

See cancel and top.

Example

Enter an edit session for an ethernet-interface object and enter the ip submode. Add an IP address and then exit the ip submode and exit the edit session.
Console> edit ethernet-interface eth2
Console ethernet-interface:eth2> ip
Entering "ip" mode
Console ethernet-interface:eth2 ip> append address 192.168.0.200/24
Console ethernet-interface:eth2 ip> exit
Console ethernet-interface:eth2> exit
Console>