Configuration Management Commands on Cisco IOS XR Software
end-template
SMR-126
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
end-template
To exit template configuration mode and return to global configuration mode, use the
end-template
command in template configuration mode.
end-template
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Template configuration
Command History
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
end-template
command to exit template configuration mode after you have completed the
template definition.
To define a template, use the
command. To apply a template to the target configuration, use
the
apply-template
command. To view the contents of a template, use the
command with the optional
template
keyword and
template-name
argument.
Task ID
Examples
The following example shows how to enter template configuration mode, define a template named
“hostname-template,” and then exit from template configuration mode:
RP/0/RP0/CPU0:router(config)#
template hostname-template
RP/0/RP0/CPU0:router(config-TPL)#
hostname router-cs1
RP/0/RP0/CPU0:router(config-TPL)#
end-template
RP/0/RP0/CPU0:router(config)#
Related Commands
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
config-services
read, write
Command
Description
Terminates a session and returns the router to EXEC mode from any
configuration mode.