From 45149286f44498a868e9926f6cb10fb1b0426b02 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Tue, 6 Jun 2017 02:24:42 +0000 Subject: [PATCH] Disable snmpd native ipCidrRouteTable implementation The SNMP subagent implements ipCidrRouteTable. If there is no nexthops for default route, ie. switch isolated, the SNMP subagent will response 'no instance'. Then snmpd will response kernel routes, which include non-front panel interfaces. To remove snmpd native implementation, we only expose SNMP subagent's implementation. --- dockers/docker-snmp-sv2/supervisord.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-snmp-sv2/supervisord.conf b/dockers/docker-snmp-sv2/supervisord.conf index 624b61f9622..6c3685b32cd 100644 --- a/dockers/docker-snmp-sv2/supervisord.conf +++ b/dockers/docker-snmp-sv2/supervisord.conf @@ -20,7 +20,7 @@ stdout_logfile=syslog stderr_logfile=syslog [program:snmpd] -command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ip -p /run/snmpd.pid +command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip -p /run/snmpd.pid priority=3 autostart=false autorestart=false