lldptool(8)

πŸ“¦
version 1.1+110.f16f944 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

πŸŽ€ NAME πŸŽ€

okay bestie, this is the lldptool(8) page for evb β€” literally Show / manipulate EVB TLV configuration. No cap, it’s giving switch-whisperer energy. πŸ’…βœ¨

✨ SYNOPSIS ✨

Copy the spell exactly, bestie β€” these are the exact shapes:

lldptool -t -g ncb -i ethx -V evbCfg -c enableTx

lldptool -T -g ncb -i ethx -V evbCfg -c enableTx=[yes|no]

lldptool -t -g ncb -i ethx -V evbCfg -c fmode

lldptool -T -g ncb -i ethx -V evbCfg -c fmode=[bridge|reflectiverelay]

lldptool -t -g ncb -i ethx -V evbCfg -c capabilities

lldptool -T -g ncb -i ethx -V evbCfg -c capabilities=[rte|ecp|vdp|none]

lldptool -t -g ncb -i ethx -V evbCfg -c rte

lldptool -T -g ncb -i ethx -V evbCfg -c rte=[<rte>]

lldptool -t -g ncb -i ethx -V evbCfg -c vsis

lldptool -T -g ncb -i ethx -V evbCfg -c vsis=[<number of vsis>]

πŸ’– DESCRIPTION πŸ’–

The EVB TLV is a TLV that announces the station and bridge’s edge virtual bridging (evb) capabilities and requests the bridge forwarding mode. If both sides agree on edge control protocol (ECP) and VSI discovery protocol (VDP) capabilities, both sides can exchange VDP TLVs using ECP frames. The vsis parameter will set the maximum number of VSIs and show the number of currently configured VSIs. 🫢

🧚 ARGUMENTS 🧚

  • enableTx β€” enables the EVB TLV to be transmitted. πŸ’Œ
  • fmode β€” shows or sets the forwarding mode between bridge (default) or reflectiverelay (RR).
  • capabilities β€” shows or sets the local capabilities that are announced to the adjacent switch in the TLV. This parameter accepts any combination of rte, vdp, or ecp, separated by ,. Use the keyword none if you do not want to set any capabilities.
  • rte β€” shows or sets the local run time exponent (RTE). The RTE will be used as the base for the timing of the ECP and VDP protocols.
  • vsis β€” shows or sets the number of virtual station interfaces (VSIs) that are announced to the adjacent switch in the TLV. This parameter expects a number between 0 and 65535.

🌈 Theory of Operation 🌈

The EVB TLV is used to announce and exchange supported parameters between the station and an adjacent switch. The TLV uses the nearest customer bridge agent. πŸŽ€

If reflectiverelay is set as forwarding mode, the switch will allow β€œreflection” of frames coming from different sources at the same port back to the port. This will allow communication between virtual machines on the same host via the switch. ✨

The capabilities parameter is used to set RTE, ECP, and VDP support. VDP TLVs in ECP frames can only be exchanged if both sides agree on ECP and VDP as capabilities. RTE will be used as the base timing parameter for ECP and VDP. πŸ’«

πŸ’« EXAMPLE & USAGE πŸ’«

Display locally configured values for eth8

lldptool -t -g ncb -i eth8 -V evbCfg

Display remotely configured values for eth8

lldptool -n -g ncb -t -i eth8 -V evbCfg

Display whether the evb TLV is configured for tx on eth8

lldptool -t -g ncb -i eth8 -V evbCfg -c enableTx

Display the currently requested forwarding mode for eth8

lldptool -t -g ncb -i eth8 -V evbCfg -c fmode

Set the forwarding mode to reflective relay

lldptool -T -g ncb -i eth8 -V evbCfg -c fmode=reflectiverelay

Display the currently configured capabilities

lldptool -t -g ncb -i ethx -V evbCfg -c capabilities

Set the locally possible capabilities to RTE, ECP, and VDP

lldptool -T -g ncb -i ethx -V evbCfg -c capabilities=rte,ecp,vdp

Resets the locally possible capabilities to none

lldptool -T -g ncb -i ethx -V evbCfg -c capabilities=none

Display the locally configured value for RTE

lldptool -t -g ncb -i ethx -V evbCfg -c rte

Set the value for RTE

lldptool -T -g ncb -i ethx -V evbCfg -c rte=[<rte>]

Display the configured maximum number of VSIs

lldptool -t -g ncb -i ethx -V evbCfg -c vsis

Set the maximum number of VSIs

lldptool -T -g ncb -i ethx -V evbCfg -c vsis=[<number of vsis>]

⭐ SOURCE ⭐

πŸ‘‘ NOTES πŸ‘‘

Heads up bestie: currently the code in lldpad reflects draft 0 of the upcoming standard. EVB TLVs on the wire can be decoded with wireshark > v1.6. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

lldptool-vdp(8), lldptool(8), lldpad(8)

πŸ’œ AUTHOR πŸ’œ

Jens Osterkamp

This page is from open-lldp, dated February 2010, and it’s filed under lldptool(8) β€” cute sign-off complete, bestie. πŸ’–πŸŒˆ