logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vdp - Show / manipulate VDP TLV configuration

Arguments

enableTx
              Enables or disables VDP

       mode   shows or sets modes for VSIs with the following parameters:

              <mode> mode (0=preassociate, 1=preassociate with RR, 2=associate, 3=deassociate)

              <mgrid>
                     manager (database) id

              <typeid>
                     VSI type id

              <version>
                     VSI type id version

              <instanceid>
                     VSI instance id

              <format>
                     VDP filter info format

              <mac>  VSI mac address

              <vlan> VSI vlan id

       role   shows or sets the role of the local machine to act as either station (default) or bridge.

Author

       Jens Osterkamp

open-lldp                                         February 2010                                      lldptool(8)

Description

       The  VSI  discovery  protocol  (VDP)  is  NOT a TLV in the LLDP sense but rather a protocol to manage the
       association and deassociation of virtual station interfaces (VSIs) between the station  and  an  adjacent
       switch. VDP uses ECP as transport for VDP TLVs. An ECP frame may contain multiple VDP TLVs. Each VDP TLVs
       contains a mode, typeid, version, instanceid, mac and vlan for a VSI.

Example & Usage

       Display if vdp is enabled on eth8lldptool-t-ieth8-Vvdp-cenableTx

       Enable vdp on eth8lldptool-T-ieth8-Vvdp-cenableTx=yes

       Display the currently configured VSIs for eth8lldptool-t-ieth8-Vvdp-cmode

       Associate a VSI on eth8lldptool-T-ieth8-Vvdp-cmode=2,12,1193046,1,fa9b7fff-b0a0-4893-8e0e-beef4ff18f8f,2,52:54:00:C7:3E:CE,3

       Display the locally configured role for VDP on eth8lldptool-t-ieth8-Vvdp-crole

       Set the local role for VDP on eth8lldptool-T-ieth8-Vvdp-crole=bridge

Name

       vdp - Show / manipulate VDP TLV configuration

Notes

       Currently the code in lldpad reflects draft 0 of the upcoming standard.  ECP/VDP TLVs on the wire can  be
       decoded with wireshark > v1.8.

See Also

lldptool-evb(8), lldptool(8), lldpad(8)

Source

Synopsis

lldptool-t-iethx-Vvdp-cenableTxlldptool-T-iethx-Vvdp-cenableTx=[yes|no]lldptool-t-iethx-Vvdp-cmodelldptool-T-iethx-Vvdp-cmode=<mode>,<mgrid>,<typeid>,<typeidversion>,<instanceid>,<mac>,<vlan>lldptool-t-iethx-Vvdp-crolelldptool-T-iethx-Vvdp-crole=[station|bridge]

Theory Of Operation

       The  VDP  protocol  is  used  to  pre-associate,  associate  or  deassociate VSIs to and adjacent switch.
       Information about the VSIs is formatted into VDP TLVs which  are  then  handed  to  ECP  for  lower-level
       transport. Each ECP frame may contain multiple VDP TLVs.

       Two  ways  to  receive  VSI information exist in llpdad: via netlink or with lldptool. netlink is used by
       libvirt to communicate VSIs to lldpad. lldptool can  be  used  to  associate/deassociate  VSIs  from  the
       command line. This is especially helpful for testing purposes.

See Also