Link Layer Discovery Protocol
The Link Layer Discovery Protocol (LLDP) is a standardised layer 2 protocol (IEEE 802.1AB) which advertises information about the device itself and its capabilities to other devices within a LAN.
WeOS aims to be inline with 2005 version of the LLDP standard. An update of the standard (LLDPv2) was published in 2009, but is currently out of scope. The LLDP protocol also advertises from which port the LLDP packet was sent. This enables the unit to build up a local view of the remote ports on neighbour devices it is connected to for each local port. This information is then stored in an SNMP MIB (LLDP MIB), which can be used by NMS-systems to draw a topology map of the network.
LLDP frames in WeOS are by default advertised every 30 seconds. If an interface stops receiving frames, the neighbour information is expired after 4 advertisement intervals (configurable on sender side). LLDP can be enabled/disabled globally as well as on a per port basis.
Configuration
example:/#> configure example:/config/#> lldp example:/config/lldp/#>
Syntax
[no] enable
-
This setting controls if LLDP is enabled or disabled.
- no
- Disable LLDP
[no] tx-interval INTERVAL
-
This setting controls how often LLDP packets are sent, e.g.,
tx-interval 10
sets the interval to 10 seconds.- no
- Use default tx-interval 30 seconds.
- INTERVAL
- An integer interval value in the range: 5-300.
[no] tx-hold-multiplier MULTIPLIER
-
The
tx-hold-multiplier
controls how many times thetx-interval
should be multiplied to calculate the TTL (time to live) value in the LLDP packet, e.g.tx-hold-multiplier 3
andtx-interval 5
results in a TTL of 15 (seconds).- no
- Use default tx-hold-multiplier 4.
- MULTIPLIER
- An integer multiplier value in the range: 2-10.
Port Settings
LLDP frames can be enabled/disabled per port basis. When enabled the transmission direction can also be set to either transmission only, reception only or to both (default); transmission and reception of LLDP frames.
example:/#> configure example:/config/#> lldp example:/config/lldp/#> port eth8 example:/config/lldp/port-eth8#>
Syntax
[no] enable
-
This setting controls if LLDP is enabled or disabled on the port(s).
- no
- Disable LLDP on the port(s).
[no] direction <both|rx-only|tx-only>
-
This setting sets the transmission direction.
- no
- Use default direction both(RX and TX).
- both
- enables both transmission and reception of LLDP frames.
- rx-only
- enables only reception of LLDP frames.
- tx-only
- enables only transmission of LLDP frames.