telent登录
配置命令:
ar1:
sys
int GigabitEthernet 0/0/0
ip address 192.168.1.1 24
quit
aaa
local-user huawei password cipher 123456 privilege level 15
local-user huawei service-type telnet
quit
user-interface vty 0 4
authentication-mode aaa
quit
acl number 2001
rule 1 permit source 192.168.1.0 0.0.0.255
quit
user-interface vty 0 4
acl 2001 inbound
ar2:
sys
int GigabitEthernet 0/0/0
ip address 192.168.1.2 24
quit
aaa
local-user huawei1 password cipher 123456 privilege level 15
local-user huawei1 service-type telnet
quit
user-interface vty 0 4
authentication-mode aaa
acl number 2001
rule 1 permit source 192.168.1.0 0.0.0.255
quit
user-interface vty 0 4
acl 2001 inbound