30 lines
536 B
Plaintext
30 lines
536 B
Plaintext
enable
|
|
configure terminal
|
|
no ip domain-lookup
|
|
service password-encryption
|
|
hostname R1
|
|
enable secret class
|
|
line console 0
|
|
password cisco
|
|
login
|
|
logging synchronous
|
|
exit
|
|
line vty 0 4
|
|
password cisco
|
|
login
|
|
exit
|
|
banner motd #Unauthorized access prohibited#
|
|
interface g0/0
|
|
ip address 10.0.10.2 255.255.255.252
|
|
no shutdown
|
|
exit
|
|
interface g0/1
|
|
ip address 192.168.23.1 255.255.255.0
|
|
no shutdown
|
|
exit
|
|
router ospf 1
|
|
network 10.0.10.0 0.0.0.3 area 1
|
|
network 192.168.23.0 0.0.0.255 area 1
|
|
passive-interface g0/1
|
|
end
|
|
copy running-config startup-config |