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