Contents
● LLDPとは?
○ プロトコル概要
○ パケットフォーマット
● LLDPの設定
○ Cisco IOSによる設定方法
○ Juniper JUNOSによる設定方法
LLDPとは?
● 隣接NWデバイスの基本情報の交換
○ マルチベンダ対応(IEEE 802.1AB)
● 交換できる情報
○ Chassis ID
○ Port ID
○ System Description など
パケットフォーマット
Dest MAC
6 Byte
01:80:C2:00:00:0E
Source MAC
6 Byte
Ether Type
2 Byte
0x88CC
LLDP PDU
Chassis ID Port ID ・・・ End of LLDP PDU
Hands-on on IOS
G0/1
.1
G0/1
.2
Router1 Router2
192.168.0.0/24
IOS Configs
● LLDPの有効化
○ (config)# lldp run
● Interface上LLDP送受信の無効化
○ (config-if)# no lldp transmit
○ (config-if)# no lldp recieve
● Timerの調整
○ (config)# lldp holdtime 120
○ (config)# lldp timer 30
IOS Shows
● LLDPのステータス
○ # show lldp
○ # show lldp interface
● LLDPネイバー情報
○ # show lldp neighbors
● トラフィックカウンタ
○ #show lldp traffic
IOS Clears
● LLDPネイバーテーブルの削除
○ # clear lldp table
● カウンタ値の削除
○ # clear lldp counters
Hands-on on JUNOS
Router1 Router2
ge-4/0/2.0
.1
ge-4/0/0.0
.2
192.168.0.0/24
JUNOS Configs
● LLDPの無効化
○ # set protocols lldp disable
○ # set protocols lldp interface ge-0/0/0 disable
● Timerの調整
○ # set protocols lldp advertisement-interval 30
○ # set protocols lldp hold-multiplier 4
JUNOS Shows
● LLDPのステータス
○ # show lldp detail
● LLDPネイバー情報
○ # show lldp neighbors interface ge-0/0/0
● LLDP統計情報
○ #show lldp statistics interface ge-/0/0/0
JUNOS Clears
● LLDPネイバーテーブルの削除
○ # clear lldp neighbors interface ge-/0/0/0
● カウンタ値の削除
○ # clear lldp statistics interface ge-0/0/0
More Details
● Wikipedia
○ https://en.wikipedia.org/wiki/Link_Layer_Discovery_Pr
otocol
Please find more details on
my Youtube channel. The link
is shown below.
動画解説は下のYoutube
リンクからどうぞ。

ネットワークプロトコル探索隊 LLDP-Link Layer Discovery Protocol-