R2#show run
Building configuration...

Current configuration : 1949 bytes
!
! Last configuration change at 10:54:41 UTC Mon May 12 2025
! NVRAM config last updated at 10:54:45 UTC Mon May 12 2025
! NVRAM config last updated at 10:54:45 UTC Mon May 12 2025
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2901/K9 sn FCZ182291MB
!
!
!
!
lldp run
!
!
!
!
interface Loopback4
 ip address 200.10.10.1 255.255.255.0
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description Connects R2 to 192.168.2.0 LAN
 ip address 192.168.2.1 255.255.255.0
 ip ospf hello-interval 30
 duplex auto
 speed auto
 no lldp transmit
!
interface GigabitEthernet0/1
 description Connects R2 to R1
 ip address 192.168.1.2 255.255.255.252
 ip ospf hello-interval 30
 duplex auto
 speed auto
!
interface Serial0/0/0
 description Connects R2 to ISP SERIAL CONNECTION
 ip address 200.100.100.1 255.255.255.252
!
interface Serial0/0/1
 description Connects R2 to ISP SERIAL CONNECTION
 ip address 1.1.1.5 255.255.255.252
 clock rate 64000
!
router ospf 1
 router-id 2.2.2.2
 passive-interface Loopback4
 network 192.168.1.0 0.0.0.3 area 0
 network 192.168.2.0 0.0.0.255 area 1
 default-information originate
!
router bgp 65001
 bgp log-neighbor-changes
 network 200.10.10.0
 network 200.100.100.0 mask 255.255.255.252
 neighbor 200.100.100.2 remote-as 65002
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Serial0/0/1
!
no cdp run
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
ntp master 1
!
end

R2#show ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down
GigabitEthernet0/0         192.168.2.1     YES manual up                    up
GigabitEthernet0/1         192.168.1.2     YES manual up                    up
Serial0/0/0                200.100.100.1   YES manual up                    up
Serial0/0/1                1.1.1.5         YES manual up                    up
Loopback4                  200.10.10.1     YES manual up                    up
R2#

R2#show ip protocols
*** IP Routing is NSF aware ***

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 2.2.2.2
  It is an area border and autonomous system boundary router
 Redistributing External Routes from,
  Number of areas in this router is 2. 2 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.1.0 0.0.0.3 area 0
    192.168.2.0 0.0.0.255 area 1
  Passive Interface(s):
    Loopback4
  Routing Information Sources:
    Gateway         Distance      Last Update
    1.1.1.1              110      00:51:56
  Distance: (default is 110)

Routing Protocol is "bgp 65001"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  IGP synchronization is disabled
  Automatic route summarization is disabled
  Neighbor(s):
    Address          FiltIn FiltOut DistIn DistOut Weight RouteMap
    200.100.100.2
  Maximum path: 1
  Routing Information Sources:
    Gateway         Distance      Last Update
    200.100.100.2         20      00:44:36
  Distance: external 20 internal 200 local 200

R2#

R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S*    0.0.0.0/0 is directly connected, Serial0/0/1
      1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        1.1.1.4/30 is directly connected, Serial0/0/1
L        1.1.1.5/32 is directly connected, Serial0/0/1
      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O        10.1.1.0/26 [110/2] via 192.168.1.1, 00:52:22, GigabitEthernet0/1
O        10.1.1.65/32 [110/2] via 192.168.1.1, 00:52:22, GigabitEthernet0/1
O        10.1.1.225/32 [110/2] via 192.168.1.1, 00:52:22, GigabitEthernet0/1
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/30 is directly connected, GigabitEthernet0/1
L        192.168.1.2/32 is directly connected, GigabitEthernet0/1
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, GigabitEthernet0/0
L        192.168.2.1/32 is directly connected, GigabitEthernet0/0
      200.10.10.0/24 is variably subnetted, 2 subnets, 2 masks
C        200.10.10.0/24 is directly connected, Loopback4
L        200.10.10.1/32 is directly connected, Loopback4
      200.100.100.0/24 is variably subnetted, 2 subnets, 2 masks
C        200.100.100.0/30 is directly connected, Serial0/0/0
L        200.100.100.1/32 is directly connected, Serial0/0/0
B     209.165.201.0/24 [20/0] via 200.100.100.2, 00:45:00
R2#

R2#show ip nat translations
R2#

R2#show bgp summary
BGP router identifier 200.10.10.1, local AS number 65001
BGP table version is 4, main routing table version 4
3 network entries using 444 bytes of memory
4 path entries using 256 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 996 total bytes of memory
BGP activity 3/0 prefixes, 4/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
200.100.100.2   4        65002      56      56        4    0    0 00:46:59        2
R2#

R2#show ip bgp
BGP table version is 4, local router ID is 200.10.10.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 *>  200.10.10.0      0.0.0.0                  0         32768 i
 *   200.100.100.0/30 200.100.100.2            0             0 65002 i
 *>                   0.0.0.0                  0         32768 i
 *>  209.165.201.0    200.100.100.2            0             0 65002 i
R2#

R2#show ntp status
Clock is synchronized, stratum 1, reference is .LOCL.
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**21
ntp uptime is 230100 (1/100 of seconds), resolution is 4000
reference time is EBCC5ACF.7ADA9A95 (11:32:31.479 UTC Mon May 12 2025)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 0.41 msec, peer dispersion is 0.23 msec
loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000000000 s/s
system poll interval is 16, last update was 13 sec ago.
R2#

