锐捷交换机exec-timeout命令用来配置Line线路下设备的连接超时时间

【命令功能】

exec-timeout命令用来配置Line线路下设备的连接超时时间。

no exec-timeout命令用来取消Line线路下设备的连接超时,即连接永不超时。

default exec-timeout命令用来恢复缺省配置。

缺省情况下,Line线路下设备的连接超时时间为10分钟。

【命令格式】

exec-timeout exec-timeout-minutes [ exec-timeout-seconds ]

no exec-timeout

default exec-timeout

【参数说明】

exec-timeout-minutes:指定的超时时间,取值范围为0~35791,单位为分钟。

exec-timeout-seconds:指定的超时时间,取值范围为0~2147483,单位为秒。

【命令模式】

Line配置模式

【缺省级别】

14

【使用指导】

Line线路下设备的连接超时时间由配置的分钟和秒钟的值叠加而成。如果在指定的时间内,对应连接没有任何输入输出信息,设备将中断此连接并恢复Line线路为空闲可用状态。

【配置举例】

# 配置Line线路VTY 0的连接超时时间为5分30秒。
Hostname> enable
Hostname# configure terminal
Hostname(config)# line vty 0
Hostname(config-line)# exec-timeout 5 30


© 版权声明
THE END