How to configure LLDP in Broadcom SoNiC?

How to configure LLDP in Broadcom SoNiC?

   LLDP Basic Configurations

1. LLDP modes configuration (receive and transmit) at the interface level

Commands-

 interface range <iface_range_num >

  lldp <mode>

To remove configuration -no lldp <mode>

     Note-  Mode options are receive and transmit  .

2. To enable LLDP globally

Commandlldp enable      

3. To Enable LLDP at interface level

Command-
interface <interace_name>
lldp enable

4.Configure LLDP multiplier value
LLDP Multiplier value is used to determine the timeout interval (i.e. hello-time x multiplier value) after which LLDP neighbor entry is deleted.
Commandlldp multiplier 6
Note- Default value is 4.  

5.Configure LLDP System description
Command - lldp system-description <system_description>

6.Configure LLDP System name
Command - lldp system-name <system_name>

7.Configure LLDP hello time
It is the time interval at which periodic hellos are exchanged. 
Command - lldp timer 



    • Related Articles

    • Configuring AAA in Broadcom sonic

      AAA Authentication Fail through Description: Configures AAA authentication fail through. Syntax: aaa authentication failthrough <enable> Parameters: enable: Enable or disable the feature. Example: sonic(config)# aaa authentication failthrough enable ...
    • IP Helper Configuration on Broadcom SoNiC

      1. To Display IP helper global information Command: show ip forward-protocol 2. To Displays IP helper server addresses configured on interface Command: show ip helper-address [ <iface> ] 3.To Display IP helper packet counters and statistics on ...
    • DHCP Snooping configuration on Broadcom Sonic

      Enabling DHCP Snooping Command: ip dhcp snooping This command enables DHCP Snooping globally on the device, helping monitor and block unauthorized DHCP servers. Disable DHCP snooping sonic-cli# configure terminal sonic-cli(config)# no ip dhcp ...
    • Syslog server configuration in Broadcom SoNiC

      1. To Configure remote syslog server to forward syslog messages Command: logging server <host> [ message-type { audit | auditd-system | event | log } ] [ remote-port <vrport> ] [ protocol { tcp | tls | udp } ] [ source-interface { Ethernet | Loopback ...
    • Border Gateway Protocol- FAQ (Broadcom SoNiC)

      1. How do I configure BGP hold and keepalive timers? Use timers <keepalive> <hold>. 2. How do I enable BGP in SONiC? Use router bgp <AS_number> to enter BGP configuration mode. 3. What does neighbor mean in BGP configuration? neighbor defines the IP ...