第一种:本地管理,即用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