Refer to the show outputs in the exhibit. R1 is using a route-map to perform AS-path prepending for only a set of prefixes. When the route-map is applied, R1 only sends the prefixes with the AS-path prepended. All other prefixes…