Cisco CCNA mock exam questions sample test – Question 337

.Router 5 has four interfaces. The networks hosted on each interface are as follows:
Fa0/1 192.168.5.4/29
Fa0/2 192.168.6.0/24
Fa0/3 192.168.7.0/24
S0/0 172.16.5.0/24
You execute the following commands on the router:
Router5(config)# router bgp 20
Router5(config-router)# network 192.168.5.0
Router5(config-router)# network 192.168.6.0
Router5(config-router)# network 192.168.7.0
Router5(config-router)# network 172.16.5.0
Router5(config-router)# neighbor 172.16.5.2 remote-as 50
Router5(config-router)# aggregate-address 192.168.5.0 255.255.252.0
After this command sequence is executed, what routes will be present in the routing table of the router at 172.16.5.2? (Choose all that apply.)

A. 192.168.5.4/29
B. 172.16.5.0/24
C. 192.168.6.0/24
D. 192.168.7.0/24
E. none of these will be present
F. only network addresses beginning with 192 will be present

Correct Answer: ABCD

Explanation:
Despite the inclusion of the command aggregate-address 192.168.5.0 255.255.252.0, all subnets of the aggregate route will also be placed in the routing updates because of the
omission of the summary-only keyword. Therefore, 192.168.5.4/29, 172.16.5.0/16, 192.168.6.0/24 and 192.168.7.0/24 will be present.
Had the following command been executed, the subnet addresses would not appear in the routing table of the router at 172.16.5.2:
Router5(config-router)# aggregate-address 192.168.5.0 255.255.252.0 summary-only
Therefore, both the aggregate address and all of the 192.168.0.0 subnets will be in the routing table.
The 172.16.5.0/24 network will be in the routing table of the router at 172.160.5.1 because it is directly connected.
Objective:
WAN Technologies
Sub-Objective:
Configure and verify single-homed branch connectivity using eBGP IPv4 (limited to peering and route advertisement using Network command only)
References:
Cisco > Cisco IOS IP Routing: BGP Command Reference > aggregate-address