Forum Discussion

timur007_146909's avatar
timur007_146909
Icon for Nimbostratus rankNimbostratus
Aug 06, 2014

How can I enable global LLDP via command line?

Hello,

 

I am installing new boxes and don't have access to the GUI. How can I enable LLDP via tmsh? I imagine I can then hop on Cisco switches and validate F5's are properly cabled and connected.

 

Thanks for your help.

 

6 Replies

  • e.g.

    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/Common)(tmos) modify net lldp-globals ?
    Properties:
      "{"                     Optional delimiter
      disabled
      enabled
      max-neighbors-per-port
      reinit-delay
      tx-delay
      tx-hold
      tx-interval
    
  • Thanks for your reply...

     

    so essentially modify net lldp-globals enabled turns this feature on? I entered that and now I see

     

    list net lld net lldp-globals { enabled }

     

    However still dont see any F5 info on upstream cisco?

     

  • do you see lldp packet?

    e.g.

     config
    
    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/Common)(tmos) list net lldp-globals all-properties
    net lldp-globals {
        enabled
        max-neighbors-per-port 10
        reinit-delay 2
        tx-delay 2
        tx-hold 4
        tx-interval 30
    }
    
     tcpdump
    
    [root@B6900-R69-S40:Active:Standalone] config  tcpdump -nni 1.1 ether proto 0x88cc
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on 1.1, link-type EN10MB (Ethernet), capture size 96 bytes
    11:59:50.256633 00:23:e9:07:7d:44 > 01:80:c2:00:00:0e, ethertype Unknown (0x88cc), length 112:
            0x0000:  020d 0766 352d 7078 6261 2d79 6169 6404  ...f5-pxba-yaid.
            0x0010:  0405 312e 3106 0200 780a 1e42 3639 3030  ..1.1...x..B6900
            0x0020:  2d52 3639 2d53 3430 2e6c 6162 2e73 732e  -R69-S40.lab.ss.
            0x0030:  6635 6e65 742e 636f 6d0c 6d4c 696e 7578  f5net.com.mLinux
            0x0040:  2042 3639 3030 2d52 3639 2d53 3430 2e6c  .B6900-R69-S40.l
            0x0050:  6162                                     ab
    12:00:20.384001 00:23:e9:07:7d:44 > 01:80:c2:00:00:0e, ethertype Unknown (0x88cc), length 112:
            0x0000:  020d 0766 352d 7078 6261 2d79 6169 6404  ...f5-pxba-yaid.
            0x0010:  0405 312e 3106 0200 780a 1e42 3639 3030  ..1.1...x..B6900
            0x0020:  2d52 3639 2d53 3430 2e6c 6162 2e73 732e  -R69-S40.lab.ss.
            0x0030:  6635 6e65 742e 636f 6d0c 6d4c 696e 7578  f5net.com.mLinux
            0x0040:  2042 3639 3030 2d52 3639 2d53 3430 2e6c  .B6900-R69-S40.l
            0x0050:  6162                                     ab
    12:00:50.322073 00:23:e9:07:7d:44 > 01:80:c2:00:00:0e, ethertype Unknown (0x88cc), length 112:
            0x0000:  020d 0766 352d 7078 6261 2d79 6169 6404  ...f5-pxba-yaid.
            0x0010:  0405 312e 3106 0200 780a 1e42 3639 3030  ..1.1...x..B6900
            0x0020:  2d52 3639 2d53 3430 2e6c 6162 2e73 732e  -R69-S40.lab.ss.
            0x0030:  6635 6e65 742e 636f 6d0c 6d4c 696e 7578  f5net.com.mLinux
            0x0040:  2042 3639 3030 2d52 3639 2d53 3430 2e6c  .B6900-R69-S40.l
            0x0050:  6162                                     ab
    
  • Make sure your cisco gear supports LLDP, also verify if LLDP have been enabled in the cisco gear. If you have been thru both steps above, you might want to sniff packets and see if the LLDP packets get thru.

     

  • I see it still disabled.. what is the actual cmd to enable lldp globaly?

     

    [root@ecprifnwl4kpm02:Active:Standalone] config tmsh root@(ecprifnwl4kpm02)(cfg-sync Standalone)(Active)(/Common)(tmos) list net lldp-globals all-properties net lldp-globals { disabled max-neighbors-per-port 10 reinit-delay 2 tx-delay 2 tx-hold 4 tx-interval 30 }