华为路由器交换机配置相关功能

一,配置Console口登录认证功能 

#
user-interface con 0   
 authentication-mode password  //配置Console口登录的用户验证方式为密码验证
 set authentication password cipher hello //设置密码为hello

二,配置用户通过Telnet登录设备

 

 interface GigabitEthernet1/0/0
 ip address 10.1.1.1 255.255.255.0  //配置连接HostA接口的源IP地址
#
aaa  
 local-user huawei password cipher hello  //创建本地用户,用户名为huawei、密文密码为hello
 local-user huawei service-type telnet  //配置本地用户huawei的接入类型为telnet
 local-user huawei privilege level 3  //配置本地用户huawei的优先级为3
#
user-interface vty 0 4
authentication-mode aaa  //配置VTY类型用户界面的验证方式为AAA

你可能感兴趣的:(interface,password,IP地址,Address,华为路由器)