]> git.ipfire.org Git - thirdparty/lldpd.git/blame - tests/lldpcli.conf
travis: disable integration tests
[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
26configure lldp portidsubtype ifname
27configure lldp portidsubtype macaddress
28configure lldp portidsubtype local Batman
29configure lldp portidsubtype local Batman description Batman
30configure lldp tx-interval 30
31configure lldp tx-hold 4
e7331ce9
VB
32configure lldp ports eth0 status txOnly
33configure lldp status rxAndTx
389ac8bd
VB
34configure lldp custom-tlv oui 33,44,55 subtype 44
35configure lldp custom-tlv oui 33,44,55 subtype 44 oui-info 45,45,45,45,45
36unconfigure lldp custom-tlv
37configure system bond-slave-src-mac-type fixed
38configure system bond-slave-src-mac-type local
39configure med fast-start enable
40configure med fast-start tx-interval 3
41unconfigure med fast-start
42configure med location coordinate latitude 48.58667N longitude 2.2014E altitude 117.47 m datum WGS84
451b0c3c 43configure med location address country US language en_US street "Commercial Road" city "Roseville"
389ac8bd
VB
44configure med location elin 911
45configure ports eth0 med location elin 911
46configure med policy application voice vlan 500 priority voice dscp 46
47configure ports eth0 med policy application voice vlan 500 priority voice dscp 46
48configure med power pd source pse priority high value 5000
49configure ports eth0 med power pd source pse priority high value 5000
50configure dot3 power pse supported enabled paircontrol powerpairs spare class class-3
51configure ports eth0 dot3 power pse supported enabled paircontrol powerpairs spare class class-3
52configure dot3 power pd supported enabled powerpairs spare class class-3 type 1 source pse priority low requested 10000 allocated 15000
53
54# A convenient way to "test" lldpcli and liblldpctl is to load those commands in lldpcli with valgrind:
e55e7492 55# libtool execute valgrind --suppressions=../src/client/lldpcli.supp --leak-check=full src/client/lldpcli -c ../tests/lldpcli.conf