RT1#ping 10.1.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


conf t
!
hostname RT1
!
logging console
!
end
conf t
!
hostname RT2
!
logging console
!
end
conf t
!
hostname SW1
!
logging console
!
end