Jump to content

PHP and Cisco IOS


lynxus

Recommended Posts

Hi guys,

 

With perl theres a library that can do telnet and ssh to Cisco IOS devices ( IE: can enable up and run commands correctly and die of it doesnt take )

 

Does PHP have something like this?

 

I currently have a bunch of scripts that echo Cisco IOS config back to me so i can paste the config onto a router ( for IOS load balancers, switches and routers ) This building up a big layer3 and layer2 network over a current network ..

 

ANYWAY.

 

Rather than echoing, id like to get this to apply the config to the device itself.

Id rather not use perl , mainly because i dont like it but because id rather have everything php.

 

So, is there anything outthere that can do this in php?

 

Ie:

nclude someciscishint;

 

connect -> 0.0.0.0;

username -> moo;

pasword -> baa;

enablepw -> boo;

 

sendcommand -> en;

sendcommand -> conf t;

sendcommand -> int blaa;

etc etc etc etc

 

Any ideas?

 

Edit: Looks like i may of asked this a while ago.. Maybe something new has come out since?

 

Thanks

Graham

 

Link to comment
https://forums.phpfreaks.com/topic/168598-php-and-cisco-ios/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.