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