Configuring VLANs Using SNMP
3.4.1.1 Creating a Filter
If you created a Filter, a check is done to:
•Ensure that the command is either a Create or a Delete. If it is not, the command is aborted.
•Determine if the VLAN ID is valid. If not, the command is aborted.
•Ensure the index is within the valid range. If it is not, the command is aborted.
•If modifying an existing entry in the table, the VLAN ID that is in the table entry must match the local variable. If it does not, the command will be aborted.
•If the VLAN ID is already in use, the index must also match. If it does not, the command will be aborted.
If all of these checks pass, the VLAN ID is copied into the table entry and the ports are added to the existing port mask.
If the switch is operating in 802.1Q mode, the command is passed to the GVRP task, all of the learned addresses on the VLAN are deleted, and all ARP entries are flushed.
3.4.1.2 Deleting a Filter
If you deleted a Filter, a check is done to:
•Ensure the index is within the valid range. If it is not the command is aborted.
•If modifying an existing entry in the table, the VLAN ID that is in the table entry must match the local variable. If it does not, the command will be aborted.
•If the VLAN ID is already in use, the index must also match. If it does not, the command will be aborted.
If all of these checks pass, the VLAN ID is copied into the table entry and the ports are removed to the existing port mask.
If the switch is operating in 802.1Q mode, the command is passed to the GVRP task, all of the learned addresses on the VLAN are deleted, and all ARP entries are flushed.