Chapter 5
CLI Tips, Techniques, and Shortcuts
--------------------------------------------------------------------------------
Creating Configuration Templates
Configuration templates allow you to create a name that represents a group of configuration commands.
After a template is defined, it can be applied to interfaces by you or other users. As networks scale to
large numbers of nodes and ports, the ability to configure multiple ports quickly using templates can
greatly reduce the time it takes to configure interfaces.
The two primary steps in working with templates are creating templates and applying templates. The
following procedure describes how to create a configuration template.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
OL-17502-01
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
Name
Gi0/1/0/0
Gi0/1/0/1
Gi0/1/0/2
Gi0/1/0/3
Gi0/1/0/4
Gi0/1/0/5
Gi0/1/0/6
Gi0/1/0/7
Gi0/1/0/8
Gi0/1/0/9
Gi0/1/0/10
Gi0/1/0/11
Gi0/1/0/12
Gi0/1/0/13
Gi0/1/0/14
Gi0/1/0/15
configure
template template-name [($parameter $parameter...)] [config-commands]
Type the template commands.
end-template
commit
show running-config template template-name
State
State
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
up
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Wildcards, Templates, and Aliases
Type (byte)
(Kbps)
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
HDLC
4474
2488320
5-13