Configuration Examples For Preconfiguring Physical Interfaces; Preconfiguring An Interface: Example - Cisco 6000 Series Configuration Manual

Interface and hardware component configuration guide for cisconcs 6000 series routers, ios xr release 6.4.x
Hide thumbs Also See for 6000 Series:
Table of Contents

Advertisement

Preconfiguring Physical Interfaces
Command or Action
RP/0/RP0/CPU0:router(config-if-pre)# ipv4 address
192.168.1.2/32
Step 4
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 5
Do one of the following:
• end
• commit best-effort
Example:
RP/0/RP0/CPU0:router(config-if-pre)# end
Example:
Example:
RP/0/RP0/CPU0:router(config-if-pre)# commit
Step 6
show running-config
Example:
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
Configuration Examples for Preconfiguring Physical Interfaces
Purpose
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 XR EXEC mode.
• Entering no exits the configuration session and
returns the router to XR 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.
(Optional) Displays the configuration information currently
running on the router.
7

Advertisement

Table of Contents
loading

Table of Contents