• 追加された行はこの色です。
  • 削除された行はこの色です。
目次~
#contents
*概要 [#b2971519]
Debian 9.1にてlldpdを使用する方法。

*導入手順 [#p26cc0a2]
**インストール [#m1c2de3e]
-パッケージ導入
 # apt-get install lldpd

-サービスの自動起動を設定する~
 # systemctl enable lldpd
 
 # systemctl status lldpd

 ● lldpd.service - LLDP daemon
   Loaded: loaded (/lib/systemd/system/lldpd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-09-07 00:08:10 JST; 10min ago
     Docs: man:lldpd(8)
  Process: 431 ExecStartPre=/bin/mkdir -p /var/run/lldpd (code=exited, status=0/SUCCESS)
 Main PID: 445 (lldpd)
   CGroup: /system.slice/lldpd.service
           ├─445 lldpd: monitor. 
           └─458 lldpd: connected to MGT-SW01.
 
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[445]: 2018-09-07T00:08:10 [INFO/main] protocol FDP disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[445]: 2018-09-07T00:08:10 [INFO/event] libevent 2.0.21-stable initialized with epoll
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: protocol CDPv1 disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: protocol CDPv2 disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: protocol SONMP disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: protocol EDP disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: protocol FDP disabled
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[458]: libevent 2.0.21-stable initialized with epoll method
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpcli[457]: lldpd should resume operations
 9月 07 00:08:10 cs-pi.localnet.asabiya.net lldpd[445]: 2018-09-07T00:08:10 [INFO/lldpctl] lldpd should resume operations


-サービスを起動する~
 # systemctl start lldpd



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS