2024年6月14日发(作者:香春蕾)
S21交换机配置LLDP
福 建 星 网 锐 捷 网 络 有 限 公 司
800技术支持平台 800-858-1360
福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002
配置LLDP
LLDP的缺省配置
内容
LLDP功能
LLDP可用端口
LLDP timer
LLDP holdtime
缺省配置
打开
在所有物理端口上均可用
60秒
180秒
打开或关闭LLDP功能
步骤如下:
Switch# configure terminal
!进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# no lldp run
!关闭LLDP功能
2006-03-16 12:46:05 @5-CONFIG:Configured from outband
Switch(config)# end
!退回到特权模式
2006-03-16 12:46:08 @5-CONFIG:Configured from outband
Switch# show lldp
!验证配置
% LLDP is not enabled
Switch# write
!保存
[OK]
注:通过全局配置模式下的命令lldp run来打开LLDP功能
配置LLDP timer
步骤如下 :
Switch# configure terminal
!进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# lldp timer 68
!配置timer,范围在5-299,缺省值为60秒
2006-03-16 12:52:16 @5-CONFIG:Configured from outband
Switch(config)# end
!退回到特权模式
福 建 星 网 锐 捷 网 络 有 限 公 司
800技术支持平台 800-858-1360
福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002
2024年6月14日发(作者:香春蕾)
S21交换机配置LLDP
福 建 星 网 锐 捷 网 络 有 限 公 司
800技术支持平台 800-858-1360
福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002
配置LLDP
LLDP的缺省配置
内容
LLDP功能
LLDP可用端口
LLDP timer
LLDP holdtime
缺省配置
打开
在所有物理端口上均可用
60秒
180秒
打开或关闭LLDP功能
步骤如下:
Switch# configure terminal
!进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# no lldp run
!关闭LLDP功能
2006-03-16 12:46:05 @5-CONFIG:Configured from outband
Switch(config)# end
!退回到特权模式
2006-03-16 12:46:08 @5-CONFIG:Configured from outband
Switch# show lldp
!验证配置
% LLDP is not enabled
Switch# write
!保存
[OK]
注:通过全局配置模式下的命令lldp run来打开LLDP功能
配置LLDP timer
步骤如下 :
Switch# configure terminal
!进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# lldp timer 68
!配置timer,范围在5-299,缺省值为60秒
2006-03-16 12:52:16 @5-CONFIG:Configured from outband
Switch(config)# end
!退回到特权模式
福 建 星 网 锐 捷 网 络 有 限 公 司
800技术支持平台 800-858-1360
福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002