Code Monkey home page Code Monkey logo

Comments (6)

yunusemreayhan avatar yunusemreayhan commented on June 3, 2024

Do you support below condition in Lldp 2005 RFC ? I also wonder in which cases do you send shutdown frame?

Thanks in advance..

10.2.1.2 Shutdown LLDPDU construction

A special procedure exists for the case in which a LLDP agent knows an associated port is about to become
non-operational (for example, the adminStatus for the port is transitioning to ‘disabled’). In the event a port,
currently configured with LLDP frame transmission enabled, either becomes disabled for LLDP activity, or
the interface is administratively disabled, a final LLDP shutdown LLDPDU may be sent with:

  1. The Chassis ID and Port ID TLVs.
  2. The Time To Live TLV with the TTL field set to zero.
  3. An End Of LLDPDU TLV.
    The LLDPDU shall not include any optional TLVs and should be transmitted before the interface is
    disabled.

from lldpd.

vincentbernat avatar vincentbernat commented on June 3, 2024

Yes, it is supported, but only when lldpd is stopping: Linux doesn't provide a way to send packets before an interface is put down.

from lldpd.

yunusemreayhan avatar yunusemreayhan commented on June 3, 2024

So you do not send a shutdown TLV in MSAP change scenario also, right?

from lldpd.

vincentbernat avatar vincentbernat commented on June 3, 2024

Oh, you are right, there is also one sent when the MSAP changes!

from lldpd.

yunusemreayhan avatar yunusemreayhan commented on June 3, 2024

Then I have 3 questions:
1-So how to change chassis id or port id manually, which command in lldpcli i mean?
2-In which scenarios cause lldpd to stop?
3-For example when we deactivate lldp tx by template, should not lldpd send a shutdown TLV you think?

Thanks in advance..

from lldpd.

vincentbernat avatar vincentbernat commented on June 3, 2024

from lldpd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.