Cisco MWR-1900-27 Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 46
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
BRKNMS-2784_c1
27
Velocity Templates: Example
#set( $wanDescription = $!{dsobj.getValue('IOSwandescription')} )
#set( $wanIPAddress = $!{dsobj.getValue('IOSwanipaddress')} )
#set( $wanNetmask = $!{dsobj.getValue('IOSwannetmask')} )
#set( $intfSpeed = $!{dsobj.getValue('IOSintfspeed')} )
#set( $duplex = $!{dsobj.getValue('IOSduplex')} )
!
interface FastEthernet 0/0
description $wanDescription
ip address $wanIPAddress $wanNetmask
speed $intfSpeed
duplex $duplex
no ip directed-broadcast
no shutdown
load-interval 30
no cdp enable
!
#if($snmpComm1 != "")
snmp-server community $snmpComm1 view SNMPbugfix RO 99
#end
#if($snmpComm2 != "")
snmp-server community $snmpComm2 view SNMPbugfix RO 99
#end
!
#set($fxsPortList=[0..$count])
#set($dpid = 1)
#foreach($port in $fxsPortList)
dial-peer voice $dpid pots
service mgcpapp
port 2/$port
#set($dpid=$dpid+1)
#end
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 45 46

Comentarios a estos manuales

Sin comentarios