script on C5

  • 0
  • 1
  • Question
  • Updated 3 years ago
Hi all.
Is it possible on a C5 to write a script (or is available a feature on it) that gets down an Eth interface if it feels another Eth interface has gone down and viceversa?

Example:
I want port 1 to go down if port 19 has gone down.
I want port 1 to go up if port 19 hos gone up.
Photo of giro

giro

  • 150 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of giro

giro

  • 150 Points 100 badge 2x thumb
any suggestion??
Photo of Andre K.

Andre K.

  • 356 Points 250 badge 2x thumb
Well. If you own the Netsight software you could create a custom alarm for the "port 19 down" snmp trap. This alarm could be configured to execute a script whenever the specified trap is received by Netsight. For script based switch configuration Enterasys had a little tool suite called "ATG Tools". That would allow to create a simple script to disable port 1. However I am currently unable to find a download source for said ATG Tools. I suppose they are discontinued!?
Photo of giro

giro

  • 150 Points 100 badge 2x thumb
I think ATG tools is no longer available and I didn't buy Netsight this time so I think I can't write any script on my C5...
Photo of Naoman Ghani

Naoman Ghani

  • 100 Points 100 badge 2x thumb
A lot more scripting work but you could use...
http://linux.die.net/man/5/snmptrapd.conf

To trap "port 19 down" and call a shell script that telnet/ssh-ed to the switch to change port 1.