【命令功能】
ip telnet source-interface命令用来指定接口上的IP地址作为Telnet连接的源地址。
no ip telnet source-interface命令用来取消指定接口的IP地址作为Telnet连接的源地址。
default ip telnet source-interface命令用来恢复缺省配置。
缺省情况下,Telnet源接口为可达Telnet服务端的出接口。
【命令格式】
ip telnet source-interface interface-type interface-number
no ip telnet source-interface interface-type interface-number
default ip telnet source-interface interface-type interface-number
【参数说明】
interface-type interface-number:指定接口上配置的IP地址作为Telnet连接的源地址。其中,interface-type interface-number表示指定接口的指定接口类型和接口编号。
【命令模式】
全局配置模式
【缺省级别】
14
【使用指导】
在使用Telnet登录连接一台Telnet服务器时,如果没有为该连接单独指定源接口或源地址,将使用该配置制定的IP地址。
【配置举例】
# 配置指定Loopback 1接口上的IP地址作为全局Telnet连接的源地址。 Hostname> enable Hostname# configure terminal Hostname(config)# ip telnet source-interface Loopback 1
© 版权声明
本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长进行删除处理。Mail To:718588255@qq.com
THE END