IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change the learn mode in port security from continous to limited

amardeepgp
Occasional Contributor

Unable to change the learn mode in port security from continous to limited

Hi,

 

I am unable to change the learn mode in port security from continous to limited using snmpv2 for the first time (as default setting is continous). But once if I change the mode to limited from the web GUI then it starts working. I am using PHP and below is the sample code I am using :-

 

print_r(snmp2_set("Host",  "public", ".1.3.6.1.4.1.11.2.14.2.10.3.1.4.1.4", "i" , "6"));
                
print_r(snmp2_set("Host",  "public", ".1.3.6.1.4.1.11.2.14.2.10.3.1.3.1.4", "i" , "3"));

 

The last word '4' in the OID is the index for the port.

 

Please suggest.

 

Thanks,

Amardeepgp