beautypg.com

Find system, Generate script, Find system generate script – HP MPX200 Multifunction Router User Manual

Page 26: Syntax, Keyword, Example, Keywords

background image

Script "config_script.txt" completed OK

find system

The find system command broadcasts to discover either a specified router or all routers.

Syntax

find system

Keyword

Specifies the router type to broadcast for in the local network. Similar products may
also be found.

-product=

For example, specifying either -product=iSR6200 or -product=iSR6250
discovers all MPX200 products. When this keyword is used, it can take approximately
25 seconds to complete.

If this keyword is not used, multiple broadcasts are performed in order to locate all
product types, and can take as long as 90 seconds to complete.

Example

c:\> rcli find system

The following iSR Routers were discovered, (Count = 5)
iSR6200, 10.0.0.87, Blade1, (Peer Blade2 at 10.0.0.93)
iSR6200, 10.0.0.93, Blade2, (Peer Blade1 at 10.0.0.87)
iSR6200, 10.0.0.78, Blade1
iSR6200, 10.0.0.85, Blade2
iSR6152, 10.0.0.84

generate script

The generate script command generates an editable text file containing a script of Remote
CLI commands. Two types of scripts can be generated:

A mask script contains RCLI commands for adding all LUN masks for all known initiators and
LUNs.

A present script contains RCLI commands for presenting virtual targets for all known physical
targets.

NOTE:

This command requires router firmware Version 3.2.0.0 or later.

Syntax

generate script -type=mask | present

Keywords

Specifies the WWPN of the storage array to which to apply the commands in this
script. If this keyword is not used, the script is displayed on the console.

-array_wwpn=

Specifies the iSCSI target name of the storage array to which to apply the commands
in this script.

-array_with_is_target=

Specifies the WWULN, T10, NAA, EUI, or Page 0x80 serial number of the storage
array LUN to which to apply the commands in this script.

-array_with_lun_any_wwuln=

Specifies the EUI of the storage array LUN to which to apply the commands in this
script.

-array_with_lun_eui=

1

26

Command reference