cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3638
Views
0
Helpful
3
Replies

How to write the loop command in script for nexus1kv?

jiangcaixia
Level 1
Level 1

Hi all,

I know that we can run script with run-script command in nexus1kv. But how can I write the repeated command in the script? Does nexus1kv support the loop in the script, such as for or while? I can't find the material about it. Thanks in advance!

Thanks,

Caixia

3 Replies 3

jiangcaixia
Level 1
Level 1

Any ideas?

Thanks,

Caixia

Caixia,

As far as I know its only possble to run NXOS related commands.  There's no looping command available.

The run-script is to ease one-time configuration tasks such as pre-scripting your Port Profiles etc.

What are you trying to accomplish exactly?

Robert

Thanks Robert,

I am interested in ACL feature. So I want to issue some repeated rules for one ACL to see whether there is some performance impact on ACL. I can't find the docs about analyzing it.

Thanks,

Caixia