この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
この章の内容は、次のとおりです。
スイッチでリンク層検出プロトコル(LLDP)機能がイネーブルになっていることを確認します。
次に、グローバルな LLDP ホールドタイムを 200 秒に設定する例を示します。
switch# configure terminal switch(config)# lldp holdtime 200 switch(config)#
次に、LLDP による管理アドレス TLV の送信または受信を有効にする例を示します。
switch# configure terminal switch(config)# lldp tlv-select management-address switch(config)#
次に、LLDP パケットを送信するようインターフェイスを設定する例を示します。
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# lldp transmit
次に、LLDP をディセーブルにするようインターフェイスを設定する例を示します。
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# no lldp transmit
switch(config-if)# no lldp receive
次に、LLDP インターフェイス情報を表示する例を示します。
switch# show lldp interface ethernet 1/2
tx_enabled: TRUE
rx_enabled: TRUE
dcbx_enabled: TRUE
Port MAC address: 00:0d:ec:a3:5f:48
Remote Peers Information
No remote peers exist
次に、LLDP ネイバー情報を表示する例を示します。
switch# show lldp neighbors LLDP Neighbors Remote Peers Information on interface Eth1/40 Remote peer's MSAP: length 12 Bytes: 00 c0 dd 0e 5f 3a 00 c0 dd 0e 5f 3a LLDP TLV's LLDP TLV type:Chassis ID LLDP TLV Length: 7 LLDP TLV type:Port ID LLDP TLV Length: 7 LLDP TLV type:Time to Live LLDP TLV Length: 2 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 55 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 5 LLDP TLV type:END of LLDPDU LLDP TLV Length: 0 Remote Peers Information on interface Eth1/34 Remote peer's MSAP: length 12 Bytes: 00 0d ec a3 27 40 00 0d ec a3 27 69 LLDP TLV's LLDP TLV type:Chassis ID LLDP TLV Length: 7 LLDP TLV type:Port ID LLDP TLV Length: 7 LLDP TLV type:Time to Live LLDP TLV Length: 2 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 55 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 5 LLDP TLV type:END of LLDPDU LLDP TLV Length: 0 Remote Peers Information on interface Eth1/33 Remote peer's MSAP: length 12 Bytes: 00 0d ec a3 27 40 00 0d ec a3 27 68 LLDP TLV's LLDP TLV type:Chassis ID LLDP TLV Length: 7 LLDP TLV type:Port ID LLDP TLV Length: 7 LLDP TLV type:Time to Live LLDP TLV Length: 2 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 55 LLDP TLV type:LLDP Organizationally Specific LLDP TLV Length: 5 LLDP TLV type:END of LLDPDU LLDP TLV Length: 0
次に、LLDP ネイバーに関するシステムの詳細を表示する例を示します。
switch# sh lldp neighbors system-detail Capability codes: (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other Device ID Local Intf Chassis ID PortID Hold-time Capability switch-2 Eth1/7 0005.73b7.37ce Eth1/7 120 B switch-3 Eth/9 0005.73b7.37d0 Eth1/9 120 B switch-4 Eth1/10 0005.73b7.37d1 Eth1/10 120 B Total entries displayed: 3
次に、LLDP タイマー情報を表示する例を示します。
switch# show lldp timers
LLDP Timers
holdtime 120 seconds
reinit 2 seconds
msg_tx_interval 30 seconds
次に、LLDP カウンタに関する情報を表示する例を示します。
switch# show lldp traffic
LLDP traffic statistics:
Total frames out: 8464
Total Entries aged: 6
Total frames in: 6342
Total frames received in error: 2
Total frames discarded: 2
Total TLVs unrecognized: 0