Cisco Discovery Protocol (CDP)
NOTE
- SNAP をサポートするメディアで動く(イーサ、FR、ATM、PPP、HDLCなど)
- マルチキャスト 01:00:0c:cc:cc:cc
Switch(config)#cdp ? advertise-v2 CDP sends version-2 advertisements filter-tlv-list Apply tlv-list globally holdtime Specify the holdtime (in sec) to be sent in packets run Enable CDP timer Specify the rate at which CDP packets are sent (in sec) tlv Enable exchange of specific tlv information tlv-list Configure tlv-list Switch(config)# Switch(config)#interface gigabitEthernet 0/0 Switch(config-if)# Switch(config-if)#cdp ? enable Enable CDP on interface filter-tlv-list Apply tlv list filter on interface tlv Enable exchange of specific tlv information
Link Layer Discovery Protocol (LLDP)
NOTE
Switch(config)#lldp ? holdtime Specify the holdtime (in sec) to be sent in packets reinit Delay (in sec) for LLDP initialization on any interface run Enable LLDP timer Specify the rate at which LLDP packets are sent (in sec) tlv-select Selection of LLDP TLVs to send Switch(config-if)#lldp ? med-tlv-select Selection of LLDP MED TLVs to send receive Enable LLDP reception on interface tlv-select Selection of LLDP TLVs to send transmit Enable LLDP transmission on interface
- マルチキャストアドレス 01:80:c2:00:00:0e
- 単方向で送信するだけ、情報要求はしない
- timer はhello 相当でデフォルト30秒
- hold はデフォルト120秒
必須
- 機器の識別情報 chassis ID
- ポートの識別情報 Port ID
- 情報の有効期間 Time To Live
LLDP-MED (LLDP for Media Endpoint Device)
- IP-phone とSWのような組み合わせで使うLLDP拡張
- L2、L3のQoS情報、PoE、インベントリ情報
コメント