簡介
本文說明如何禁用安全管理裝置(SMA)上的新Web介面。
NGUI背景
從AsyncOS 12.0開始在SMA裝置上引入了新的Web介面。通過該功能的實現,使用者能夠看到網頁頂部的新標語(當他們登入舊版網路介面時),點選該標語會將使用者路由到新網路介面。可以從以下位置看到橫幅的表示:
附註:子命令NGUIBANNER當前僅在SMA上可用,在郵件安全裝置(ESA)上不可用。
禁用標語
您必須通過安全外殼(SSH)會話連線到裝置。連線後,請登入到CLI並使用命令adminaccessconfig禁用標語,如下所示:
sma.cisco.com> adminaccessconfig
Select the operation you want to perform:
BANNER - Configure pre-login message (banner) for the appliance administrator login.
WELCOME - Configure welcome message (post-login banner) for the appliance administrator login.
IPACCESS - Configure IP-based access for appliance administrative interface.
CSRF - Configure web UI Cross-Site Request Forgeries protection.
NGUIBANNER - Enable/Disable the Next Generation User Interface Banner.
XSS - Configure Cross-Site Scripting Attack protection.
ENCRYPTCONFIG - Configure encryption of sensitive data in the appliance.
HOSTHEADER - Configure option to use host header in HTTP requests.
TIMEOUT - Configure GUI and CLI session inactivity timeout.
[]> nguibanner
The Next Generation User Interface is currently enabled.
Would you like to enable Next Generation User Interface? [Y]N.
sma.cisco.com> commit
提交更改後,在GUI上將看不到標語。
重新啟用標語
要重新啟用標語,您必須按照相同的命令鏈操作,但是這次您必須通過鍵入Y來啟用標語,如下所示:
[]> nguibanner
Next Generation User Interface is currently disabled.
Would you like to enable Next Generation User Interface ? [N]Y
sma.cisco.com> commit