Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

switch-controller lldp-settings

Use this command to enable or disable and configure LLDP global settings.

config switch-controller lldp-settings
    set status {enable | disable}   Enable/disable LLDP global settings.
    set tx-hold {integer}   Number of tx-intervals before local LLDP data expires (1 - 16, default = 4). Packet TTL is tx-hold * tx-interval. range[1-16]
    set tx-interval {integer}   Frequency of LLDP PDU transmission from FortiSwitch (5 - 4095 sec, default = 30). Packet TTL is tx-hold * tx-interval. range[5-4095]
    set fast-start-interval {integer}   Frequency of LLDP PDU transmission from FortiSwitch for the first 4 packets when the link is up (2 - 5 sec, default = 2, 0 = disable fast start). range[0-255]
    set management-interface {internal | mgmt}   Primary management interface to be advertised in LLDP and CDP PDUs.
            internal  Use internal interface.
            mgmt      Use management interface.
end

Additional information

The following section is for those options that require additional explanation.

tx-hold

Number of tx-intervals before the local LLDP data expires. Therefore, the packet TTL (in seconds) is tx-hold times tx-interval. The range for txhold is 1 to 16, and the default value is 4.

tx-interval

How often the FortiSwitch transmits the LLDP PDU. The range is 5 to 4095 seconds, and the default is 30 seconds.

fast-start-interval

How often the FortiSwitch transmits the first 4 LLDP packets when a link comes up. The range is 2 to 5 seconds, and the default is 2 seconds. Set this variable to zero to disable fast start.

management-interface

Primary management interface to be advertised in LLDP and CDP PDUs.

switch-controller lldp-settings

Use this command to enable or disable and configure LLDP global settings.

config switch-controller lldp-settings
    set status {enable | disable}   Enable/disable LLDP global settings.
    set tx-hold {integer}   Number of tx-intervals before local LLDP data expires (1 - 16, default = 4). Packet TTL is tx-hold * tx-interval. range[1-16]
    set tx-interval {integer}   Frequency of LLDP PDU transmission from FortiSwitch (5 - 4095 sec, default = 30). Packet TTL is tx-hold * tx-interval. range[5-4095]
    set fast-start-interval {integer}   Frequency of LLDP PDU transmission from FortiSwitch for the first 4 packets when the link is up (2 - 5 sec, default = 2, 0 = disable fast start). range[0-255]
    set management-interface {internal | mgmt}   Primary management interface to be advertised in LLDP and CDP PDUs.
            internal  Use internal interface.
            mgmt      Use management interface.
end

Additional information

The following section is for those options that require additional explanation.

tx-hold

Number of tx-intervals before the local LLDP data expires. Therefore, the packet TTL (in seconds) is tx-hold times tx-interval. The range for txhold is 1 to 16, and the default value is 4.

tx-interval

How often the FortiSwitch transmits the LLDP PDU. The range is 5 to 4095 seconds, and the default is 30 seconds.

fast-start-interval

How often the FortiSwitch transmits the first 4 LLDP packets when a link comes up. The range is 2 to 5 seconds, and the default is 2 seconds. Set this variable to zero to disable fast start.

management-interface

Primary management interface to be advertised in LLDP and CDP PDUs.