Cisco IOS-XR Interface and Hardware Component Configuration Guide, Release 2.0
Chapter 5: Preconfiguring Interfaces

Table Of Contents

Preconfiguring Interfaces

Interface Preconfiguration Command

Preconfiguring a CRS-1 Series POS Interface

Prerequisites

Additional References

Related Documents

Technical Assistance

Glossary


Preconfiguring Interfaces


This chapter describes how to preconfigure interfaces for the CRS-1 Series system.

Preconfiguration is the process of configuring interfaces before they are present in the CRS-1 Series system. Preconfigured interfaces are not verified or applied until the actual interface with the matching location (R/S/M) is inserted into the router. When the anticipated line card is inserted and the interfaces are created, the precreated configuration information is verified and, if successful, immediately applied to the CRS-1 Series router's running configuration.

Preconfigurations also reduce downtime when adding new cards to the CRS-1 Series system. With preconfiguration, the new line card can be instantly configured and actively running during line card boot up.

Another advantage of performing a preconfiguration is that during an Online Insertion and Removal (OIR), when the line card is removed, you can still see the configuration it had and make modifications.

The preconfiguration information is created in a different CRS-1 Series System Database tree (known as the preconfiguration directory on the RP) rather than with the regularly configured interfaces.

Preconfigured interfaces are not verified or applied until the PLIM type of the line card inserted in the slot matches the preconfiguration information (as a means for preventing a preconfigured POS card from being applied to a Gigabit Ethernet card, for example, in the same slot). The show platform command lists the PLIM type for all inserted PLIMs. When the anticipated line card is inserted and the interfaces are created, the precreated configuration information is automatically verified, and if successful, immediately applied to the router's running configuration.


Note Only physical interfaces and their subinterfaces can be preconfigured.


Interface Preconfiguration Command

Interfaces that are not yet present in the CRS-1 Series system can be preconfigured with the following global mode configuration command:

interface preconfigure interface-name [option]

where

interface-name is the name of the interface that will be created (for example, POS 1/0/0/1);

This command takes the user to interface submode. Users should be able to add any possible interface subcommands. The verifiers registered for the preconfigured interfaces will verify the configuration. It is possible that some configuration cannot be verified until the line card is inserted. The preconfiguration is complete when the user enters end, or any matching exit or global command.

For example:

interface preconfigure POS 0/7/0/0
ipv4 address 192.168.255.255
no ipv6 unnumbered


Note Do not enter the no shutdown command for new preconfigured interfaces because "no" removes the existing configuration, and there is no existing configuration.


Users are expected to provide names during preconfiguration that will match the name of the interface that will be created. If the interface names do not match, then when the interface is created the preconfiguration cannot be applied. The interface names must begin with the interface type that is supported by the CRS-1 Series system and for which drivers have been installed. However, the slot, port, subinterface number, and channel interface number information cannot be validated.

Also, specifying an interface name that already exists and is configured (or an abbreviated name like e0/3/0/0) is not permitted.

Also, the option keyword is not validated against the type of the interface that is getting preconfigured.

Preconfiguring a CRS-1 Series POS Interface

Prerequisites

Before configuring POS interfaces, be sure that the following tasks and conditions are met:

The SONET controller is configured.

You know the interface IP address.

You know which PLIM card per POS linecard is installed.

You know how to apply the CRS-1 Series Generalized Interface Name Specification r/s/m/p:

interface-type rack/slot/module/port

when using the interface command.

For example, an interface with descriptor POS is uniquely described by the name POSR/S/M/P, as in:

POS 0/2/0/0, POS 0/7/0/2, and so on.

Preconfiguration drivers and files are installed. However, although it may be possible to preconfigure physical interfaces without a preconfiguration driver installed, the preconfiguration files are required in order to set the interface definition file on the router that supplies the strings for valid interface names.

SUMMARY STEPS


Step 1 Enter global configuration mode.

Step 2 Specify the new POS interface to preconfigure by entering the preconfigure interface command followed by the r/s/m/p notation.

Step 3 Configure the network address for the interface.

Step 4 Configure interface parameters and details (PPP | HDLC encapsulation, keepalive, MTU, service policy, IP load sharing, access lists, and so on).

Step 5 Commit the configuration

Step 6 Verify the configuration


DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure termninal

Example:

Router> configure terminal

Enters global configuration mode.

Step 2 

interface preconfigure interface-type r/s/m/p

Example:

Router(config)# interface preconfigure POS 0/1/0/0

Specifies the POS interface name and notation.

Step 3 

ip address ip address

Example:

Router(config-if)# ip address 192.168.255.255

Assigns an IP address and subnet mask to the interface using the ip address configuration subcommand.

Step 4 

encapsulation (hdlc | ppp}

keepalive value

Example:

Router(config-if)# encapsulation hdlc

Router(config-if)# keepalive 10 seconds

Configures interface parameters and details such as encapsulation and keepalive.

Step 5 

commit

Example:

Router# commit

Commits the target configuration to the router running configuration.

Step 6 

show interfaces

show running-configuration

Example:

Router# show interfaces POS0/1/0/0

Verifies the interface configuration.

Additional References

The following sections provide references related to interface configuration.

Related Documents

Related Topic
Document Title

Cisco IOS-XR master command reference

Cisco IOS-XR Master Commands List, Initial Release

Cisco IOS-XR interface configuration commands

Cisco IOS-XR Interface and Hardware Component Command Reference

Cisco CRS-1 Series router initial system bootup and configuration information

Cisco CRS-1 Series Carrier Routing System Getting Started Guide

Information about user groups and task IDs

Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide

Information about configuring interfaces and other components on the Cisco CRS-1 Series router from a remote Craft Works Interface (CWI) client management application.

Cisco CRS-1 Series Carrier Routing System Craft Works Interface Configuration Guide


Technical Assistance

Description
Link

Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/public/support/tac/home.shtml


Glossary

See the book-level glossary on page 95 of this guide.


Note Refer to Internetworking Terms and Acronyms for terms not included in the glossary.