Cisco CRS-1 - Carrier Routing System Router Getting Started Manual page 76

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 3
CLI Tips, Techniques, and Shortcuts
Wildcards, Templates, and Aliases
To display the results of the previously applied templates, enter the show running-config command:
RP/0/RP0/CPU0:router# show running-config
hostname mibtwister
#new hostname set by apply bar
template bar (abc cde )
hostname $abc
fault manager policy %wd_default_cpu.tcl system
fault manager policy $cde system
logging trap
logging trap informational
logging console debugging
logging history size 1
logging history warnings
logging monitor debugging
logging buffered 16384
end-template
template tmplt_1
interface preconfigure pos0/1/0/2
ipv4 address 10.2.3.4 255.255.255.0
!
end-template
.
.
.
fault manager policy %wd_default_cpu.tcl system
fault manager policy %wd_default_mem.tcl system # substituted
logging trap
logging trap informational
logging console debugging
logging history size 1
logging history warnings
logging monitor debugging
logging buffered 16384
.
.
.
interface preconfigure pos0/1/0/2 # set by apply tmplt_1
ipv4 address 10.2.3.4 255.255.255.0
!
.
.
.
Examples
In the following example, a simple template is defined. The template contents are then displayed with
the show running-config template-name command:
RP/0/RP0/CPU0:router(config)# template tmplt_1
RP/0/RP0/CPU0:router(config-TPL)# interface pos0/2/0/4
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.2.3.4 255.255.255.0
RP/0/RP0/CPU0:router(config-if)# exit
RP/0/RP0/CPU0:router(config-TPL)# end-template
RP/0/RP0/CPU0:router(config)# exit
RP/0/RP0/CPU0:router# show running-config template tmplt_1
interface pos0/2/0/4
ipv4 address 10.2.3.4 255.255.255.0
!
end-template
interface pos0/2/0/4
ipv4 address 10.2.3.4 255.255.0.0
!
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
3-16

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents