Skip to main content

User Manual

LLDP support

Link Layer Discovery Protocol (LLDP) is a channel-layer protocol that allows network equipment to notify other devices on a local network of its existence and transmit its identity and capabilities to them, as well as receive the same information from them. The protocol is described in the IEEE 802.1AB standard.

Keenetic routers support the LLDP agent, i.e. the router informs other devices on the network about itself. For example:

ws-lldp-en.png

As we can see, this information includes the MAC address, system name, model name, built-in operating system version, local IP address, operating mode, etc.

Important

The LLDP agent is enabled by default on private interfaces and disabled on public and protected interfaces.

However, a router does not support collecting information about neighbours through the LLDP protocol. This task can be partially solved by executing the following commands in the command-line interface (CLI):

show ip hotspot

and

show ip neighbour

The show ip hotspot command displays a list of hosts connected to the hotspot. The show ip neighbour command displays a list of entries about neighbouring hosts.

Complete information about command syntax is available in the Command Reference Guide, which can be found on our website in the Download Center.

For example:

(config)> show ip hotspot

host: 
 mac: 78:ab:bb:fc:65:25
 via: 78:ab:bb:fc:65:25
 ip: 192.168.1.102
 hostname: 
 name: SMART TV

interface: 
 id: Bridge0
 name: Home
 description: Home network

expires: 42791
 registered: yes
 access: permit
 schedule: 
 active: yes
 rxbytes: 2953948
 txbytes: 224927
 uptime: 57
 first-seen: 7167
 last-seen: 0
 link: up
 auto-negotiation: yes
 speed: 100
 duplex: yes
 ever-seen: yes

traffic-shape: 
 rx: 0
 tx: 0
 mode: mac
 schedule:

dns-filter: 
 engine: public
 profile: adguard-default

host: 
 mac: dc:72:9b:36:f7:df
 via: dc:72:9b:36:f7:df
 ip: 192.168.1.72
 hostname: DLI-TL20
 name: DLI-TL20

interface: 
 id: Bridge0
 name: Home
 description: Home network

expires: 0
 registered: yes
 access: permit
 schedule: 
 active: yes
 rxbytes: 213767
 txbytes: 87215
 first-seen: 6537
 last-seen: 0
 link: up
 ssid: Keenetic-6106
 ap: WifiMaster0/AccessPoint0
 authenticated: yes
 txrate: 135
 uptime: 35
 ht: 40
 mode: 11n
 gi: 800
 rssi: -49
 mcs: 7
 txss: 1
_11: k
_11: v

ever-seen: yes

traffic-shape: 
 rx: 0
 tx: 0
 mode: mac
 schedule:

dns-filter: 
 engine: public
 profile: adguard-default

host: 
 mac: ac:9e:17:4e:32:0e
 via: ac:9e:17:4e:32:0e
 ip: 192.168.1.143
 hostname: PC
 name: PC

interface: 
 id: Bridge0
 name: Home
 description: Home network

expires: 0
 registered: yes
 access: permit
 schedule: 
 active: yes
 rxbytes: 1459358817
 txbytes: 55243732
 uptime: 17606
 first-seen: 17607
 last-seen: 0
 link: up
 auto-negotiation: yes
 speed: 1000
 duplex: yes
 ever-seen: yes

traffic-shape: 
 rx: 0
 tx: 0
 mode: mac
 schedule:

dns-filter: 
 engine: public
 profile: adguard-default

host: 
 mac: 44:59:e3:7b:c3:45
 via: 44:59:e3:7b:c3:45
 ip: 192.168.1.54
 hostname: Honor_10
 name:

interface: 
 id: Bridge0
 name: Home
 description: Home network

 expires: 42591
 registered: yes
 access: permit
 schedule: 
 active: yes
 rxbytes: 383794
 txbytes: 102869
 first-seen: 14116
 last-seen: 2
 link: up
 ssid: Keenetic-6106
 ap: WifiMaster0/AccessPoint0
 authenticated: yes
 txrate: 108
 uptime: 570
 ht: 40
 mode: 11n
 gi: 800
 rssi: -71
 mcs: 5
 txss: 1
_11: k

ever-seen: yes

traffic-shape: 
 rx: 20000
 tx: 20000
 mode: mac
 schedule:

dns-filter: 
 engine: public
 profile: adguard-default

host: 
 mac: 14:16:9e:01:ba:f3
 via: 14:16:9e:01:ba:f3
 ip: 0.0.0.0
 hostname: 
 name: MEIZU-M6
 registered: yes
 access: permit
 schedule: 
 active: no
 rxbytes: 0
 txbytes: 0
 uptime: 0
 link: down
 ever-seen: no

traffic-shape: 
 rx: 0
 tx: 0
 mode: mac
 schedule:

dns-filter: 
 engine: public
 profile: adguard-default
(config)> show ip neighbour

neighbour: 
 id: 1
 via: ac:9e:17:4e:32:0e
 mac: ac:9e:17:4e:32:0e
 address-family: ipv4
 address: 192.168.1.143
 interface: Bridge0
 first-seen: 17846
 last-seen: 2
 leasetime: 7863
 expired: no
 wireless: no

neighbour: 
 id: 2
 via: 44:59:e3:7b:c3:45
 mac: 44:59:e3:7b:c3:45
 address-family: ipv4
 address: 192.168.1.54
 interface: Bridge0
 first-seen: 14011
 last-seen: 2
 leasetime: 494
 expired: no
 wireless: yes

neighbour: 
 id: 3
 via: 78:ab:bb:fc:65:25
 mac: 78:ab:bb:fc:65:25
 address-family: ipv4
 address: 192.168.1.102
 interface: Bridge0
 first-seen: 7407
 last-seen: 68
 leasetime: 295
 expired: yes
 wireless: no

neighbour: 
 id: 4
 via: dc:72:9b:36:f7:df
 mac: dc:72:9b:36:f7:df
 address-family: ipv4
 address: 192.168.1.72
 interface: Bridge0
 first-seen: 6776
 last-seen: 2
 leasetime: 274
 expired: no
 wireless: yes

If necessary, LLDP can be disabled on any interface using the command:

interface {name} lldp disable

For instance:

(config)> interface ISP lldp disable