36 lines
676 B
Plaintext
36 lines
676 B
Plaintext
enable
|
|
configure terminal
|
|
no ip domain-lookup
|
|
service password-encryption
|
|
hostname WEST
|
|
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/1
|
|
ip address 172.16.1.1 255.255.255.0
|
|
no shutdown
|
|
exit
|
|
interface g0/0
|
|
ip address 10.1.1.1 255.255.255.252
|
|
no shutdown
|
|
exit
|
|
ip route 0.0.0.0 0.0.0.0 10.1.1.2
|
|
interface Tunnel0
|
|
ip address 172.16.12.1 255.255.255.252
|
|
tunnel source 10.1.1.1
|
|
tunnel destination 10.2.2.1
|
|
no shutdown
|
|
exit
|
|
router ospf 1
|
|
network 172.16.1.0 0.0.0.255 area 0
|
|
network 172.16.12.0 0.0.0.3 area 0
|
|
end
|
|
copy running-config startup-config |