Enter model number to find the articles related product applications, FAQ and user experience..
Can you explain how to recognize, remove and add normal, fixed, forbidden, tagged, untagged ports on switch over SNMP?
Q-BRIDGE-MIB(.184.108.40.206.220.127.116.11.1.4.3) this public MIB can be used to query and modify VLANs on the Switch.
For example, the MGS3520-28F configuration as shown below table, you can use SNMP tool
to check and modify the VLAN settings. Please note system uses hex to record the port settings.
The SNMP tools in this example are snmpwalk and snmpset. And the command is snmpset -v 2c -c
MGS3520# show running-config
E:\>snmpwalk -v 2c -c public 192.168.1.1 .18.104.22.168.22.214.171.124.1.4.3
The ways to create and modify the VLAN settings via SNMP are the same, as shown below.
For example, create VLAN 100 on the MGS3520-28 and then fixed port 10-12, untagged port 11, forbidden port 12 by snmp-net commands.
E:\>snmpset -v 2c -c 1234 192.168.1.1 .126.96.36.199.188.8.131.52.184.108.40.206.5.100 i 4 <~4 = create and go, system will also auto add a name “VLAN100” for this VLAN
By the way, speaking from our experience, we do not recommend modifying the VLAN settings via SNMP as sure that users will make mistakes.
Still have trouble with your device? Contact Zyxel technology support team directly!Contact Zyxel Support