You use the SHOW-ADDRESS-ASSIGNMENT command to output information about the defined BCAM gateways tables.
The alias name SHADA exists as an SDF alias for SHOW-ADDRESS-ASSIGNMENT.
This command can be executed with the STD-PROCESSING privilege.
BS2000 console | BS2000 SDF command | Command/ SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-ADDRESS-ASSIGNMENT / SHADA |
HOST-NAME = *STD / *ALL / <composed-name 1 .. 8> ,INFORMATION = *ALL / list-poss (3): *IP / *IPV6 / *ISO ,OUTPUT = *SYSOUT / *SYSLST ,OUTPUT-FORMAT = *STD / *GENERATING-CMD |
HOST-NAME=...
Defines the host.
HOST-NAME=*STD
Output takes place for the real host.
HOST-NAME=*ALL
Output takes place for all hosts.
HOST-NAME=<composed-name 1..8>
Output takes place for the specified host.
INFORMATION=...
Selects which gateway tables are to be output.
INFORMATION=*ALL
Displays all permitted BCAM gateway tables.
INFORMATION=*IP
Displays the IP gateway table.
INFORMATION=*IPV6
Displays the IPV6 gateway table.
INFORMATION=*ISO
Displays the INTF gateway table.
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
Standard output format.
OUTPUT-FORMAT=*GENERATING-CMD
The output format corresponds to the generating commands.
Command logging
A description of the error messages that may 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) returns RC (&01) |
| BCA0291 | Gateway table not found |
Examples
Show the gateway tables in BCAM for the standard host (real host):
/SHOW-ADDRESS-ASSIGNMENT INFORMATION=*ALL
/SHOW-ADDRESS-ASSIGNMENT INFORMATION=*IP
/SHOW-ADDRESS-ASSIGNMENT INFORMATION=*IP,OUTPUT=*SYSLST
S variables
The command’s INFORMATION operand defines the S variables to which values are assigned. Possible values for INFORMATION are *ALL, *IP, *IPV6 and *ISO.
Output information | Name of the S variable | Data type | Content | Condition |
Route name of the IP router route | var(*LIST).IP.RTR-ROUT-NAME | string | <c-string 1..8> | INF=*ALL/*IP |
IP address of the router route | var(*LIST).IP.RTR-IP-ADDR | string | <c-string 7..15> | INF=*ALL/*IP |
Local IP address of the router route | var(*LIST).IP.RTR-OWN-IP-ADDR | string | <c-string 7..18> | INF=*ALL/*IP |
Host name to which the IP router route was assigned | var(*LIST).IP.HOST-NAME | string | <c-string 1..8> | INF=*ALL/*IP |
IP-NET indicator | var(*LIST).IP.INDICATOR | string | *UNKNOWN/ | INF=*ALL/*IP |
Start of the permitted range of IP addresses | var(*LIST).IP.IP-RANGE.FROM | string | <c-string 7..15> | INF=*ALL/*IP |
End of the permitted range of IP addresses | var(*LIST).IP.IP-RANGE.TO | string | <c-string 7..15> | INF=*ALL/*IP |
IP address(/prefix) | var(*LIST).IP.IP-ADDR | string | <c-string 7..15> | INF=*ALL/*IP |
Route name of the IPV6 router route | var(*LIST).IPV6.RTR-ROUT-NAME | string | <c-string 1..8> | INF=*ALL/*IPV6 |
IPV6 address of the router route | var(*LIST).IPV6.RTR-IPV6-ADDR | string | <c-string 9..44> | INF=*ALL/*IPV6 |
Local IPV6 address of the router route | var(*LIST).IPV6.RTR-OWN-IPV6-ADDR | string | <c-string 9..48> | INF=*ALL/*IPV6 |
Host name to which the IPV6 route was assigned | var(*LIST).IPV6.HOST-NAME | string | <c-string 1..8> | INF=*ALL/*IPV6 |
IPV6-NET indicator | var(*LIST).IPV6.INDICATOR | string | *UNKNOWN/ | INF=*ALL/*IPV6 |
IPV6 address range defined by an IPV6 prefix | var(*LIST).IPV6.IPV6-PREFIX | string | <c-string 9..48> | INF=*ALL/*IPV6 |
Route name of the INTF router route | var(*LIST).ISO.RTR-ROUT-NAME | string | <c-string 1..8> | INF=*ALL/*ISO |
INTF address of the router route | var(*LIST).ISO.RTR-ISO-ADDR | string | <c-string 6..20> | INF=*ALL/*ISO |
Local INTF address of the INTF router route | var(*LIST).ISO.RTR-OWN-ISO-ADDR | string | <c-string 6..20> | INF=*ALL/*ISO |
Host name to which the INTF router route was assigned | var(*LIST).ISO.HOST-NAME | string | <c-string 1..8> | INF=*ALL/*ISO |
ISO-NET indicator | var(*LIST).ISO.INDICATOR | string | *UNKNOWN/ | INF=*ALL/*ISO |
INTF address range defined by an INTF address | var(*LIST).ISO.ISO-PREFIX | string | <c-string 6..20> | INF=*ALL/*ISO |
Generating command | var(*LIST).GENERATING-CMD(*LIST) | string | <text 1..256> | INF=<any> |