Screen OS

last person joined: 8 months ago 

This is a legacy community with limited Juniper monitoring.
  • 1.  Adding multiple nodes to a group - ScreenOS6.3

    Posted 01-26-2011 02:18

    Hi

     

    Sorry for what may be a simple question, but I am having a small issue, and was hoping you would be able to help!

     

    Basically I need to add multiple hosts/nodes into a group in one go, rather than using separate lines for each host/node. For example, is it possible to use:

     

    set group address trust "New_Group" add "node1, node2, node3, node4, node5"

     

    instead of

     

    set group address trust "New_Group" add "node1"

    set group address trust "New_Group" add "node2"

    set group address trust "New_Group" add "node3"

    set group address trust "New_Group" add "node4"

    set group address trust "New_Group" add "node5"

     

    Thanks



  • 2.  RE: Adding multiple nodes to a group - ScreenOS6.3
    Best Answer

    Posted 01-26-2011 12:32

    Unfortunately that can't be done on the CLI.

     

    If you use the WebUI, however, you can click and select all your hosts and add them to the group all at once.

     

    If you need to use the CLI, you could use a text editor or some shell tricks (linux/unix) to generate the multiple lines of commands from your input and then just copy/paste the commands into the CLI.