Leaflet

3-76
思科 ASA 系列命令参考,A H 命令
3 area auto-update timeout 命令
auth-prompt
Microsoft Internet Explorer 在身份验证提示中最多显示 37 个字符。Telnet FTP 在身份验证提示
中最多显示 235 个字符。
示例 以下示例将身份验证提示设置为字符串 Please enter your username and password”:
ciscoasa(config)# auth-prompt prompt Please enter your username and password
在此字符串添加到配置后,用户将看到以下内容:
Please enter your username and password
User Name:
Password:
对于 Telnet 用户,当 ASA 接受或拒绝身份验证尝试时,您也可以提供要显示的单独消息;例如:
ciscoasa(config)# auth-prompt reject Authentication failed.Try again.
ciscoasa(config)# auth-prompt accept Authentication succeeded.
以下示例将身份验证成功的身份验证提示设置为字符串 You’re OK.
ciscoasa(config)# auth-prompt accept You’re OK.
在身份验证成功后,用户将看到以下消息:
You’re OK.
相关命令
命令 说明
clear configure
auth-prompt
删除先前指定的身份验证提示质询文本并恢复为默认值(如果有)。
show running-config
auth-prompt
显示当前身份验证提示质询文本。