Posts

Showing posts from December 12, 2010

Mirotik queue change through API

I was implementing time based queue change. Rather than using mikrotik in-built scheduler i thought to execute a crontab through central location. Therefore i tried with except scripting but with telnet it failed or not working properly. I think the returned results might have any color coding input. while searching i stumble on the mikrotik perl api written by Hugh [URL:http://forum.mikrotik.com/viewtopic.php?f=8&t=22744]. i just edited the example code as follows. this is the upgrade this will be edited for the download. #!/usr/bin/perl -w #to define the api. BEGIN {push @INC, '/root/upgradefolder'} use Mtik ; $mtik_host = "192.168.28.49"; $mtik_user = "user_script"; $mtik_passwd = "passwordscript"; my(@cmd); push(@cmd,"/queue/simple/set"); push(@cmd,"=limit-at=6144000/6144000"); push(@cmd,"=max-limit=6144000/6144000"); push(@cmd,"=.id=2M"); $Mtik::debug = 0; if (Mtik::login($mtik_host,$mtik_user,$mti

CCNA Access list lab

Image
Tasks are defined in the packet trace file. 10.10.12.0/24 network ip address not bound to the PC. Otherwise this is the basic diagram. Download:http://hotfile.com/links/88950992/ac4cb5e/acl.pkt.html