第一種:本地管理,即用console線進行管理; -password user-interface console 0 authentication-mode password 輸入密碼 -aaa 進入aaa模式建立用戶 aaa local-user ntd password cipher %$%$XoWX5N;@{N%.{:SolutY^3R;%$%$ local-user ntd privilege level 3 local-user ntd service-type terminal 進入console配置模式,修改認證爲aaa user-interface console 0 authentication-mode aaa 第二種:遠程管理,在vty下配置,即利用網絡進行遠程管理,用telnet命令管理; -password 進入vty控制檯 user-interface vty 0 4 authentication-mode password 輸入密碼456 user privilege level 3 -aaa 添加用戶 aaa local-user nsd password cipher 456 local-user nsd privilege level 15 local-user nsd service-type telnet 進入vty配置模式,修改認證爲aaa user-interface vty 0 4 authentication-mode aaa