You use the /SHOW-BCAM-OBJECTS command to output a list of the BCAM objects in compact form to SYSOUT in interactive mode. This command is based on a procedure which processes information from various BCAM SHOW functions. The aim here was to provide a rapid overview of the defined BCAM objects.
The alias name for SHOW-BCAM-OBJECTS is SHBCOB.
BS2000 console | BS2000 SDF command | Command/SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-BCAM-OBJECTS / SHBCOB |
OBJECT = *ALL / list-poss (4): *HOST / *NODE / *LINE / *PROCESSOR / *ROUTE / *LINK-AGGREGATION / *VLAN-DEVICE / *VLAN-LINE / *INTERFACE ,INFORMATION = *STD / *ACTIVATE-CMDS / *CREATE-CMDS / *DEACTIVATE-CMDS / *EDIT-CMDS / *MODIFY-CMDS / *SHOW-CMDS ,EXPAND-OPERAND = *STD / *CHANGED-OPERAND ,OUTPUT = *SYSOUT / <file-name 1..54> ,FORMAT = *BY-OUTPUT / *SYSOUT / *FILE ,SEARCH = *NONE / <text 1..1800> |
OBJECT=...
You use OBJECT to specify which BCAM objects are to be output in a list.
OBJECT=*ALL
Outputs all BCAM objects in a list.
OBJECT=*HOST
Outputs information about the defined hosts.
OBJECT=*NODE
Outputs information about the defined nodes.
OBJECT=*LINE
Outputs information about the defined lines.
OBJECT=*PROCESSOR
Outputs information about the defined processors.
OBJECT=*ROUTE
Outputs information about the defined routes.
OBJECT=*LINK-AGGREGATION
Outputs information about the defined link aggregation.
OBJECT=*VLAN-DEVICE
Outputs information about the defined VLAN devices.
OBJECT=*VLAN-LINE
Outputs information about the defined VLAN lines.
OBJECT=*INTERFACE
Outputs information about the defined interfaces. The information consists of the information about the line, link aggregations, VLAN devices and VLAN lines.
INFORMATION=...
Specifies which information is output for the BCAM objects.
INFORMATION=*STD
The default information for the BCAM objects is output.
INFORMATION=*ACTIVATE-CMDS
The activation commands for the BCAM objects are output.
INFORMATION=*CREATE-CMDS
The CREATE commands for the BCAM objects are output.
INFORMATION=*DEACTIVATE-CMDS
The deactivation commands for the BCAM objects are output.
INFORMATION=*EDIT-CMDS
The EDIT commands for the BCAM objects are output.
INFORMATION=*MODIFY-CMDS
The MODIFY commands for the BCAM objects are output.
INFORMATION=*SHOW-CMDS
The SHOW commands for the BCAM objects are output.
EXPAND-OPERAND=...
In EXPAND-OPERAND you specify which operands are output.
EXPAND-OPERAND=*STD
Outputs all operands.
EXPAND-OPERAND=*CHANGED-OPERAND
Outputs the changed operands.
OUTPUT=...
Defines the output medium.
OUTPUT=*SYSOUT
Output takes place to SYSOUT.
OUTPUT =<filename_1..54_without-generation-version>
Output takes place to a file with the specified name.
FORMAT=...
Specifies how the output is formatted.
INFORMATION=*BY-OUTPUT
The output format is determined by the OUTPUT operand.
INFORMATION=*SYSOUT
The output format corresponds to the display on the screen.
INFORMATION=*FILE
The output format corresponds to the output in the file.
SEARCH=...
Specifies a search string which is to be searched for in the output information of the object which is to be output. The object-related information is always output.
The search works only when the output takes place to SYSOUT. Wildcards are supported.
SEARCH=*NONE
No search string is specified.
SEARCH=<text 1..1800 case sensitive>
Search string which is searched for.
Command logging
Positive acknowledgments result in the required information being output.
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 | No error |
| CMD0202 | Syntax error |
Note
More detailed command return codes are not provided owing to the procedural processing of the command. An output always takes place unless a syntax error was detected in the command.
Examples
Show the BCAM information for lines in list form:
/SHOW-BCAM-OBJECTS OBJECT=*LINE
Show the BCAM information for VLAN lines and then VLAN devices in list form:
/SHOW-BCAM-OBJECTS OBJECT=(*VLAN-DEVICE,*VLAN-LINE)
Show the BCAM information for all BCAM objects in list form:
/SHOW-BCAM-OBJECTS OBJECT=*ALL
Show the BCAM information for processors and routes in list form, where names are looked for.
/SHOW-BCAM-OBJECTS OBJECT=(*PROC,*ROUT),SEARCH=MCH