Debian 9 LLDP使用方法 のバックアップ(No.1)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Debian 9 LLDP使用方法 へ行く。
- 1 (2018-09-07 (金) 00:19:45)
目次
概要 †
Debian 9.1にてlldpdを使用する方法。
導入手順 †
インストール †
- パッケージ導入
# 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