You use the SHOW-VLAN-ASSIGNMENT command to output information on the VLAN assignment in BCAM.
The alias name of SHOW-VLAN-ASSIGNMENT is SHVLA.
BS2000 console | BS2000 SDF command | Command/ SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-VLAN-ASSIGNMENT / SHVLA |
SELECT = *ALL / list-poss (8): *IP-ADDRESS-RANGE / *IPV6-ADDRESS-RANGE / *LIMITS ,OUTPUT = *SYSOUT / *SYSLST ,OUTPUT-FORMAT = *STD / *GENERATING-CMD |
SELECT=...
Selects which information is to be output.
SELECT=*ALL
Shows the IP and IPv6 address ranges of the VLAN assignments.
SELECT=*IP-ADDRESS-RANGE
Shows the IP address ranges which are defined for the VLAN assignments.
SELECT=*IPV6-ADDRESS-RANGE
Shows the IPv6 address ranges which are defined for the VLAN assignments.
SELECT=*LIMITS
Shows the limits for the number of assignments which may be made for IP and IPv6.
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 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) supplies the RC (&01) |
Examples
Show the access to DNS data in BCAM:
/SHOW-VLAN-ASSIGNMENT SELECT=*ALL
/SHOW-VLAN-ASSIGNMENT SELECT=*LIMITS
/SHOW-VLAN-ASSIGNMENT SELECT=*IP-ADDRESS-RANGE,OUTPUT=*SYSLST
/SHOW-VLAN-ASSIGNMENT SELECT=*IPV6-ADDRESS-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, *IP-ADDRESS-RANGE, *IPV6-ADDRESS-RANGE and *LIMITS.
Output information | Name of the S variable | Data type | Content | Condition |
Number of possible VLAN assignments per type | var(*LIST).MAX-VLAN-ASS-ENTR | integer | <integer 0..32766> | SEL= |
Permitted IP addresses for the assignment to a VLAN | var(*LIST).IP-ADDR(*LIST).INDICATOR | string | *ADD-TO-VLAN | SEL= |
Start of the permitted range of IP addresses for the assignment to a VLAN | var(*LIST).IP-ADDR(*LIST).RANGE.FROM | string | <c-string 7..15> | SEL= |
End of the permitted range of IP addresses for the assignment to a VLAN | var(*LIST).IP-ADDR(*LIST).RANGE.TO | string | <c-string 7..15> | SEL= |
Assigned VLAN ID | var(*LIST).IP-ADDR(*LIST).VLAN-ID | string | <integer 2..4094> | SEL= |
Permitted IPV6 addresses for the assignment to a VLAN | var(*LIST).IPV6-ADDR(*LIST).INDICATOR | string | *ADD-TO-VLAN | SEL= |
Permitted IPV6 addresses for the assignment to a VLAN | var(*LIST).IPV6-ADDR(*LIST).IPV6-PREFIX | string | <c-string 9..49> | SEL= |
Assigned VLAN ID | var(*LIST).IPV6-ADDR(*LIST).VLAN-ID | string | <integer 2..4094> | SEL= |
Generating commands | var(*LIST).GENERATING-CMD(*LIST) | string | <text 1..256> | SEL=<any> |