当前位置:网站首页>Lab1 configuration script

Lab1 configuration script

2022-07-07 03:23:00 GLAB-Mary

CISCO

enable
configure terminal
hostname Cisco-R1
username glab1 privilege 15 password glab1
ip domain-name http://51glab.com
crypto 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

原网站

版权声明
本文为[GLAB-Mary]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062004381514.html