1/ No Ip Domain-Lookup: 2/ Hostname RTR-A

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

1/ no ip domain-lookup SW-1

1/ enable
2/ hostname RTR-A 2/ conf t
3/hostname SW-1
3/ security passwords min-length 10 4/ip domain-name security.com
4/ line console 0
enable secret @Cons1234!
password @Cons1234! Login username NETadmin secret LogAdmin!9
interface range fastEthernet0/1,
exit fastEthernet0/3 – 24, GigabitEthernet0/2
5/ line vty 0 15 shutdown

exec-timeout 7 0 exit interface Vlan1


ip address 192.168.1.254 255.255.255.0
enable secret @Cons1234 no shutdown
login ip default-gateway 192.168.1.1
line vty 0 4
6/ banner motd % acces non authorisé% login local
transport input ssh
7/ service password-encryption
crypto key generate rsa
8/ username NETadmin secret 1024
end
LogAdmin!9

9/ crypto key generate rsa

10/ip domain-name security.com

9/ crypto key generate rsa 1024

10/ line vty 0 15

You might also like