Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

GENERATE-BCAM-CMD-FILE / GBCF: Output the BCAM configuration to a file

&pagelevel(3)&pagelevel

You use the GENERATE-BCAM-CMD-FILE command to output the BCAM configuration to an output file in the form of BCAM commands.

The alias name for GENERATE-BCAM-CMD-FILE is GBCF.

BS2000 console

BS2000 SDF command

Command/ SOF file

SNMP management

Parameter service


x




List of valid command sources

GENERATE-BCAM-CMD-FILE / GBCF

FILE-NAME = <filename_1..54_without-generation-version>

,INFORMATION = *ALL / *ADDRESS-ASSIGN / *AEC-OPTIONS / *DNS / *HOST/ *IP-RANGE /

*LINE / *LINK-AGGREGATION / *NODE / *OPTIONS / *OWN-ADDRESS /

*PARAMETER / *PROCESSOR / *ROUTE / *SERVER-PORTS / *TIMER /

*VLAN-ASSIGN / *VLAN-DEVICE / *VLAN-LINE / *MAPPING

,EXPAND-OPERAND = *STD / *CHANGED-OPERAND

FILE-NAME=...
Defines the name of the output file.

FILE-NAME=<filename_1..54_without-generation-version>
Output takes place to a file with the specified name.

INFORMATION=...
You use INFORMATION to specify which BCAM configuration data is to be saved to an output file in the form of BCAM commands.

INFORMATION=*ALL
Outputs all configuration data.

INFORMATION=*ADDRESS-ASSIGN
Outputs the configuration data of the defined BCAM gateway tables.

INFORMATION=*AEC-OPTIONS
Outputs the configuration data of the BCAM AEC settings (AEC stands for automatic end system creation).

INFORMATION=*DNS
Outputs the configuration data of the defined DNS entries.

INFORMATION=*HOST
Outputs the configuration data of the real and any virtual hosts.

INFORMATION=*IP-RANGE
Outputs the configuration data of the defined IP-RANGES.

INFORMATION=*LINE
Outputs the configuration data of the defined lines.

INFORMATION=*LINK-AGGREGATION
Outputs the configuration data of the defined line aggregation.

INFORMATION=*LINK-AGGREGATION
Outputs the configuration data of the defined link aggregations.

INFORMATION=*NODE
Outputs the configuration data of the defined nodes.

INFORMATION=*OPTIONS
Outputs the configuration data of the defined BCAM options.

INFORMATION=*OWN-ADDRESS
Outputs the configuration data of the local addresses defined by ADD-OWN-ADDRESS.

INFORMATION=*PARAMETERS
Outputs the configuration data of the defined BCAM parameters.

INFORMATION=*PROCESSOR
Outputs the configuration data of the defined processors.

INFORMATION=*ROUTE
Outputs the configuration data of the defined routes.

INFORMATION=*SERVER-PORTS
Outputs the configuration data of the defined SERVER-PORTS.

INFORMATION=*TIMER
Outputs the configuration data of the defined BCAM timers.

INFORMATION=*VLAN-ASSIGN
Outputs the configuration data of the defined VLAN assignments.

INFORMATION=*VLAN-DEVICE
Outputs the configuration data of the defined VLAN devices.

INFORMATION=*VLAN-LINE
Outputs the configuration data of the defined VLAN lines.

INFORMATION=*MAPPING
Outputs the configuration data of the defined mapping entries.

EXPAND-OPERAND=...
You use EXPAND-OPERAND to specify which operands are output. This operand is evaluated only if a value other than *ALL is specified in the INFORMATION operand. This corresponds to the behavior of previous versions.

EXPAND-OPERAND=*STD
Outputs all operands.

EXPAND-OPERAND=*CHANGED-OPERAND
Outputs the changed operands.

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)      SC1

Maincode

Meaning

   0        0

CMD0001

NO ERROR

   0        1

CMD0202

Error in command


Examples

  1. Output of the BCAM configuration to the ACTUAL.SOF file:

    /GENERATE-BCAM-CMD-FILE FILE-NAME=ACTUAL.SOF

  2. Output of the BCAM hosts to the ACTUAL.HOST file:

    /GENERATE-BCAM-CMD-FILE INFORMATION=*HOST,COMMAND-FILE-NAME=ACTUAL.HOST


Note

The result of command file generation can be checked using the /CALL-BCAM-COMMANDS ..., SYNTAX-CHECK=*ON command or the SYSPRC.BCAM.<bcam-version>.RDFCHECK procedure.