
or
RP/0/RP0/CPU0:router(config-if-pre)# commit
Saves configuration changes.
•When you issue the end command, the system prompts you to commit changes: Uncommitted changes found,
commit them before exiting (yes/no/cancel)?
•Entering yes saves configuration changes to the running configuration file, exits the configuration session, and
returns the router to EXEC mode.
•Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration
changes.
•Entering cancel leaves the router in the current configuration session without exiting or committing the configuration
changes.
•Use the commit best-effort command to save the configuration changes to the running configuration file and
remain within the configuration session. The commit best-effort command merges the target configuration with
the running configuration and commits only valid changes (best effort). Some configuration changes might fail
due to semantic errors.
Step 6 show running-config
Example:
RP/0/RP0/CPU0:router# show running-config
(Optional) Displays the configuration information currently running on the router.
This example shows how to preconfigure a basic Ethernet interface:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface preconfigure HundredGigE 0/3/0/24
RP/0/RP0/CPU0:router(config-if)# ipv4 address 192.168.1.2/31
RP/0/RP0/CPU0:router(config-if-pre)# commit
Information About Preconfiguring Physical Interfaces
To preconfigure interfaces, you must understand these concepts:
Use of the Interface Preconfigure Command
Interfaces that are not yet present in the system can be preconfigured with the interface preconfigure command
in global configuration mode.
The interface preconfigure command places the router in interface configuration mode. Users should be able
to add any possible interface commands. The verifiers registered for the preconfigured interfaces verify the
configuration. The preconfiguration is complete when the user enters the end command, or any matching exit
or global configuration mode command.
Interface and Hardware Component Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release
6.1.x
6
Preconfiguring Physical Interfaces
Information About Preconfiguring Physical Interfaces