Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SHOW-BCAM-SERVER-PORTS / SHBCPT: Show BCAM server port information

&pagelevel(3)&pagelevel

You use the SHOW-BCAM-SERVER-PORTS command to show BCAM server port information.

The alias name SHBCPT exists for SHOW-BCAM-SERVER-PORTS.

BS2000 console

BS2000 SDF command

Command/SOF file

SNMP management

Parameter service


x




List of valid command sources

SHOW-BCAM-SERVER-PORTS / SHBCPT

SERVER-PORT = *ALL / list-poss (8): *LOCAL / *REMOTE

,OUTPUT = *SYSOUT / *SYSLST

,OUTPUT-FORMAT = *STD / *GENERATING-CMD

SERVER-PORT=...
Specifies the type of information.

SERVER-PORT=*ALL
Shows all BCAM server ports.

SERVER-PORT=*LOCAL
Shows the local BCAM server ports.

SERVER-PORT=*REMOTE
Shows the remote BCAM server ports.

OUTPUT=...
Specifies the output medium.

OUTPUT=*SYSOUT
The output is sent to SYSOUT.

OUTPUT=*SYSLST
The output is sent to SYSLST.

OUTPUT-FORMAT=...
Specifies the output format.

OUTPUT-FORMAT=*STD
The output format corresponds to the standard.

OUTPUT-FORMAT=*GENERATING-CMD
The output format corresponds to the generated command. 

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

Maincode

Meaning

   0        0

CMD0001

Command successfully processed

   0        1

CMD0202

Operand error

   0       32

CMD0221

System error

   0       64

CMD0216

Privilege not sufficient

   0       64

BCA0203

Interface (&00) returns RC (&01)


Examples

Show BCAM server ports

/SHOW-BCAM-SERVER-PORTS SERVER-PORT=*ALL
/SHOW-BCAM-SERVER-PORTS SERVER-PORT=*LOCAL,OUTPUT=*SYSLST

S variables

The command’s SERVER-PORT operand defines the S variables to which values are assigned. Possible values for SERVER-PORT are *ALL, *LOCAL and *REMOTE.

Output information

Name of the S variable                    

Data type

Content                 

Condition           

Local BCAM server ports

var(*LIST).LOC-SERVER-PORT(*LIST)

integer

<integer 1..65635>

SERV-PORT=
*ALL/*LOCAL
O-F=*STD

Remote BCAM server ports

var(*LIST).REM-SERVER-PORT(*LIST)

integer

<integer 1..65535>

SERV-PORT=
*ALL/*REMOTE
O-F=*STD

Generated commands

var(*LIST).GENERATING-CMD(*LIST)

integer

<text 1..256>

SERV-PORT=
*ALL/*REMOTE
O-F=*GEN