Configure the Router with the CLI
To configure the router, including the routing protocols, router interfaces, network management, and user access, you must enter a separate mode called configuration mode. Do this by issuing the
configureoperational mode command.In configuration mode, the command-line interface (CLI) provides commands to configure the router, load a text (ASCII) file that contains the router configuration, activate a configuration, and save the configuration to a text file.
This chapter discusses the following topics:
- Configuration Statement Hierarchy
- How the Configuration Is Stored
- Enter Configuration Mode
- Configuration Mode Prompt
- Configuration Mode Banner
- Configuration Statements and Identifiers
- Get Help about Configuration Mode Commands, Statements, and Identifiers
- Create and Modify the Configuration
- Move among Levels of the Hierarchy
- Exit Configuration Mode
- Display the Current Configuration
- Display Users Currently Editing the Configuration
- Remove a Statement from the Configuration
- Use Regular Expressions to Remove Related Configuration Items
- Copy a Statement in the Configuration
- Rename an Identifier
- Insert a New Identifier
- Run an Operational Mode CLI Command from Configuration Mode
- Display Configuration Mode Command History
- Verify a Configuration
- Commit a Configuration
- Synchronize Routing Engines
- Save a Configuration to a File
- Load a Configuration
- Return to a Previously Committed Configuration
- Return to the Rescue Configuration
- Configuration Mode Error Messages
- Deactivate and Reactivate Statements and Identifiers in a Configuration
- Add Comments in a Configuration
- Have Multiple Users Configure the Software
- Example: Use the CLI to Configure the Router
- Additional Details about Specifying Statements and Identifiers
For information about the configuration statements to use to configure particular system functionality, see the chapter about that feature.