Enter Configuration Mode
If many users enter configuration mode at the same time, everyone can make configuration changes and commit all changes. If one user enters configuration mode when another user is also in configuration mode, a message indicates who the user is and what portion of the configuration that user is viewing or editing. To enter configuration mode, use the following CLI command:
user@host>configureEntering configuration modeCurrent configuration users:root terminal p3 (pid 1088) on since 1999-05-13 01:03:27 EDT[edit interfaces so-3/0/0 unit 0 family inet]The configuration has been changed but not committed
- If, when you enter configuration mode, the configuration contains changes that have not been committed, a message appears:
user@host>configureEntering configuration modeThe configuration has been changed but not committedIf, while in configuration mode, you try to make a change while the configuration is locked by another user, a message indicates that the configuration database is locked, who the user is, and what portion of the configuration the user is viewing or editing: user@host#set system host-name ipswitcherror: configuration database locked by:user2 terminal d0 (pid 1828) on since 19:47:58 EDT, idle 00:02:11exclusive [edit protocols]If you enter configuration mode with the configure exclusivecommand, you lock the candidate configuration for as long as you remain in configuration mode, allowing you to make changes without interference from other users. If another user is also in configuration mode and has the configuration locked, a message indicates who the user is and what portion of the configuration the user is viewing or editing:user@host>configure exclusiveEntering configuration modeUsers currently editing the configuration:root terminal p3 (pid 1088) on since 2000-10-30 19:47:58 EDT, idle 00:00:44exclusive [edit interfaces so-3/0/0 unit 0 family inet]