Rechercher une page de manuel
lldpctl
Langue: en
Version: 305411 (debian - 07/07/09)
Section: 8 (Commandes administrateur)
BSD mandoc
NAME
lldpctl - control LLDP daemonSYNOPSIS
[-d ] [-L location ] [interface ... ]DESCRIPTION
The program controls lldpd(8) daemon.When no specific option is given, displays the list of discovered neighbors along with some of their advertised capabilities. If some interfaces are given, only those interfaces will be displayed.
The options are as follows:
- -d
- Enable more debugging information.
- -L location
- Enable the transmission of LLDP-MED location TLV for the given interfaces. This option can be repeated several times to enable the transmission of the location in several formats. Several formats are accepted:
- Coordinate based location
- The format of location is 1:48.85667:N:2.2014:E:117.47:m:1 The first digit is always 1 It is followed by the latitude, a letter for the direction ( E or W for East or West), the longitude and a letter for the direction ( N or S ). The next figure is the altitude. It can be expressed in meters (the next letter is then m ) or in floors (the letter should be f ). The last digit is the datum. It can either be 1 (WGS84), 2 (NAD83) or 3 (NAD83/MLLW).
- Civic address
- The location can be expressed as an address. The format of the location is then 2:FR:6:Commercial Rd:3:Roseville:19:4 The first digit is always 2 The next two letters are the country code. Then, arguments are paired to form the address. The first member of the pair is a digit indicating the type of the second member. Here is the list of valid types:
- 0
- Language
- 1
- National subdivisions
- 2
- County, parish, district
- 3
- City, township
- 4
- City division, borough, ward
- 5
- Neighborhood, block
- 6
- Street
- 16
- Leading street direction
- 17
- Trailing street suffix
- 18
- Street suffix
- 19
- House number
- 20
- House number suffix
- 21
- Landmark or vanity address
- 22
- Additional location info
- 23
- Name
- 24
- Postal/ZIP code
- 25
- Building
- 26
- Unit
- 27
- Floor
- 28
- Room number
- 29
- Place type
- 128
- Script
- ECS ELIN
- This is a numerical string using for setting up emergency call. The format of the location is then the following: 3:0000000911 where the first digit should be 3 and the second argument is the ELIN number.
When setting a location for a given port, all previous locations are erased. To erase all location, just use the empty string. There is currently no way to get the location from the command line.
FILES
- /var/run/lldpd.socket
- Unix-domain socket used for communication with lldpd(8).
SEE ALSO
lldpd(8)AUTHORS
An -nosplit The program was written by An Vincent Bernat Aq bernat@luffy.cx .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre