锐捷交换机algorithm-type使用介绍

【命令功能】

algorithm-type命令用来配置Line线路登录的加密类型。

no algorithm-type命令用来取消Line线路登录的加密类型配置。

default algorithm-type命令用来恢复缺省配置。

缺省情况下,Line线路登录的加密类型使用SHA256加密算法。

【命令格式】

algorithm-type { md5 | sha256 }

no algorithm-type

default algorithm-type

【参数说明】

md5:使用MD5算法加密Secret口令。

sha256:使用SHA256算法加密Secret口令。

【命令模式】

Line配置模式

【缺省级别】

15

【使用指导】

Secret安全口令加密类型分为MD5以及SHA256两种。更改加密类型后,需要重新设置口令,新加密类型方可生效。

【配置举例】

# 配置线路VTY 1的登录加密算法类型为MD5。
Hostname> enable
Hostname# configure terminal
Hostname(config)# line vty 1
Hostname(config-line)# algorithm-type md5


© 版权声明
THE END