Cisco Cisco CNS Configuration Engine 2.0 Prospecto
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
Presentation_ID
32
Velocity Templates - Example
New parameter Format
$!{dsobj.getValue(
'IOSsubnetmask
')} – Template attribute
Variable
#set(
$vpi
= 101 ) - Digits
#set(
$encap
= "aal5snap" ) - Strings
#set(
$subnetmask
= "$!{dsobj.getValue('IOSipaddress')}") – Substitute template
attribute
Nested Condition
#if (
$ip_address_needed
== "YES" )
ip address 10.10.1.1 255.255.255.0
#if (
#if (
$no_atm_keepalive
== "YES")
no atm ilmi-keepalive
#end
#else
no ip address
#end