seti-temp/FINAL/R5.txt

53 lines
930 B
Plaintext

enable
configure terminal
no ip domain-lookup
service password-encryption
hostname R5
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.1
encapsulation dot1Q 1
ip address 192.168.0.1 255.255.255.0
interface g0/0.30
encapsulation dot1Q 30
ip address 192.168.3.1 255.255.255.0
interface g0/0.40
encapsulation dot1Q 40
ip address 192.168.4.1 255.255.255.0
exit
int g0/0
no shut
exit
int g0/0.1
standby version 2
standby 1 ip 192.168.0.254
standby 1 priority 150
standby 1 preempt
exit
int g0/0.30
standby version 2
standby 1 ip 192.168.3.254
standby 1 priority 150
standby 1 preempt
exit
int g0/0.40
standby version 2
standby 1 ip 192.168.4.254
standby 1 priority 150
standby 1 preempt
exit
router ospf 1
network 10.0.20.0 0.0.0.7 area 0
passive-interface g0/0
end
copy running-config startup-config