組網需求
通過Console口首次登錄設備後,對設備進行基本配置并配置通過Telnet遠程登錄的0~4号用戶的級别為15級,認證方式為AAA認證。PC2與設備之間路由可達。
圖1 通過Console口首次登錄設備後進行基本配置組網圖
配置思路
操作步驟
<HUAWEI> clock timezone BJ add 08:00:00 <HUAWEI> clock datetime 20:10:00 2012-07-26
<HUAWEI> system-view [HUAWEI] sysname Server [Server] interface ethernet 0/0/0 [Server-Ethernet0/0/0] ip address 10.137.217.177 24 [Server-Ethernet0/0/0] quit
[Server] ip route-static 0.0.0.0 0 10.137.217.1
[Server] telnet server enable [Server] user-interface vty 0 4 [Server-ui-vty0-4] protocol inbound telnet [Server-ui-vty0-4] user privilege level 15 [Server-ui-vty0-4] authentication-mode aaa [Server-ui-vty0-4] quit [Server] aaa [Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789 [Server-aaa] local-user admin1234 privilege level 15 [Server-aaa] local-user admin1234 service-type telnet [Server-aaa] quit
C:\Documents and Settings\Administrator> telnet 10.137.217.177
Login authentication Username:admin1234 Password: Info: The max number of VTY users is 20, and the number of current VTY users on line is 1. The current login time is 2012-07-26 20:10:05 08:00. <Server>
配置文件
Switch的配置文件
# sysname Server # telnet server enable # clock timezone BJ add 08:00:00 # aaa local-user admin1234 password irreversible-cipher %#%#aVW8S=aP=B<OWi1Bu'^R[=_!~oR*85r_nNY kA(I}[TiLiVGR-i/'DFGAI-O%#%# local-user admin1234 privilege level 15 local-user admin1234 service-type telnet # interface Ethernet0/0/0 ip address 10.137.217.177 255.255.255.0 # ip route-static 0.0.0.0 0.0.0.0 10.137.217.1 # user-interface vty 0 4 authentication-mode aaa user privilege level 15 protocol inbound telnet # return
備注:來自華為官網!
,更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!