-
-
Notifications
You must be signed in to change notification settings - Fork 175
SNMP AgentX support
Vincent Bernat edited this page Apr 30, 2011
·
1 revision
lldpd provides an AgentX SNMP agent. This is enabled using the -x
flag:
lldpd -x
If the flag is not recognized, this is because AgentX support was not
compiled in. By default, lldpd connects using a Unix socket. If you
want to connect to the master agent using TCP, you can specify a
transport with -X
flag:
lldpd -x -X tcp:127.0.0.1:705
AgentX is a protocol allowing an SNMP agent to attach to a main SNMP
agent (an SNMP agent is the "server" part of SNMP). This protocol is
supported by NetSNMP. You need to enable AgentX in the configuration
file by adding or uncommenting the following line in
/etc/snmp/snmpd.conf
:
master agentx
lldpd will register itself to the master agent and you will be able to walk the provided MIB.