banner 在等定的时间或场景中显示提示语
LINE c banner-text c, where 'c' is a delimiting character 等同与motd
exec Set EXEC process creation banner 在登录成功后
incoming Set incoming terminal line banner 与exec相同用与反向telnet
login Set login banner 连接以后显示紧跟在motd以后
motd Set Message of the Day banner 连接后显示
prompt-timeout Set Message for login authentication timeout 远程连接后登录提示框(不输入任合东西)超时提示
slip-ppp Set Message for SLIP/PPP 点对点协议
默认以第一个字符c开头 中间提示语 第二个字符c结束不管是不是在文本的最后
例如
banner motd cwelcomec
显示为wel
默认情况下多有不便,也可改变为自定义字符
banner motd #
Enter TEXT message. End with the character '#'.
#welcome#
显示为welcome
变量引用
banner slip-ppp %
Enter TEXT message. End with the character '%'.
Starting $(encap) connection from $(gate-ip) to $(peer-ip) using a maximum packet size
of $(mtu) bytes... %
Starting SLIP connection from 192.168.69.96 to 172.16.80.8 using a maximum packet size
of 1500 bytes...
motd login exec incoming slip-ppp
$(hostname) YES YES YES YES YES
$(domain) YES YES YES YES YES
$(peer-ip) NO NO NO NO YES
$(gate-ip) NO NO NO NO YES
$(encap) NO NO NO NO YES
$(encap-alt) NO NO NO NO YES
$(mtu) NO NO NO NO YES
$(line) YES YES YES YES NO
$(line-desc) YES YES YES YES NO
阅读(878) | 评论(0) | 转发(0) |