
Configuring VLANs Using SNMP
3.2.1 Modifying, Creating and Deleting VLANs
VLAN information that is being modified, created or deleted will remain in local variables until the status variable is set. At that time, the local variables will be processed, the Global VLAN Table will be updated and the hardware configuration modified.
To Create, Delete or Modify local variables, proceed as follows:
Step | Action |
|
|
|
|
1 | Set the Config Table index to a value outside of the table |
| range (range is 0 through 31). When a variable is now read or |
| written it will reference the local variables. |
|
|
2 | Set all of the local variables desired. |
|
|
3 | Set the Establish variable to Create or Delete as desired. |
|
|
4 | Set the index to the table entry you want to impact. (A read of |
| all VLAN table entries should be completed first to establish |
| which are in use, and which VLAN is contained in each table |
| entry. A VLAN ID of zero indicates this table entry is unused.) |
|
|
5 | Perform any write to the status variable. This will process the |
| command using the local variables. |
|
|
3.2.1.1 Modifying a VLAN
If a VLAN is created or deleted, the following checks are completed. In addition, other checks will be done if specifying create or delete using the VLAN command. For a list of additional checks performed when creating or deleting a VLAN, refer to the sections titled Creating a VLAN or Deleting a VLAN.
•Verify that the “Establish” variable is set to either Create or Delete. If neither is selected the command is aborted.
•Determine if the VLAN ID is valid. If not, the command is aborted.
•Determine if an IP address was entered; a check is made to determine that the subnet is unique. If not, the command is aborted.
•Determine if the index is checked to ensure it is within the range of 0 - 31. If not, the command is aborted.
•Determine if the VLAN ID of the table entry pointed to by index is either zero for a new entry, or equal to the local VLAN ID for a modify. If the entry is not zero or does not match the local variable, the command is aborted.