> Source: [sk30996](https://support.checkpoint.com/results/sk/sk30996)

# sk30996 - What are SecurePlatform Pro Advanced Routing Suite CLI modes?

| Property | Value |
|----------|-------|
| Solution ID | sk30996 |
| Date Created | 2005-07-12 |
| Last Modified | 2015-08-31 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Solution

The SecurePlatform Pro Advanced Routing Suite CLI (Command Line Interface) has the following five modes:

* User Execution

* Privileged Execution

* Global Configuration

* Router Configuration

* Interface Configuration

The current mode is easily discerned by examining the current command-line prompt. The CLI prompt always indicates the current mode. Modes and prompts are described in the sections that follow.

User Execution mode is the default mode the CLI assumes, when it begins execution. In User Execution mode, the prompt is "\>".

Note: The CLI may start with the *-f* parameter. If so, the commands contained in *cmd_fname* can leave the CLI in something other than User Execution mode, when command-line entry control is turned over to the user.

Within User Execution mode, the following actions are allowed:

* Querying of Advanced Routing Suite configuration state

* Querying of dynamic protocol state (for example, the number of OSPF neighbors)
* Modification of various CLI options, such as command history length, CLI events to trace, and so on.

Privileged Execution mode allows for "privileged" commands. In Privileged Execution mode, the prompt is *#* , This mode is password-protected, and is enabled as follows:   
*routerz\> enable*   
*Password: \[password\]*   
*routerz#*

Note: The CLI allows three attempts at the *Password:* prompt, before returning to the *#* prompt.

Use the *disable* command to leave Privileged Execution mode, and return to User Execution mode.  

Global Configuration mode is used to change the configuration of Advanced Routing Suite. From this mode, you can stop and start protocols and set protocol-specific parameters. You can only enter this mode from Privileged Execution mode, with the configure-terminal command. When this mode is entered, the prompt changes to *(config)#* , as shown below:   
*routerz\> enable*   
*Password: \[password\]*   
*routerz# configure terminal*   
*routerz(config)#*

Unless otherwise noted, configuration changes entered in this mode are made immediately upon pressing *Enter* . To exit Global Configuration mode and return to Privileged Execution mode, use the *exit* or *end* command, or type *Ctrl+z* . All three are synonymous.   
*routerz(config)# end*

Router Configuration mode is used to change the protocol state on a specific router. This mode is entered with the following:   
*router protocol_name*

For example, type the following to enter Router Configuration mode for the ICMP protocol:   
*routerz(config)# router icmp*   
*routerz(config-icmp)#*

The prompt changes to *(config-\[protocol_name\])#* in Router Configuration mode. To exit Router Configuration mode and return to Global Configuration mode, use the *exit* command:   
*routerz(config-icmp)# exit*   

Interface Configuration mode is used to change protocol state on a specific interface. Enter this mode by typing the following at the *(config)#* prompt:   
*interface \[ if-type if-number \| if-name \]*

For example, type the following to enter Interface Configuration mode for the physical interface ppp-interface-0:   
*routerz(config)# interface ppp-interface-0*   
*routerz(config-if)#*

The prompt changes to *(config-if)#* in Interface Configuration mode. To exit Interface Configuration mode and return to Global Configuration mode, use the *exit* command:   
*routerz(config-if)# exit*

Refer to *SecurePlatform Pro Advanced Routing Suite CLI Reference Guide* ([R60](http://supportcontent.checkpoint.com/documentation_download?id=5517), [R61](http://supportcontent.checkpoint.com/documentation_download?id=6401), [R62](http://supportcontent.checkpoint.com/documentation_download?id=6835), [R65](http://supportcontent.checkpoint.com/documentation_download?id=7254), [R70](http://supportcontent.checkpoint.com/documentation_download?id=8743), [R71](http://supportcontent.checkpoint.com/documentation_download?id=10313), [R75](http://supportcontent.checkpoint.com/documentation_download?id=11666), [R75.20](http://supportcontent.checkpoint.com/documentation_download?id=12262), [R75.40](http://supportcontent.checkpoint.com/documentation_download?id=13941), [R75.40VS](http://supportcontent.checkpoint.com/documentation_download?id=16441), [R76](http://supportcontent.checkpoint.com/documentation_download?id=22906), [R77](http://supportcontent.checkpoint.com/documentation_download?id=24835)).

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
