interface fa0/0
ip address x.x.x.33 255.255.255.224
router bgp XXX
neighbor x.x.x.x remote as x.x.x.x
You need to advertise the network of int fa0/0
A. x.x.x.32 mask 255.255.255.224
B. x.x.x.32 255.255.255.224
C. x.x.x.32 mask 0.0.0.31
D. x.x.x.33 mask 255.255.255.224
Pass Cisco CCNA 200-301 Exam in First AttemptFULL Printable PDF and Software. VALID exam to help you pass. |
This is a subnetting question more so than a BGP question. The answer is A because of the subnet and network address. But when using BGP as bilal mentioned you need to use the mask term in the command.
Unlike other routing protocols like OSPF or EIGRP, we have to use subnet mask, not wildcard mask, to advertise the routes in the “network” command -> C is not correct, and with BGP, you must advertise the correct network and subnet mask in the “network” command ( in this case network x.x.x.32/27). BGP is very strict in the routing advertisements. In other words, BGP only advertises the network which exists exactly in the routing table (in this case network x.x.x.32/27 exists in the routing table as the Fa0/0 interface).
Therefore the full command in this question is “network 172.16.1.32 mask 255.255.255.224”.