-
-
Notifications
You must be signed in to change notification settings - Fork 181
/
lldpcli.conf
76 lines (72 loc) · 3.42 KB
/
lldpcli.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Try all commands.
# Keep those commands in the same order as the one in the manual page.
show neighbors details hidden
show neighbors summary
show neighbors ports eth0 details
show configuration
show chassis details
show statistics
show statistics summary
show statistics ports eth0
configure system hostname Batman
unconfigure system hostname
configure system description Batman
unconfigure system description
configure system platform Batman
unconfigure system platform
configure system interface pattern *
unconfigure system interface pattern
configure system interface description
unconfigure system interface description
configure system interface promiscuous
unconfigure system interface promiscuous
configure system ip management pattern *
unconfigure system ip management pattern
configure system max-neighbors 16
configure lldp portidsubtype ifname
configure lldp portidsubtype macaddress
configure lldp portidsubtype local Batman
configure lldp portidsubtype local Batman description Batman
configure lldp tx-interval 30
configure lldp tx-hold 4
configure ports eth0 lldp status tx-only
configure lldp status rx-and-tx
configure lldp custom-tlv oui 33,44,55 subtype 44
configure lldp custom-tlv oui 33,44,55 subtype 44 oui-info 45,45,45,45,45
configure lldp custom-tlv add oui 33,44,55 subtype 44 oui-info 55,55,55,55,55
configure lldp custom-tlv add oui 33,44,55 subtype 55 oui-info 65,65,65,65,65
configure lldp custom-tlv replace oui 33,44,55 subtype 44 oui-info 66,66,66,66,66
unconfigure lldp custom-tlv oui 33,44,55 subtype 55
unconfigure lldp custom-tlv
configure system bond-slave-src-mac-type fixed
configure system bond-slave-src-mac-type local
configure med fast-start enable
configure med fast-start tx-interval 3
unconfigure med fast-start
configure med location coordinate latitude 48.58667N longitude 2.2014E altitude 117.47 m datum WGS84
configure med location address country US language en_US street "Commercial Road" city "Roseville"
configure med location elin 911
configure ports eth0 med location elin 911
configure med policy application voice tagged vlan 500 priority voice dscp 46
configure ports eth0 med policy application voice vlan 500 priority voice dscp 46
configure med power pd source pse priority high value 5000
configure ports eth0 med power pd source pse priority high value 5000
configure dot3 power pse supported enabled paircontrol powerpairs spare class class-3
configure ports eth0 dot3 power pse supported enabled paircontrol powerpairs spare class class-3
configure dot3 power pd supported enabled powerpairs spare class class-3 type 1 source pse priority low requested 10000 allocated 15000
configure inventory hardware-revision "SQRT2-1.41421356237309504880"
configure inventory software-revision "E-2.7182818284590452354"
configure inventory firmware-revision "PI-3.14159265358979323846"
configure inventory serial "FIBO112358"
configure inventory manufacturer "Cybertron"
configure inventory model "OptimusPrime"
configure inventory asset "SQRT3-1.732050807568877"
unconfigure inventory hardware-revision
unconfigure inventory software-revision
unconfigure inventory firmware-revision
unconfigure inventory serial
unconfigure inventory manufacturer
unconfigure inventory model
unconfigure inventory asset
# A convenient way to "test" lldpcli and liblldpctl is to load those commands in lldpcli with valgrind:
# libtool execute valgrind --suppressions=../src/client/lldpcli.supp --leak-check=full src/client/lldpcli -c ../tests/lldpcli.conf