Cisco ASR 14000 Series Management Command Reference page 219

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Configuration Management Commands on Cisco IOS XR Software
template
To create a template name and enter template configuration mode, use the template command in global
configuration mode. To remove a template definition, use the no form of this command.
Syntax Description
name
Defaults
No templates are defined.
Command Modes
Global configuration
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the template command to enter template configuration mode. From template configuration mode,
you can group a subset of configuration commands in a named template. Commonly used sets of
configuration commands can be grouped into a named template. Defining a template is similar to
creating a C macro function. A template provides modularity and ease of use during user configuration.
Use the
apply-template
optional template keyword and template-name argument to display the contents of a template.
Task ID
Task ID
config-services
Examples
The following example shows how to enter template configuration mode to create a template. In this
example, a template named "pre-pos" is defined for the preconfigured Packet-over-SONET/SDH (POS)
interface 0/1/0/1. The end-template command is used to exit from template configuration mode.
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# template pre-pos
RP/0/RP0/CPU0:router(config-TPL)# interface preconfigure pos0/1/0/0
RP/0/RP1/CPU0:router(config-if-pre)# ipv4 address 10.3.32.154 255.0.0.0
RP/0/RP1/CPU0:router(config-if-pre)# end-template
RP/0/RP0/CPU0:router(config)#
OL-17231-01
template name
no template name
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
end-template
command to exit template configuration mode. After defining a template, use the
command to apply the template. Use the
Operations
read, write
Unique name for the template to be created.
Cisco ASR 14000 Series Router System Management Command Reference
show running-config
command with the
template
SMR-217

Advertisement

Table of Contents
loading

Table of Contents