Fortinet white logo
Fortinet white logo

Administration Guide

LLDP global settings

LLDP global settings

Using the GUI:
  1. Go to Switch > LLDP MED > Settings.
  2. Select or clear Enable LLDP Transmit/Receive.
  3. Select the management interface.
  4. Enter a value in the Transmit Hold field.
  5. Enter the number of seconds for the transmit interval.
  6. Select or clear Fast Start. If you select Fast Start, enter the number of seconds.
  7. Select Update.
Using the CLI:

config switch lldp settings

set status {enable | disable}

set tx-hold <integer>

set tx-interval <integer>

set fast-start-interval <integer>

set management-interface <layer-3 interface>

set management-address {ipv4 | ipv6 | none}

end

Variable

Description

status

Enable or disable

tx-hold

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

tx-interval

Frequency of LLDP PDU transmission ranging from 5 to 4095 seconds (default is 30).

fast-start-interval

How often the FortiSwitch unit transmits the first four 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 advertised in LLDP and CDP PDUs.

management-address

Select whether to advertise an IPv4 address, an IPv6 address, or none. By default, both IPv4 and IPv6 addresses are advertised.

Setting the asset tag

To help identify the unit, LLDP uses the asset tag, which can be at most 32 characters. It will be added to the LLDP-MED inventory TLV (when that TLV is enabled):

config system global

set asset-tag <string>

end

Configuring the location table

Because mobile phones have no fixed addresses associated with them, calls to 911 need the location information provided in emergency location identifier numbers (ELINs). You need to first configure the location table used by LLDP-MED for enhanced 911 emergency calls and then configure the LLDP profile to use the location table.

Using the GUI:
  1. Go to System > Locations.
  2. Select Add Location.
  3. Required. In the Name field, enter a unique name for the location entry.
  4. In the ELIN Number field, enter the ELIN, which is a unique phone number. The value must be no more than 31-characters long.
  5. Enter the civic address.
    1. In the Additional field, enter additional location information, for example, west wing.
    2. In the Additional Code field, enter the additional country-specific code for the location. In Japan, use the Japan Industry Standard (JIS) address code.
    3. In the Block field, enter the neighborhood (Korea) or block
    4. In the Branch Road field, enter the branch road name. This value is used when side streets do not have unique names so that both the primary road and side street are used to identify the correct road
    5. In the Building field, enter the name of the building (structure) if the address includes more than one building, for example, Law Library.
    6. In the City field, enter the city (Germany), township, or shi (Japan).
    7. In the City Division field, enter the city division, borough, city district (Germany), ward, or chou (Japan).
    8. Required. In the Country field, enter the two-letter ISO 3166 country code in capital ASCII letters, for example, US, CA, DK, and DE.
    9. In the Country Subdivision field, enter the national subdivision (such as state, canton, region, province, or prefecture). In Canada, the subdivision is province. In Germany, the subdivision is state. In Japan, the subdivision is metropolis. In Korea, the subdivision is province. In the United States, the subdivision is state.
    10. In the County field, enter the county (Canada, Germany, Korea, and United States), parish, gun (Japan), or district (India).
    11. In the Direction field, enter N, E, S, W, NE, NW, SE, or SW for the leading street direction.
    12. In the Floor field, enter the floor number, for example, 4.
    13. In the Landmark field, enter the nickname, landmark, or vanity address, for example, UC Berkeley.
    14. In the Language field, enter the ISO 639 language code used for the address information.
    15. In the Name field, enter the person or organization associated with the address, for example, Fortinet or Textures Beauty Salon.
    16. In the Number field, enter the street address, for example, 1560.
    17. In the Number Suffix field, enter any modifier to the street address. For example, if the full street address is 1560A, enter 1560 for the number and A for the number suffix.
    18. In the Place Type field, enter the type of place, for example, home, office, or street.
    19. In the Post Office Box field, enter the post office box, for example, P.O. Box 1543. When the post-office-box value is set, the street address components are replaced with this value.
    20. In the Postal Community field, enter the postal community name, for example, Alviso. When the postal community name is set, the civic community name is replaced by this value.
    21. In the Primary Road field, enter the primary road or street name for the address.
    22. In the Road Section field, enter the specific section or stretch of a primary road. This field is used when the same street number appears more than once on the primary road.
    23. In the Room field, enter the room number, for example, 7A.
    24. In the Script field, enter the script used to present the address information, for example, Latn.
    25. In the Seat field, enter the seat number in a stadium or theater or a cubicle number in an office or a booth in a trade show.
    26. In the Street field, enter the street (Canada, Germany, Korea, and United States).
    27. In the Street Name Post Mod field, enter an optional part of the street name that appears after the actual street name. If the full street name is East End Avenue Extended, enter Extended.
    28. In the Street Name Pre Mod field, enter an optional part of the street name that appears before the actual street name. If the full street name is Old North First Street, enter Old.
    29. In the Street Suffix field, enter the type of street, for example, Ave or Place. Valid values are listed in the United States Postal Service Publication 28 [18], Appendix C.
    30. In the Sub Branch Road field, enter the name of a street that branches off of a branch road. This value is used when the primary road, branch road, and subbranch road names are needed to identify the correct street.
    31. In the Trailing Str Suffix field, enter N, E, S, W, NE, NW, SE, or SW for the trailing street direction.
    32. In the Unit field, enter the unit (apartment or suite), for example, Apt 27.
    33. In the ZIP field, enter the postal or zip code for the address, for example, 94089-1345.
  6. Enter the GPS coordinates.
    1. Required. In the Altitude field, enter the vertical height of a location in feet or meters. The format is +/- floating-point number, for example, 117.47.
    2. Select Feet or Meters for the unit of measurement for the altitude.
    3. For the Datum drop-down list, select which map is used for the location: WGS84, NAD83, or NAD83/MLLW.
    4. Required. In the Latitude field, enter the latitude. The format is floating point starting with +/- or ending with N/S, for example, +/-16.67 or 16.67N.
    5. Required. In the Longitude field, enter the longitude. The format is floating point starting with +/- or ending with E/W, for example, +/-26.789 or 26.789E.
  7. Select Add.
Using the CLI:

config system location

edit <name>

config address-civic

set additional <string>

set additional-code <string>

set block <string>

set branch-road <string>

set building <string>

set city <string>

set city-division <string>

set country <string>

set country-subdivision <string>

set county <string>

set direction <string>

set floor <string>

set landmark <string>

set language <string>

set name <string>

set number <string>

set number-suffix <string>

set place-type <string>

set post-office-box <string>

set postal-community <string>

set primary-road <string>

set road-section <string>

set room <string>

set script <string>

set seat <string>

set street <string>

set street-name-post-mod <string>

set street-name-pre-mod <string>

set street-suffix <string>

set sub-branch-road <string>

set trailing-str-suffix <string>

set unit <string>

set zip <string>

end

config coordinates

set altitude <string>

set altitude-unit {f | m}

set datum {NAD83 | NAD83/MLLW | WGS84}

set latitude <string>

set longitude <string>

end

config elin-number

set elin-number <number>

end

For example:

config system location

edit Fortinet

config address-civic

set country "US"

set language "English"

set county "Santa Clara"

set city "Sunnyvale"

set street "Kifer"

set street-suffix "Road"

set number "899"

set zip "94086"

set building "1"

set floor "1"

set seat "1293"

end

next

edit "Fortinet"

config elin-number

set elin-number "14082357700"

end

end

LLDP global settings

LLDP global settings

Using the GUI:
  1. Go to Switch > LLDP MED > Settings.
  2. Select or clear Enable LLDP Transmit/Receive.
  3. Select the management interface.
  4. Enter a value in the Transmit Hold field.
  5. Enter the number of seconds for the transmit interval.
  6. Select or clear Fast Start. If you select Fast Start, enter the number of seconds.
  7. Select Update.
Using the CLI:

config switch lldp settings

set status {enable | disable}

set tx-hold <integer>

set tx-interval <integer>

set fast-start-interval <integer>

set management-interface <layer-3 interface>

set management-address {ipv4 | ipv6 | none}

end

Variable

Description

status

Enable or disable

tx-hold

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

tx-interval

Frequency of LLDP PDU transmission ranging from 5 to 4095 seconds (default is 30).

fast-start-interval

How often the FortiSwitch unit transmits the first four 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 advertised in LLDP and CDP PDUs.

management-address

Select whether to advertise an IPv4 address, an IPv6 address, or none. By default, both IPv4 and IPv6 addresses are advertised.

Setting the asset tag

To help identify the unit, LLDP uses the asset tag, which can be at most 32 characters. It will be added to the LLDP-MED inventory TLV (when that TLV is enabled):

config system global

set asset-tag <string>

end

Configuring the location table

Because mobile phones have no fixed addresses associated with them, calls to 911 need the location information provided in emergency location identifier numbers (ELINs). You need to first configure the location table used by LLDP-MED for enhanced 911 emergency calls and then configure the LLDP profile to use the location table.

Using the GUI:
  1. Go to System > Locations.
  2. Select Add Location.
  3. Required. In the Name field, enter a unique name for the location entry.
  4. In the ELIN Number field, enter the ELIN, which is a unique phone number. The value must be no more than 31-characters long.
  5. Enter the civic address.
    1. In the Additional field, enter additional location information, for example, west wing.
    2. In the Additional Code field, enter the additional country-specific code for the location. In Japan, use the Japan Industry Standard (JIS) address code.
    3. In the Block field, enter the neighborhood (Korea) or block
    4. In the Branch Road field, enter the branch road name. This value is used when side streets do not have unique names so that both the primary road and side street are used to identify the correct road
    5. In the Building field, enter the name of the building (structure) if the address includes more than one building, for example, Law Library.
    6. In the City field, enter the city (Germany), township, or shi (Japan).
    7. In the City Division field, enter the city division, borough, city district (Germany), ward, or chou (Japan).
    8. Required. In the Country field, enter the two-letter ISO 3166 country code in capital ASCII letters, for example, US, CA, DK, and DE.
    9. In the Country Subdivision field, enter the national subdivision (such as state, canton, region, province, or prefecture). In Canada, the subdivision is province. In Germany, the subdivision is state. In Japan, the subdivision is metropolis. In Korea, the subdivision is province. In the United States, the subdivision is state.
    10. In the County field, enter the county (Canada, Germany, Korea, and United States), parish, gun (Japan), or district (India).
    11. In the Direction field, enter N, E, S, W, NE, NW, SE, or SW for the leading street direction.
    12. In the Floor field, enter the floor number, for example, 4.
    13. In the Landmark field, enter the nickname, landmark, or vanity address, for example, UC Berkeley.
    14. In the Language field, enter the ISO 639 language code used for the address information.
    15. In the Name field, enter the person or organization associated with the address, for example, Fortinet or Textures Beauty Salon.
    16. In the Number field, enter the street address, for example, 1560.
    17. In the Number Suffix field, enter any modifier to the street address. For example, if the full street address is 1560A, enter 1560 for the number and A for the number suffix.
    18. In the Place Type field, enter the type of place, for example, home, office, or street.
    19. In the Post Office Box field, enter the post office box, for example, P.O. Box 1543. When the post-office-box value is set, the street address components are replaced with this value.
    20. In the Postal Community field, enter the postal community name, for example, Alviso. When the postal community name is set, the civic community name is replaced by this value.
    21. In the Primary Road field, enter the primary road or street name for the address.
    22. In the Road Section field, enter the specific section or stretch of a primary road. This field is used when the same street number appears more than once on the primary road.
    23. In the Room field, enter the room number, for example, 7A.
    24. In the Script field, enter the script used to present the address information, for example, Latn.
    25. In the Seat field, enter the seat number in a stadium or theater or a cubicle number in an office or a booth in a trade show.
    26. In the Street field, enter the street (Canada, Germany, Korea, and United States).
    27. In the Street Name Post Mod field, enter an optional part of the street name that appears after the actual street name. If the full street name is East End Avenue Extended, enter Extended.
    28. In the Street Name Pre Mod field, enter an optional part of the street name that appears before the actual street name. If the full street name is Old North First Street, enter Old.
    29. In the Street Suffix field, enter the type of street, for example, Ave or Place. Valid values are listed in the United States Postal Service Publication 28 [18], Appendix C.
    30. In the Sub Branch Road field, enter the name of a street that branches off of a branch road. This value is used when the primary road, branch road, and subbranch road names are needed to identify the correct street.
    31. In the Trailing Str Suffix field, enter N, E, S, W, NE, NW, SE, or SW for the trailing street direction.
    32. In the Unit field, enter the unit (apartment or suite), for example, Apt 27.
    33. In the ZIP field, enter the postal or zip code for the address, for example, 94089-1345.
  6. Enter the GPS coordinates.
    1. Required. In the Altitude field, enter the vertical height of a location in feet or meters. The format is +/- floating-point number, for example, 117.47.
    2. Select Feet or Meters for the unit of measurement for the altitude.
    3. For the Datum drop-down list, select which map is used for the location: WGS84, NAD83, or NAD83/MLLW.
    4. Required. In the Latitude field, enter the latitude. The format is floating point starting with +/- or ending with N/S, for example, +/-16.67 or 16.67N.
    5. Required. In the Longitude field, enter the longitude. The format is floating point starting with +/- or ending with E/W, for example, +/-26.789 or 26.789E.
  7. Select Add.
Using the CLI:

config system location

edit <name>

config address-civic

set additional <string>

set additional-code <string>

set block <string>

set branch-road <string>

set building <string>

set city <string>

set city-division <string>

set country <string>

set country-subdivision <string>

set county <string>

set direction <string>

set floor <string>

set landmark <string>

set language <string>

set name <string>

set number <string>

set number-suffix <string>

set place-type <string>

set post-office-box <string>

set postal-community <string>

set primary-road <string>

set road-section <string>

set room <string>

set script <string>

set seat <string>

set street <string>

set street-name-post-mod <string>

set street-name-pre-mod <string>

set street-suffix <string>

set sub-branch-road <string>

set trailing-str-suffix <string>

set unit <string>

set zip <string>

end

config coordinates

set altitude <string>

set altitude-unit {f | m}

set datum {NAD83 | NAD83/MLLW | WGS84}

set latitude <string>

set longitude <string>

end

config elin-number

set elin-number <number>

end

For example:

config system location

edit Fortinet

config address-civic

set country "US"

set language "English"

set county "Santa Clara"

set city "Sunnyvale"

set street "Kifer"

set street-suffix "Road"

set number "899"

set zip "94086"

set building "1"

set floor "1"

set seat "1293"

end

next

edit "Fortinet"

config elin-number

set elin-number "14082357700"

end

end