You use the MODIFY-VLAN-DEVICE command to modify the VLAN device settings dynamically.
The alias name MDVLDV exists for the MODIFY-VLAN-DEVICE command in order to provide SNMP support.
BS2000 console | BS2000 SDF command | Command/SOF file | SNMP management | Parameter service |
x | x | x |
List of valid command sources
MODIFY-VLAN-DEVICE / MDVLDV |
DEVICE-NAME = <composed-name 1 .. 8> ,WRITE-DEVICE = *UNCHANGED / <alphanum-name 2 .. 2> / <x-text 4 .. 4> / <alphanum-name 4 .. 4> / <x-text 8 .. 8> , READ-DEVICE = *UNCHANGED / <alphanum-name 2 .. 2> / <x-text 4 .. 4> / <alphanum-name 4 .. 4> / <x-text 8 .. 8> ,SLOW-POLL = *UNCHANGED / *ON / *OFF ,CHECKSUM = *UNCHANGED / *BY-BCAM / *BY-DEVICE ,MAX-LPDU-SIZE = *UNCHANGED / *STD / *BY-DEVICE |
DEVICE-NAME=<composed-name 1..8>
Current name of the VLAN device that is to be modified.
WRITE-DEVICE=...
The device definition for the VLAN write device is modified.
The device definition can be modified only when the device is deactivated.
WRITE-DEVICE=*UNCHANGED
The device definition for the VLAN write device remains unchanged.
WRITE-DEVICE=<alphanum-name 2..2> / <x-text 4..4> / <alphanum-name 4..4> / <x-text 8..8>
Mnemonic device name for the VLAN write device.
READ-DEVICE=...
The device definition for the VLAN write device is modified.
The device definition can be modified only when the device is deactivated.
READ-DEVICE=*UNCHANGED
The device definition for the VLAN read device remains unchanged.
READ-DEVICE=<alphanum-name 2..2> / <x-text 4..4> / <alphanum-name 4..4> / <x-text 8..8>
Mnemonic device name for the VLAN read device.
SLOW-POLL=...
The SLOW-POLL option is modified.
SLOW-POLL=*UNCHANGED
The setting for the SLOW-POLL option remains unchanged.
SLOW-POLL=*ON
The SLOW-POLL option is activated.
SLOW-POLL=*OFF
The SLOW-POLL option is deactivated.
MAX-LPDU-SIZE=...
The MAX-LPDU-SIZE attribute is modified.
A prerequisite for modifying MAX-LPDU-SIZE is that the L2 profile ETHERNET is used on the line.
The MAX-LPDU-SIZE can be modified only when the line is deactivated.
MAX-LPDU-SIZE=*UNCHANGED
The MAX-LPDU-SIZE attribute remains unchanged.
MAX-LPDU-SIZE=*STD
The LPDU length is modified to the ETHERNET value (1514 bytes).
MAX-LPDU-SIZE=*BY-DEVICE
The LPDU length is modified to the value read by the device.
CHECKSUM=...
The setting for calculating the CHECKSUM option is changed.
A prerequisite is that the device supports the TCP/IP checksum calculation.
CHECKSUM=*UNCHANGED
The setting for the CHECKSUM option remains unchanged.
CHECKSUM=*BY-BCAM
The CHECKSUM calculation is performed in BCAM.
CHECKSUM=*BY-DEVICE
The CHECKSUM calculation is performed in the device.
Command logging
If processing is successful the message BCA0668 appears, if it is negative the message BCA06B8. If processing is positive the messages BCA05D0, BCA05D1, BCA05D6 and BCA05D7 may also appear.
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 | Error in command |
| BCA05D5 | VLAN device not deactivated |
| BCA06B8 | MODIFY-VLAN-DEVICE command aborted |
| BCA0768 | Syntax error in command |
| BCA07A5 | VLAN device not found |
| BCA05D5 | VLAN device not deactivated |
| BCA07E5 | NEW-DEVICE-NAME already exists |
| BCA0814 | BCAM is being terminated abnormally |
| BCA0816 | BCAM is terminating |
| BCA0766 | BCAM is not active |
Examples
Modify VLAN device setting
/MODIFY-VLAN-DEVICE DEVICE-NAME=L#DEV#1,SLOW-POLL=*ON
Modify device definition of a VLAN device
/MODIFY-VLAN-DEVICE DEVICE-NAME=L#DEV#1,WRITE-DEVICE=W6,READ-DEVICE=R6