
Purpose
Command or Action
RP/0/RP0/CPU0:router(config-if-pre)# ipv4 address
192.168.1.2/32
Configure additional interface parameters, as described in
this manual in the configuration chapter that applies to the
type of interface that you are configuring.
Step 4
Saves configuration changes.
Do one of the following:
Step 5
•
end
• When you issue the
end
command, the system prompts
you to commit changes: Uncommitted changes found,
commit them before exiting (yes/no/cancel)?
•
•
commit
best-effort
• Entering
yes
saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to XR EXEC mode.
Example:
RP/0/RP0/CPU0:router(config-if-pre)# end
• Entering
no
exits the configuration session and
returns the router to XR EXEC mode without
committing the configuration changes.
Example:
Example:
• Entering
cancel
leaves the router in the current
configuration session without exiting or
committing the configuration changes.
RP/0/RP0/CPU0:router(config-if-pre)# commit
• 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.
(Optional) Displays the configuration information currently
running on the router.
show running-config
Example:
Step 6
RP/0/RP0/CPU0:router# show running-config
Configuration Examples for Preconfiguring Physical Interfaces
This section contains the following example:
Preconfiguring an Interface: Example
The following example shows how to preconfigure a basic Ethernet interface:
RP/0/RP0/CPU0:router#
configure
RP/0/RP0/CPU0:router(config)#
interface preconfigure
ten
GigE 0/1/0/0
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
7
Preconfiguring Physical Interfaces
Configuration Examples for Preconfiguring Physical Interfaces