With the PICK-BCAM-INFO command you can filter the SYSOUT output of BCAM-SHOW commands and BCAM tools for a specific string. Only the relevant elements will be output.
You can apply PICK-BCAM-INFO to the following commands and tools:
BCSHOW
All BCAM SHOW-xxx commands
The tools NETSTAT, NSLOOKUP, PING4 and PING6
This command is based on existing openNet Server functions.
PICK-BCAM-INFO can only be used in dialogue and is used for diagnostics.
This command can be run with every account.
The alias name for PICK-BCAM-INFO is PKBCI.
BS2000 console | BS2000-SDF command | Command/SOF file | SNMP management | Parameter service |
x |
List of valid command sources
PICK-BCAM-INFO / PKBCI |
CMD=<text 0..1800 case sensitive> / <c-string 0..1800> ,SEARCH = *NONE / <text 0..1800 case sensitive> ,OUTPUT = *SYSOUT / <filename_1..54> |
CMD=<text 0..1800 case sensitive> / <c-string 0..1800>
specifies the command or tool, in whose output a string should be searched.
OUTPUT=...
Specifies the output medium.
OUTPUT=*SYSOUT
The output is sent to SYSOUT.
OUTPUT=<filename_1..54>
Output takes place to a file with the specified name. The specified file is overwritten, if it already exists.
SEARCH=...
specifies the search string that is to be searched for in the output information. Wildcards are supported.
SEARCH=*NONE
There is no search string specified, i.e. the complete command or tool output is shown in SYSOUT format.
SEARCH=<text 0..1800 case sensitive>
String to be searched for. Only (logical) rows that contain the specified string are shown.
Command logging
Usually, an output is created for the requested information.
For the description of the possible error messages during command processing, please see the following table.
Command return codes
(SC2) | Maincode | Bedeutung |
| CMD0001 | No error |
| CMD0202 | Syntax error |
Note
Due to procedural command processing, there are no detailed command return codes. An output will always be created, unless a syntax error was found in the command.
Example
Information output on the netstat tool:
/PICK-BCAM-INFO CMD=netstat,SEARCH=L#LAN