Wednesday, 24 October 2012

Change Interface Speeds

See here for further info.

To change the interface speed reported by snmpd you can add the following to your snmpd.conf file:

override ifSpeed.X uinteger 1000000000

Where x is the snmpd id. Alternative use the following:

interface br0 6 2000000000
interface bond0 6 2000000000
interface bond1 6 2000000000
interface vnet0 6 100000000

I tried different ways of using a RegEx to specify the name but it didn't work. Also note that after you restart the snmpd deamon

  • The overrride command changes the mib instantly
  • The interface command takes  a 20sec to change the mib

No comments:

Post a Comment