Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Cisco EEM - How to configure kron to FTP

Cisco EEM - How to configure kron to FTP 4 years 10 months ago #37639

  • apit
  • apit's Avatar
  • Offline
  • Senior Member
  • Posts: 227
  • Karma: 0

Attachment cl_multi_pipe.txt not found


hi..this is my problem...
I want to sent output piping command from switch to ftp server..Below are the step that i have done :

1- Copy script cl_multi_pipe.tcl to my switch (Cisco catalyst WS-C3560E-12SD , IOS : 12.2(55)SE). This TCL script will allow multiple piping from cisco command line to be sent to ftp server.
C3560G#dir
Directory of flash:/


2 -rwx 3096 Oct 28 2011 23:59:02 +08:00 multiple-fs
3 -rwx 3857 Oct 28 2011 23:59:02 +08:00 private-config.text
4 -rwx 5716 Oct 28 2011 23:59:01 +08:00 config.text
5 -rwx 8916 Jul 25 2011 16:12:38 +08:00 vlan.dat
443 -rwx 4524 Nov 18 2011 15:09:34 +08:00 cl_multi_pipe.tcl
6 drwx 512 Nov 12 2010 15:31:05 +08:00 c3560e-universalk9-mz.122-55.SE


57931776 bytes total (39990272 bytes free)

2- Create event manager directory & policy
C3560G#sh ru | b event
event manager directory user policy "flash:/"
event manager policy cl_multi_pipe.tcl
!
end

3- At the same time i already configure kron & command to push text file to my ftp server. This task cannot be done because kron cannot accept double pipe ( i guest ?)
kron occurrence PipeOut at 15:00 sun recurring
policy-list PipeOut
!

kron policy-list PipeOut
cli show version | i uptime | redirect ftp://172.17.30.1/uptime.txt

The idea is to use Cisco EEM features to do the double pipe command. How to configure EEM so that the task will run automatically just like kron schedule ?

Please advice.

Thanks
Last Edit: 4 years 10 months ago by apit.
The administrator has disabled public write access.
Time to create page: 0.072 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup