[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Switching Between Operational Mode and Configuration Mode

When you monitor and configure a router, you may need to switch between operational mode and configuration mode. When you change to configuration mode, the command prompt also changes. The operational mode prompt is a right angle bracket (>) and the configuration mode prompt is a pound sign (#).

To switch between operational mode and configuration mode:

  1. When you log in to the router and type the cli command, you are automatically in operational mode:
  2. To enter configuration mode, type the configure command or the edit command from the CLI operation mode. For example:

    The CLI prompt changes from user@host> to user@host# and a banner appears to indicate the hierarchy level.

  3. You can return to operational mode in one of the following ways:

    When you exit configuration mode, the CLI prompt changes from user@host# to user@host> and the banner no longer appears. You can enter or exit configuration mode as many times as you wish without committing your changes.

  4. To display the output of an operational mode command, such as show, while in configuration mode, issue the run configuration mode command and then specify the operational mode command:

    For example, to display the currently set priority value of the Virtual Router Redundancy Protocol (VRRP) primary router while you are modifying the VRRP configuration for a backup router:


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]