LLDP 鏈路層發現協議


1.1         基本功能

通過配置LLDP,在對端查看鏈路發現信息

1.1.1         拓撲

 

1.1.2         配置

1)在208的ge1端口配置LLDP功能,設置各項參數;

xNet#con t

xNet(config)#interface ge1

xNet(config-if)#set lldp enable txrx

xNet(config-if)#set lldp chassis-id-tlv mac-address

xNet(config-if)#set lldp management-address-tlv ip-address

xNet(config-if)#set lldp msg-tx-hold 10

xNet(config-if)#set lldp timer tx-delay 1

xNet(config-if)#set lldp timer msg-tx-interval 5

xNet(config-if)#set lldp too-many-neighbors limit 65535 discard received-info timer 1

xNet(config-if)#lldp tlv chassis-id ieee-8021-org-specific ieee-8023-org-specific management-address port-description port-id system-capabilities system-description system-name ttl

xNet(config-if)#exit

xNet(config)#lldp ip address 10.204.253.208

xNet(config)#set lldp system-name xNetBox

xNet(config)#set lldp system-description Weil_xNetBox

xNet(config)#end

xNet#

使用show running-config查看配置:

 

2)在207的ge1端口打開LLDP接收

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#set lldp enable rxonly

xNet(config-if)#end

xNet#

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM