Levitra 20mg with dapoxetine 60mg pills $87.00 This tutorial will show you how to make config changes with a simple tcl script and invoke the script from an IOS menu. Levitra 20mg with dapoxetine 60mg pills $87.00 I was recently presented with a scenario where the FXO ports on a customer router were not receiving the supervisory disconnect from the PBX.
 
Until I find a way to auto reset the ports with EEM and the long call duration flag, levitra 20mg with dapoxetine 60mg pills $87.00 the temporary solution is to create a menu where the customer can view call durations and reset voice-ports with a menu. Levitra 20mg with dapoxetine 60mg pills $87.00 The tcl script performs a ‘shut’ and ‘no shut’ on the voice port.
 

Levitra 20mg with dapoxetine 60mg pills $87.00  
 
menu
 
 

Create scripts and menus


 

  1. Store tcl scripts in flash to make changes to the config. Levitra 20mg with dapoxetine 60mg pills $87.00
     
    Example:
    reset-000.tcl – resets voice-port 0/0/0
    reset-001.tcl – resets voice-port 0/0/1
     
  2. Create menu options that prompts the users to make changes.
     
    menu VOICE_RESET title @ Voice Menu @
    menu VOICE_RESET text 1 View active calls
    menu VOICE_RESET command 1 show call active voice brief
    menu VOICE_RESET options 1 pause
    menu VOICE_RESET text 2 Reset voice-port 0/0/0
    menu VOICE_RESET command 2 tclsh flash:reset-000.tcl
    menu VOICE_RESET options 2 pause
    menu VOICE_RESET text 3 Reset voice-port 0/0/1
    menu VOICE_RESET command 3 tclsh flash:reset-001.tcl
    menu VOICE_RESET options 3 pause
    menu VOICE_RESET text q Exit
    menu VOICE_RESET command q exit
    menu VOICE_RESET clear-screen
    menu VOICE_RESET line-mode
    menu VOICE_RESET single-space
     

Levitra 20mg with dapoxetine 60mg pills $87.00  
Use the ‘menu VOICE_RESET’ command to initiate the menu or the username autocommand
 
username bill password 123455
username bill autocommand menu VOICE_RESET
 
 
Note: Click here for a Primary / Backup internet menu
 

Minimal Tcl command reference.


Basic Tcl commands that correlate directly to exec and config modes in IOS:

  • exec – Issue exec level commands
  • ios_config – Issue config level commands.

Levitra 20mg with dapoxetine 60mg pills $87.00  
To test, levitra 20mg with dapoxetine 60mg pills $87.00 enter ‘tclsh’ in exec mode on a router. Levitra 20mg with dapoxetine 60mg pills $87.00

Router#tclsh
Router(tclsh)#exec “show version”
Router(tclsh)#ios_config “interface Fa0/0” “no keepalive”

Levitra 20mg with dapoxetine 60mg pills $87.00  
 
 

The Tcl script


 
This Tcl script will restart voice-port 0/0/0

tclsh

Levitra 20mg with dapoxetine 60mg pills $87.00 ios_config “voice-port 0/0/0” “shut”

Levitra 20mg with dapoxetine 60mg pills $87.00 after 20

Levitra 20mg with dapoxetine 60mg pills $87.00 ios_config “voice-port 0/0/0” “no shut”

Levitra 20mg with dapoxetine 60mg pills $87.00  
 
 

Optional method of creating a tcl script.


Tcl scripts can be created within the Tcl shell…if you don’t want to use tftp.
 
1.Enter Tool Command Language shell

Levitra 20mg with dapoxetine 60mg pills $87.00 tclsh

Levitra 20mg with dapoxetine 60mg pills $87.00  
 
2. Levitra 20mg with dapoxetine 60mg pills $87.00 Use tcl commands to create the ‘reset-000.tcl’ file in flash.

Levitra 20mg with dapoxetine 60mg pills $87.00 puts [open flash:reset-000.tcl w+] {

Levitra 20mg with dapoxetine 60mg pills $87.00 tclsh

Levitra 20mg with dapoxetine 60mg pills $87.00 ios_config “voice-port 0/0/0” “shut”

Levitra 20mg with dapoxetine 60mg pills $87.00 after 20

Levitra 20mg with dapoxetine 60mg pills $87.00 ios_config “voice-port 0/0/0” “no shut”

Levitra 20mg with dapoxetine 60mg pills $87.00 }

Levitra 20mg with dapoxetine 60mg pills $87.00  

Be Sociable, levitra 20mg with dapoxetine 60mg pills $87.00 Share!

Average Rating: 4.5 out of 5 based on 179 user reviews.