Pethlehemm Posted November 3, 2008 Share Posted November 3, 2008 I'm not sure that this goes to right place but I try nevertheless. What I would like to know is that, is it possible to control Layer 2 Switch ports using PHP through SNMPv2? The idea is to turn ports on/off through web application. Like I said, I am not even sure that this is possible but any idea would be welcomed. Link to comment https://forums.phpfreaks.com/topic/131267-is-it-possible-to-manage-layer-2-switch-ports-with-php/ Share on other sites More sharing options...
trq Posted November 3, 2008 Share Posted November 3, 2008 There is an snmp extension if that is any help to you. Link to comment https://forums.phpfreaks.com/topic/131267-is-it-possible-to-manage-layer-2-switch-ports-with-php/#findComment-681558 Share on other sites More sharing options...
Pethlehemm Posted November 3, 2008 Author Share Posted November 3, 2008 I have thought of it but I'm not sure that it allows to control ports. Are there any code examples? I know I sound greedy at the moment but we don't have any PHP experts in our company (we are rather small)... Link to comment https://forums.phpfreaks.com/topic/131267-is-it-possible-to-manage-layer-2-switch-ports-with-php/#findComment-681574 Share on other sites More sharing options...
trq Posted November 3, 2008 Share Posted November 3, 2008 Ive never used it I'm sorry. You'll need to look at the examples within the man page I pointed to (if there are any). Link to comment https://forums.phpfreaks.com/topic/131267-is-it-possible-to-manage-layer-2-switch-ports-with-php/#findComment-681616 Share on other sites More sharing options...
Pethlehemm Posted November 4, 2008 Author Share Posted November 4, 2008 I found out that PHP doesn't have anything for this kind of job. But does anyone knows some other way to accomplish this? Link to comment https://forums.phpfreaks.com/topic/131267-is-it-possible-to-manage-layer-2-switch-ports-with-php/#findComment-681936 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.