This project demonstrates an LLDP Agent that runs EK-TM4C1294XL evaluation board.

Instructions to run the demo:

- Compile the project and run a debug session
- Connect a terminal (115200 bauds, no parity, no flow control) to the virtual COM port of the ICD debugger to output log messages
- Plug Ethernet cable
- The board acquires an IPv4 address (using DHCP), a link-local IPv6 address and a global IPv6 address (using SLAAC)
- Pick up the IP addresses in the logs (for example 192.168.0.150)
- Access to the SNMP agent using your favorite SNMP manager (iReasoning MIB browser for example)
- Here are some useful Net-SNMP command lines that can used to browse the LLDP-MIB base:

snmpwalk -v1 -c "public" 192.168.0.150 1.3
snmpbulkwalk -v2c -c "public" 192.168.0.150 -Cr10 1.3

- Install and run Linux lldpd deamon:

sudo apt-get update
sudo apt-get install lldpd
lldp

- You can use the lldpcli tool to query the lldpd daemon for neighbors:

lldpcli show neighbors

- Example lldpcli command output:

-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface:    enp0s3, via: LLDP, RID: 1, Time: 0 day, 00:00:01
  Chassis:     
    ChassisID:    mac 00:ab:cd:ef:41:29
    SysName:      lldp-agent-demo
    SysDescr:     System description
    MgmtIP:       192.168.0.150
    Capability:   Station, on
  Port:        
    PortID:       local 1
    PortDescr:    Port description
    TTL:          120
-------------------------------------------------------------------------------
