]> git.ipfire.org Git - thirdparty/lldpd.git/blob - tests/lldpcli.conf
lldpcli: ask for power pairs only when PSE
[thirdparty/lldpd.git] / tests / lldpcli.conf
1 # Try all commands.
2 # Keep those commands in the same order as the one in the manual page.
3
4 show neighbors details hidden
5 show neighbors summary
6 show neighbors ports eth0 details
7 show configuration
8 show chassis details
9 show statistics
10 show statistics summary
11 show statistics ports eth0
12 configure system hostname Batman
13 unconfigure system hostname
14 configure system description Batman
15 unconfigure system description
16 configure system platform Batman
17 unconfigure system platform
18 configure system interface pattern *
19 unconfigure system interface pattern
20 configure system interface description
21 unconfigure system interface description
22 configure system interface promiscuous
23 unconfigure system interface promiscuous
24 configure system ip management pattern *
25 unconfigure system ip management pattern
26 configure system max-neighbors 16
27 configure lldp portidsubtype ifname
28 configure lldp portidsubtype macaddress
29 configure lldp portidsubtype local Batman
30 configure lldp portidsubtype local Batman description Batman
31 configure lldp tx-interval 30
32 configure lldp tx-hold 4
33 configure lldp ports eth0 status tx-only
34 configure lldp status rx-and-tx
35 configure lldp custom-tlv oui 33,44,55 subtype 44
36 configure lldp custom-tlv oui 33,44,55 subtype 44 oui-info 45,45,45,45,45
37 configure lldp custom-tlv add oui 33,44,55 subtype 44 oui-info 55,55,55,55,55
38 configure lldp custom-tlv add oui 33,44,55 subtype 55 oui-info 65,65,65,65,65
39 configure lldp custom-tlv replace oui 33,44,55 subtype 44 oui-info 66,66,66,66,66
40 unconfigure lldp custom-tlv oui 33,44,55 subtype 55
41 unconfigure lldp custom-tlv
42 configure system bond-slave-src-mac-type fixed
43 configure system bond-slave-src-mac-type local
44 configure med fast-start enable
45 configure med fast-start tx-interval 3
46 unconfigure med fast-start
47 configure med location coordinate latitude 48.58667N longitude 2.2014E altitude 117.47 m datum WGS84
48 configure med location address country US language en_US street "Commercial Road" city "Roseville"
49 configure med location elin 911
50 configure ports eth0 med location elin 911
51 configure med policy application voice tagged vlan 500 priority voice dscp 46
52 configure ports eth0 med policy application voice vlan 500 priority voice dscp 46
53 configure med power pd source pse priority high value 5000
54 configure ports eth0 med power pd source pse priority high value 5000
55 configure dot3 power pse supported enabled paircontrol powerpairs spare class class-3
56 configure ports eth0 dot3 power pse supported enabled paircontrol powerpairs spare class class-3
57 configure dot3 power pd supported enabled class class-3 type 1 source pse priority low requested 10000 allocated 15000
58
59 # A convenient way to "test" lldpcli and liblldpctl is to load those commands in lldpcli with valgrind:
60 # libtool execute valgrind --suppressions=../src/client/lldpcli.supp --leak-check=full src/client/lldpcli -c ../tests/lldpcli.conf