Cisco MWR-1900-27 Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 46
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
BRKNMS-2784_c1
26
#set( $ip_digits = [1..10] )
#foreach( $ip_d in $ip_digits )
ip route 30.0.0.$ip_d 255.255.255.255 10.0.0.2
#end
Loops and Range Operators
#if ( $ip_address_needed == "YES" &&
$no_atm_keepalive == "YES")
ip address 10.10.1.1 255.255.255.0
no atm ilmi-keepalive
#else
no ip address
#end
#if ( $ip_address_needed == "YES" )
ip address 10.10.1.1 255.255.255.0
#if ( $no_atm_keepalive == "YES")
no atm ilmi-keepalive
#end
#else
no ip address
#end
Nested Conditions
#set( $vpi = 101 ) - Digits
#set( $encap = "aal5snap" ) - Strings
#set( $subnetmask = "$!
{dsobj.getValue('IOSipaddress')}")
– Substitute template attribute
Variables
Compound Conditions
Velocity Templates: Variables and
Logical Conditions
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential C97-504880-00
26
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 45 46

Comentarios a estos manuales

Sin comentarios