You use the SHOW-BCAM-IP-RANGE command to show information on the defined BCAM IP ranges.
The alias name SHBIR exists for SHOW-BCAM-IP-RANGE.
BS2000 console | BS2000 SDF command | Command/SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-BCAM-IP-RANGE / SHBIR |
SELECT = *ALL / *IP-RANGE , OUTPUT = *SYSOUT / *SYSLST , OUTPUT-FORMAT = * STD / *GENERATING-CMD |
SELECT=...
Selects which information is to be shown.
SELECT=*ALL
Shows the IP ranges of the IP addresses for which access to BCAM is permitted.
SELECT=*IP-RANGE
Shows the IP ranges of the IP addresses for which access to BCAM is permitted.
OUTPUT=...
Defines the output medium.
OUTPUT=*SYSOUT
Output takes place to SYSOUT.
OUTPUT=*SYSLST
Output takes place to SYSLST.
OUTPUT-FORMAT=...
Defines the output format.
OUTPUT-FORMAT=*STD
The output format corresponds to the standard.
OUTPUT-FORMAT=*GENERATING-CMD
The output format corresponds to the generating commands.
Command logging
A description of the error messages that can be issued during command processing is provided in the table below.
Command return codes
(SC2) | Maincode | Meaning |
| CMD0001 | Command successfully processed |
| CMD0202 | Operand error |
| CMD0221 | System error |
| CMD0216 | Privilege not sufficient |
| BCA0203 | Interface (&00) supplies the RC (&01) |
| BCA0291 | IP range table not found |
Examples
Show the IP ranges in BCAM:
/SHOW-BCAM-IP-RANGE SELECT=*ALL
/SHOW-BCAM-IP-RANGE SELECT=*IP-RANGE
/SHOW-BCAM-IP-RANGE SELECT=*IP-RANGE,OUTPUT=*SYSLST
S variables
The command’s SELECT operand defines the S variables to which values are assigned. The possible values for SELECT are *ALL and *IP-RANGE.
Output information | Name of the S variable | Data type | Content | Condition |
Start of the permissible range of IP addresses | var(*LIST).IP-RANGE(*LIST).FROM | string | <c-string 7..15> | SEL=*ALL/*IP |
End of the permissible range of IP addresses | var(*LIST).IP-RANGE(*LIST).TO | string | <c-string 7..15> | SEL=*ALL/*IP |
Generating commands | var(*LIST).GENERATING-CMD(*LIST) | string | <text 1..256> | SEL=<any> |