Search found 3 matches

by ssherman68
11 Apr 2024 12:26
Forum: OmniVista 2500 v4.x
Topic: Help with OV CLI Scripting & Javascript
Replies: 4
Views: 3395

Re: Help with OV CLI Scripting & Javascript

After a bunch of learning and testing I came up with a function that issues a command, takes the response, strips out the command and extraneous characters & also does some error checking. I decided to split the command into 3 variables: 1. the command itself, 2. input to the command such as a port ...
by ssherman68
04 Apr 2024 19:02
Forum: OmniVista 2500 v4.x
Topic: Help with OV CLI Scripting & Javascript
Replies: 4
Views: 3395

Re: Help with OV CLI Scripting & Javascript

Thank you Holger. You're right. After looking at your reply re-running my test script and re-interpreting the output of the cli script log it actually is outputting the command and then the results of the command below. I was mis-interpreting those results as an artifact of the script logging and ...
by ssherman68
28 Mar 2024 14:05
Forum: OmniVista 2500 v4.x
Topic: Help with OV CLI Scripting & Javascript
Replies: 4
Views: 3395

Help with OV CLI Scripting & Javascript

I’m trying to use OV CLI scripting with Javascript. I’m trying to use the cli.lastResponse method to gather the output of the show chassis chassis-id x command. According to the OV 2500 4.7 User Guide this is supposed to “returns a string that represents the switch output from the last command the ...

Go to advanced search