configure terminal
!
hostname R1
!
no ip domain-lookup
line console 0
exec-timeout 0 0
logging synchronous
exit
!
interface GigabitEthernet 0/0
ip address 192.168.0.1 255.255.255.0
no shutdown
exit
!
interface GigabitEthernet 0/1
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
!
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.2
ip dhcp excluded-address 192.168.0.121 192.168.0.255
!
ip dhcp pool TEST
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
lease infinite
exit
!
end
configure terminal
!
hostname R1
!
no ip domain-lookup
line console 0
exec-timeout 0 0
logging synchronous
exit
!
interface GigabitEthernet 0/0
ip address 192.168.0.1 255.255.255.0
no shutdown
exit
!
interface GigabitEthernet 0/1
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
!
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.2
ip dhcp excluded-address 192.168.0.121 192.168.0.255
!
ip dhcp pool TEST
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
lease infinite
exit
!
end
enable
configure terminal
!
hostname R1
!
no ip domain-lookup
line console 0
exec-timeout 0 0
logging synchronous
exit
!
end
copy running-config startup-config
compare.