beautypg.com

List log, List lun, List log list lun – HP MPX200 Multifunction Router User Manual

Page 29: Syntax, Keywords, Example

background image

list log

The list log command displays all log data from a file or a running system, filtered according
to severity and search text.

NOTE:

To view a limited set of log data, use the view log command.

Syntax

list log

If neither -find nor -severity keywords are specified, all log entries are displayed.

Keywords

If used with -csv_file, specifies use of a delimiter other than comma (,).

-csv_delimiter=

Specifies the name of a file to receive comma separated text.

-csv_file=

Indicates a file containing log data. If no directory is specified, the default is the
working directory.

-file=

If -file is not specified, log data from the router is obtained and displayed.

Specifies a text string to search for within the log data list.

-find=

Specifies a severity by which to filter log data. Values are:

-severity=

error

info

trace

warning

Example

c:\> rcli list log -file=logdata.dat -severity=info /ip=10.0.0.12
[10.0.0.12]
INFO 04/07/2010 01:04:40 UserApp #1027: qapisetisns_1_svc:iSNS
configuration changed

list lun

The list lun command lists the names of all LUNs known to the router. The output can be copied
and pasted into other commands that use LUNs as input.

NOTE:

To view details for a specific LUN, use the show lun command.

Syntax

list lun

Example

c:\> rcli list lun
Target "5001-4380-025D-A83A"
VP Group 1
-lun_number=0 -vpgindex=1 -fc_target=5001-4380-025D-A83A
-lun_number=1 -vpgindex=1 -fc_target=5001-4380-025D-A83A
-lun_number=2 -vpgindex=1 -fc_target=5001-4380-025D-A83A
-lun_number=3 -vpgindex=1 -fc_target=5001-4380-025D-A83A
-lun_number=4 -vpgindex=1 -fc_target=5001-4380-025D-A83A
VP Group 2
-lun_number=0 -vpgindex=2 -fc_target=5001-4380-025D-A83A
VP Group 3
-lun_number=0 -vpgindex=3 -fc_target=5001-4380-025D-A83A

list log

29