Hi everyone,
I'm trying to send a command through ssh , so far so good i understand how to send the command,
what iam trying to do :
When i receive a trigger event of an interface that goes down often i want to send 2 ssh command, but i need to call the interface of the network devices that was triggered and this is i don't know where to start ? or if it is even possible.
I can send a general ssh command it is working but have no clue how to call the interface that was triggered.
What im trying to send :
test cable-diagnostics tdr interface "the interface name"
delay of like 10 sec
show cable-diagnostics tdr interface "the interface name"
Best regards,
Patrick Denis
I'm trying to send a command through ssh , so far so good i understand how to send the command,
what iam trying to do :
When i receive a trigger event of an interface that goes down often i want to send 2 ssh command, but i need to call the interface of the network devices that was triggered and this is i don't know where to start ? or if it is even possible.
I can send a general ssh command it is working but have no clue how to call the interface that was triggered.
What im trying to send :
test cable-diagnostics tdr interface "the interface name"
delay of like 10 sec
show cable-diagnostics tdr interface "the interface name"
Best regards,
Patrick Denis
Comment