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#

 

 

 

转载于:https://www.cnblogs.com/niezhongle/p/11075333.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值