CISCO
enable
configure terminal
hostname Cisco-R1
username glab1 privilege 15 password glab1
ip domain-name http://51glab.comcrypto key generate rsa modulus 1024
line vty 0 4
login local
transport input ssh
interface Ethernet0/0
ip address 12.1.1.1 255.255.255.0
no shut
end
HUAWEI
n
system-view
sysname HUAWEI-R1
interface GigabitEthernet0/0/0
ip address 12.1.1.2 24
int g0/0/1
ip add 23.1.1.2 24
aaa
local-user atom password cipher huawei123 privilege level 3
local-user atom service-type ssh
quit
ssh user atom authentication-type password
stelnet server enable
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
rsa local-key-pair create
y
quit
RUIJIE
configure terminal
hostname RUIJIE-R1
enable service ssh-server
crypto key generate rsa
yes
username glab3 privilege 15 password glab3
line vty 0 4
login local
transport input ssh
int g0/0
no switchport
ip add 23.1.1.3 24
no shut
end