34 lines
523 B
Plaintext
34 lines
523 B
Plaintext
enable
|
|
configure terminal
|
|
hostname R1
|
|
no ip domain-lookup
|
|
interface g0/0
|
|
ip address 192.168.1.1 255.255.255.0
|
|
no shutdown
|
|
exit
|
|
interface g0/1
|
|
ip address 10.1.1.1 255.255.255.252
|
|
no shutdown
|
|
exit
|
|
enable secret class
|
|
line console 0
|
|
password cisco
|
|
login
|
|
logging synchronous
|
|
exit
|
|
line vty 0 4
|
|
password cisco
|
|
login
|
|
exit
|
|
router rip
|
|
version 2
|
|
network 192.168.1.0
|
|
network 10.1.1.0
|
|
exit
|
|
interface g0/0
|
|
standby version 2
|
|
standby 1 ip 192.168.1.254
|
|
standby 1 priority 150
|
|
standby 1 preempt
|
|
end
|
|
copy running-config startup-config |