【命令功能】
enable algorithm-type命令用来配置不同算法的加密类型。
no enable algorithm-type命令用来取消已配置的加密类型。
default enable algorithm-type命令用来恢复缺省配置。
缺省情况下,使用SHA256加密算法进行加密。
【命令格式】
enable algorithm-type { md5 | sha256 }
no enable algorithm-type
default enable algorithm-type
【参数说明】
md5:使用MD5的算法加密Secret口令。
sha256:使用SHA256的算法加密Secret口令。
【命令模式】
全局配置模式
【缺省级别】
15
【使用指导】
enable secret安全口令加密类型分为MD5以及SHA256两种,在默认未配置的情况下,使用的是SHA256算法进行加密,更改算法类型后,需要重新设置口令后方可生效。
【配置举例】
# 配置加密算法类型为MD5。 Hostname> enable Hostname# configure terminal Hostname(config)# enable algorithm-type md5
© 版权声明
本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长进行删除处理。Mail To:718588255@qq.com
THE END