The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
CCIE routing and switching is a certification that every expert engineer needs to undertake in order to plan, operate and troubleshoot converged network infrastructure. Take up the candid test on CCIE- r&s- bgp quiz below and get ready for the upcoming test next week. All the best and keep revising!
Questions and Answers
1.
By default, what BGP uses to choose the best route?
A.
Lowest Weight
B.
Lowest Local Preference
C.
Shortest AS Path
D.
Highest Origin
E.
Highest Multi-Exit Discriminator
F.
Lowest Metric
Correct Answer
C. Shortest AS Path
Explanation BGP uses the shortest AS Path to choose the best route. The AS Path is a list of autonomous systems that a route has to traverse in order to reach its destination. BGP prefers routes with shorter AS Paths because they indicate a more direct path to the destination. This helps to reduce the likelihood of loops and improves network efficiency. Therefore, BGP selects the route with the shortest AS Path as the best route.
Rate this question:
2.
What is the first attribute BGP verifiy in its decision process to find the best route, defined by RFC 1771, for each NLRI?
A.
NEXT_HOP is reachable (the router has a route in its routing table.
B.
The route is synchronized by IGP
C.
The NLRI is an ATOMIC AGGREGATOR
D.
The router has an interface connected to the ORIGIN Path Attribute
E.
The AS_PATH contains the NEXT_HOP
Correct Answer
A. NEXT_HOP is reachable (the router has a route in its routing table.
Explanation BGP verifies the reachability of the NEXT_HOP as the first attribute in its decision process to find the best route. This means that the router checks if it has a route in its routing table to reach the NEXT_HOP specified in the route. If the NEXT_HOP is not reachable, the route is considered invalid and will not be chosen as the best route.
Rate this question:
3.
An NLRI is simply an IP prefix and a prefix length?
A.
True
B.
False
Correct Answer
A. True
Explanation NLRI stands for Network Layer Reachability Information. It is used in routing protocols to advertise and exchange information about IP prefixes and their associated prefix lengths. Therefore, an NLRI is indeed a combination of an IP prefix (the network address) and a prefix length (the number of bits in the network address). This information is crucial for routers to determine the best path for forwarding packets in a network. Hence, the given answer "True" is correct.
Rate this question:
4.
How BGP communicates with its neighbors?
A.
Using multicast address 224.0.0.2 (all routers)
B.
Using unicast neighbor address to TCP port 179
C.
Using unicast neighbor address to UDP port 520
D.
Using reliable layer 3 protocol (IP/112)
E.
Using multicast address 224.0.0.2 to UDP port 1985
F.
Using multicast address 224.0.0.2 to UDP port 3222
Correct Answer
B. Using unicast neighbor address to TCP port 179
Explanation BGP communicates with its neighbors by using the unicast neighbor address to TCP port 179. This means that BGP establishes a direct one-to-one connection with its neighbors using the TCP protocol. The use of TCP ensures reliable and ordered delivery of BGP messages between routers. The communication is not done through multicast addresses or UDP ports, but rather through a specific unicast address and TCP port number.
Rate this question:
5.
By default, after how many times a neighbor is considered to have failed (ie.: What is the keepalive timer default value)?
A.
5 seconds
B.
15 seconds
C.
30 seconds
D.
60 seconds
E.
120 seconds
F.
180 seconds
G.
240 seconds
H.
300 seconds
Correct Answer
F. 180 seconds
Explanation The keepalive timer default value is 180 seconds, which means that after 180 seconds of not receiving any response from a neighbor, the neighbor is considered to have failed.
Rate this question:
6.
By default, keepalive are sent at which interval?
A.
5 seconds
B.
15 seconds
C.
30 seconds
D.
60 seconds
E.
120 seconds
F.
180 seconds
G.
240 seconds
H.
300 seconds
Correct Answer
D. 60 seconds
Explanation By default, keepalive messages are sent at an interval of 60 seconds. Keepalive messages are used to ensure that a connection between two devices remains active and to detect if the connection has been lost. By sending keepalive messages at regular intervals, devices can confirm that the connection is still alive and functioning properly. In this case, the correct answer indicates that the default interval for sending these messages is 60 seconds.
Rate this question:
7.
What makes a neighbor internal BGP (iBGP)?
A.
When the neighbor is in the same confederation
B.
R1(config)# router bgp 3 internal
C.
The command: neighbor 1.1.1.1 peer-internal
D.
When the neighbor is in the same AS
Correct Answer
D. When the neighbor is in the same AS
Explanation iBGP (internal BGP) is a type of BGP (Border Gateway Protocol) connection that occurs between routers within the same Autonomous System (AS). In this case, the correct answer states that a neighbor is considered iBGP when it is in the same AS. This means that the routers are part of the same network and can exchange routing information within the AS.
Rate this question:
8.
What the command "neighbor update-source" do?
A.
Modify the NEXT_HOP attribute advertised to a neighbor
B.
Strip Private AS from the AS_PATH attribute advertised to a neighbor
C.
Determine the NLRI used to reach a neighbor
D.
Determine the source IP address used to reach a neighbor
Correct Answer
D. Determine the source IP address used to reach a neighbor
Explanation The command "neighbor update-source" is used to determine the source IP address used to reach a neighbor. This command allows the router to specify a specific interface or IP address to use when establishing a connection with its neighbor. By setting the update-source, the router ensures that the correct source IP address is used for BGP updates and communication with the neighbor. This can be useful in scenarios where the router has multiple interfaces or IP addresses and needs to control which one is used for BGP communication.
Rate this question:
9.
How is the destination IP address used to discover and reach a neighbor determined?
A.
By the NEXT_HOP attribute advertised by a neighbor
B.
Manually configured using the neighbor command
C.
Send in the HELLO messages by neighbor
D.
Define within the peer-group of the confederation
Correct Answer
B. Manually configured using the neighbor command
Explanation The destination IP address is determined by manually configuring it using the neighbor command. This means that the network administrator manually specifies the IP address of the neighbor to reach.
Rate this question:
10.
With Cisco IOS 12.3 and later, BGP perform Auto-Summary by default?
A.
True
B.
False
Correct Answer
B. False
Explanation With Cisco IOS 12.3 and later, BGP does not perform Auto-Summary by default. Auto-Summary is a feature that automatically summarizes the network prefixes at the classful network boundary. However, starting from IOS version 12.3, BGP does not perform this auto-summary feature by default. This means that BGP will not automatically summarize the network prefixes unless specifically configured to do so.
Rate this question:
11.
What authentication method is supported by BGP?
A.
Plain Text
B.
MD5
C.
None. BGP does not support authentication
D.
RADIUS
E.
EAP
Correct Answer
B. MD5
Explanation BGP supports MD5 authentication method. MD5 is a widely used cryptographic hash function that provides a secure way to authenticate BGP peers. It ensures that the BGP messages exchanged between routers are not tampered with or modified by unauthorized parties. By using MD5 authentication, BGP peers can verify each other's identities and establish a trusted connection for exchanging routing information.
Rate this question:
12.
Which config should be used in order to take advantage of the redundant links between R3 and R4 (assuming the matching config is done on the other side)?
A.
Configure two static route to the other loopback address (on for 10.1.34.0/24 and 10.1.134.0/24). Configure neighbor 3.3.3.3 update-source looback0 and neighbor 3.3.3.3 ebgp-multihop 2(on R4).
B.
EBGP neighbor command should use aggregator option
C.
Nothing, eBGP will load balance automatically
D.
EBGP neighbor command should use peer-group option
Correct Answer
A. Configure two static route to the other loopback address (on for 10.1.34.0/24 and 10.1.134.0/24). Configure neighbor 3.3.3.3 update-source looback0 and neighbor 3.3.3.3 ebgp-multihop 2(on R4).
Explanation The correct answer is to configure two static routes to the other loopback addresses (10.1.34.0/24 and 10.1.134.0/24), and then configure the neighbor 3.3.3.3 update-source looback0 and neighbor 3.3.3.3 ebgp-multihop 2 commands on R4. This configuration allows R3 and R4 to establish a BGP neighbor relationship using the loopback interface as the source address and enables BGP to use multiple hops to reach the neighbor. By configuring static routes to the loopback addresses, the traffic can be load balanced between the redundant links between R3 and R4.
Rate this question:
13.
What config should be used if R3 and R4 are using their loopback as source IP?
A.
EBGP neighbor command should use update-source with loopback IP address
B.
EBGP neighbor command should use ebgp-peer option
C.
Nothing, eBGP will advertise connected loopback automatically
D.
EBGP neighbor command should use ebgp-multihop option
Correct Answer
D. EBGP neighbor command should use ebgp-multihop option
14.
Select all the properties that define a neighbor in the state "Active"
A.
Listen on port TCP 179
B.
The router initiate TCP connection with that neighbor
C.
The router formed TCP connection with that neighbor
D.
The router sent OPEN message to that neighbor
E.
The router received OPEN message from that neighbor
F.
The router has Established a BGP connection with that neighbor
G.
None of the above
Correct Answer(s)
A. Listen on port TCP 179 B. The router initiate TCP connection with that neighbor
Explanation A neighbor in the state "Active" is defined by two properties: listening on port TCP 179 and the router initiating a TCP connection with that neighbor. These two conditions must be met for a neighbor to be considered "Active."
Rate this question:
15.
Select all the properties that define a neighbor in the state "Open Sent"
A.
Listen on port TCP 179
B.
The router initiate TCP connection with that neighbor
C.
The router formed TCP connection with that neighbor
D.
The router sent OPEN message to that neighbor
E.
The router received OPEN message from that neighbor
F.
The router has Established a BGP connection with that neighbor
G.
None of the above
Correct Answer(s)
A. Listen on port TCP 179 B. The router initiate TCP connection with that neighbor C. The router formed TCP connection with that neighbor D. The router sent OPEN message to that neighbor
Explanation The properties that define a neighbor in the state "Open Sent" include: listening on port TCP 179, the router initiating a TCP connection with that neighbor, the router forming a TCP connection with that neighbor, and the router sending an OPEN message to that neighbor. These actions are part of the process of establishing a BGP connection with the neighbor.
Rate this question:
16.
Select all the properties that define a neighbor in the state "Idle"
A.
Listen on port TCP 179
B.
The router initiate TCP connection with that neighbor
C.
The router formed TCP connection with that neighbor
D.
The router sent OPEN message to that neighbor
E.
The router received OPEN message from that neighbor
F.
The router has Established a BGP connection with that neighbor
G.
None of the above
Correct Answer
G. None of the above
Explanation None of the above properties define a neighbor in the state "Idle." In the Idle state, the router is not actively listening on any port (TCP 179) or initiating a TCP connection with the neighbor. It has not formed a TCP connection or sent/received any OPEN messages. The router has not established a BGP connection with the neighbor either. Therefore, none of the given properties apply to a neighbor in the Idle state.
Rate this question:
17.
What happen when the keepalive timer within the OPEN message of each BGP neighbor mismatch?
A.
They stay in "Open Sent" state
B.
They use the lower keepalive timer value
C.
They use the higher keepalive timer value
D.
They stay in "Connect" state
Correct Answer
B. They use the lower keepalive timer value
Explanation When the keepalive timer within the OPEN message of each BGP neighbor mismatch, they use the lower keepalive timer value. This means that both neighbors will agree to use the keepalive timer value that is lower between the two. This ensures that the BGP session remains stable and both neighbors can continue exchanging keepalive messages at the agreed upon interval.
Rate this question:
18.
What BGP message type are used to establish a neighbor relationship and exchange basic parameters?
A.
Hello
B.
Advertisement
C.
Update
D.
Notification
E.
Reset
F.
Open
G.
KeepAlive
Correct Answer
F. Open
Explanation The Open message type is used in BGP to establish a neighbor relationship and exchange basic parameters. This message is sent by a BGP speaker to initiate a TCP connection with a neighboring BGP speaker. It contains information such as the BGP version number, the BGP router ID, and the autonomous system number. The Open message is an essential step in the BGP neighbor establishment process.
Rate this question:
19.
What BGP message type are used to maintain a neighbor relationship?
A.
Hello
B.
Advertisement
C.
Update
D.
Notification
E.
Reset
F.
Open
G.
KeepAlive
Correct Answer
G. KeepAlive
Explanation KeepAlive messages are used to maintain a neighbor relationship in the BGP protocol. These messages are sent periodically between BGP neighbors to ensure that the connection is still active and functioning properly. By exchanging KeepAlive messages, BGP routers can confirm that their neighbors are reachable and responsive. If a router stops receiving KeepAlive messages from a neighbor, it may consider the neighbor as unreachable and take appropriate actions, such as marking the neighbor as down and removing its routes from the routing table.
Rate this question:
20.
What BGP message type are used to exchange NLRI?
A.
Hello
B.
Advertisement
C.
Update
D.
Notification
E.
Reset
F.
Open
G.
KeepAlive
Correct Answer
C. Update
Explanation BGP uses the "Update" message type to exchange Network Layer Reachability Information (NLRI). The Update message is used to advertise, withdraw, or modify routing information between BGP peers. It contains the NLRI, along with other attributes such as path information, to inform neighboring routers about the available network destinations and their reachability.
Rate this question:
21.
What BGP message type are used when BGP errors occur; causing a reset to the neighbor relationship when sent?
A.
Hello
B.
Advertisement
C.
Update
D.
Notification
E.
Reset
F.
Open
G.
KeepAlive
Correct Answer
D. Notification
Explanation BGP uses the Notification message type when errors occur, causing a reset to the neighbor relationship when sent. The Notification message is used to inform the neighbor that an error has occurred and includes information about the specific error. This message is crucial in maintaining the integrity of the BGP network by allowing routers to quickly respond to errors and reestablish the neighbor relationship if necessary.
Rate this question:
22.
What command(s) allow to reset BGP neighbor connections?
A.
R1 (router-config)# reset neighbor 172.16.8.8
B.
R1# reset bgp all
C.
R1# clear ip bgp *
D.
R1 (router-config)# neighbor 172.16.8.8 shutdown
E.
R1 (router-config)# clear connections
F.
R1 (router-config)# reset connections
G.
R1 (router-config)# clear neighbor *
H.
R1 (router-config)# reset neighbor *
Correct Answer(s)
C. R1# clear ip bgp * D. R1 (router-config)# neighbor 172.16.8.8 shutdown
Explanation The command "R1# clear ip bgp *" allows to reset all BGP neighbor connections by clearing the BGP routing table. The command "R1 (router-config)# neighbor 172.16.8.8 shutdown" shuts down the specific BGP neighbor connection with the IP address 172.16.8.8. Both commands are valid ways to reset BGP neighbor connections.
Rate this question:
23.
Which command enables logging of BGP neighbor status changes (up or down) and resets for troubleshooting network connectivity problems and measuring network stability?
A.
Debug bgp neighbor
B.
Neighbor 10.1.1.1 log
C.
Bgp log-neighbor-changes
D.
Ip bgp logging
Correct Answer
C. Bgp log-neighbor-changes
Explanation The command "bgp log-neighbor-changes" enables logging of BGP neighbor status changes (up or down) and resets. This command is useful for troubleshooting network connectivity problems and measuring network stability as it allows for tracking and monitoring the changes in BGP neighbor status, which can help identify any issues or instabilities in the network.
Rate this question:
24.
What is the BGP Routing Information Base (RIB)?
A.
BGP routing policies for all the Network Layer Reachability Information (NLRI) learn by BGP
B.
BGP topology table, that holds the Network Layer Reachability Information (NLRI) learn by BGP
C.
BGP neighbors table
D.
BGP forwarding logic base on Path Attributes learned
Correct Answer
B. BGP topology table, that holds the Network Layer Reachability Information (NLRI) learn by BGP
Explanation The BGP Routing Information Base (RIB) refers to the BGP topology table that holds the Network Layer Reachability Information (NLRI) learned by BGP. This table contains information about the available paths to reach different network destinations. It includes details such as the next hop, path attributes, and network prefixes. The RIB is used by BGP to make routing decisions and determine the best path for forwarding traffic.
Rate this question:
25.
Which command allows a Soft Reconfiguration of BGP? That is, allows a BGP peer to reapply its routing policies without closing its neighbor connections?
Explanation The correct answer is "R1# clear ip bgp * soft". This command allows a soft reconfiguration of BGP by clearing the BGP table without closing the neighbor connections. This means that the BGP peer can reapply its routing policies without disrupting the established connections with its neighbors.
Rate this question:
26.
Assuming that the no auto-summary command has been configured.
What the BGP network 10.1.1.0 mask 255.255.255.0 command instruct to the BGP process to do?
A.
Activate BGP process on the corresponding interface (on subnet 10.1.1.0/24)
B.
If 10.1.1.0/24 exactly match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
C.
BGP will start advertising udpate message to its neighbors for any networks 10.0.0.0 in the current local IP routing table.
D.
Send Open messages on network 10.1.1.0/24 to establish a connection with a neighbor
Correct Answer
B. If 10.1.1.0/24 exactly match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
Explanation The command "BGP network 10.1.1.0 mask 255.255.255.0" instructs the BGP process to put the equivalent Network Layer Reachability Information (NLRI) in the local BGP topology table if there is an exact match for the subnet 10.1.1.0/24 in the current IP routing table. This means that if there is a route for 10.1.1.0/24 in the routing table, BGP will consider it as a valid network and include it in its routing updates.
Rate this question:
27.
Assuming that the auto-summary command has been configured.
What the BGP network 10.1.1.0 command instruct to the BGP process to do?
A.
Activate BGP process on the corresponding interface (on subnet 10.1.1.0/24)
B.
If 10.1.1.0/24 exactly match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
C.
BGP will start advertising udpate message to its neighbors for network 10.0.0.0/8 if an entry is found in the current local IP routing table.
D.
Send Open messages on network 10.1.1.0/24 to establish a connection with a neighbor
E.
If 10.0.0.0 match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
Correct Answer
E. If 10.0.0.0 match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
Explanation The correct answer explains that if the network 10.0.0.0 matches an entry in the current IP routing table, then the equivalent NLRI (Network Layer Reachability Information) will be placed in the local BGP (Border Gateway Protocol) topology table. This means that BGP will consider the network 10.0.0.0 as reachable and will include it in its routing decisions and advertisements to its neighbors.
Rate this question:
28.
Assuming that the no auto-summary command has been configured.
What the BGP network 10.1.1.0 mask 255.255.255.0 command instruct to the BGP process to do?
A.
Activate BGP process on the corresponding interface (on subnet 10.1.1.0/24)
B.
If 10.1.1.0/24 exactly match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
C.
BGP will start advertising udpate message to its neighbors for any networks 10.0.0.0 in the current local IP routing table.
D.
Send Open messages on network 10.1.1.0/24 to establish a connection with a neighbor
Correct Answer
B. If 10.1.1.0/24 exactly match an entry in the current IP routing table, then put the equivalent NLRI in the local BGP topology table.
Explanation The BGP network 10.1.1.0 mask 255.255.255.0 command instructs the BGP process to check if the network 10.1.1.0/24 matches an entry in the current IP routing table. If it does, the equivalent Network Layer Reachability Information (NLRI) is added to the local BGP topology table. This allows BGP to advertise this network to its neighbors and include it in the BGP routing updates.
Rate this question:
29.
Which statement best describe the following configuration:
RTC#
router bgp 256
neighbor 1.1.1.1 remote-as 100
neighbor 128.213.11.2 remote-as 256
bgp default local-preference 150
A.
RTC sets the local preference to 150 of all updates going out to neighbor 128.213.11.2
B.
RTC sets the local preference to 150 of all updates going out to neighbor 1.1.1.1
C.
RTC sets the local preference to 150 of all updates advertized by neighbor 128.213.11.2
D.
RTC sets the local preference to 150 of all updates advertized by neighbor 1.1.1.1
Correct Answer
A. RTC sets the local preference to 150 of all updates going out to neighbor 128.213.11.2
Explanation The bgp default local-preference command sets the local preference on the updates out of the router that go to peers in the same AS.
Rate this question:
30.
Which statement best describe the following configuration:
RTA#
int loopback 0
ip address 150.10.1.1 255.255.255.0
router bgp 100
neighbor 160.10.1.1 remote-as 200
neighbor 160.10.1.1 ebgp-multihop
neighbor 160.10.1.1 update-source loopback 0
network 150.10.0.0
!
ip route 160.10.0.0 255.255.0.0 1.1.1.2
ip route 160.10.0.0 255.255.0.0 2.2.2.2
A.
Allows a neighbor connection between two external peers that do not have direct connection.
B.
Implementation of BGP confederation over two links, using static routes in order to use loopback interface
C.
Workaround in order to achieve load balancing between two eBGP speakers over parallel links.
D.
Allows RTA router to advertise, or reflect, iBGP learned routes to other iBGP speakers.
Correct Answer
C. Workaround in order to achieve load balancing between two eBGP speakers over parallel links.
Explanation The configuration includes the "neighbor 160.10.1.1 ebgp-multihop" command, which allows a neighbor connection between two external peers that do not have a direct connection. This is a workaround to achieve load balancing between two eBGP speakers over parallel links. The two static routes for the 160.10.0.0 network with different next hops also support this load balancing by distributing traffic between the two links.
Rate this question:
31.
Which statement best describe the following configuration:
RTC#
router bgp 100
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 route-reflector-client
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 route-reflector-client
A.
Allows RTC to have a neighbor connection with 2.2.2.2 peer that with which it does not have direct connection.
B.
Implementation of BGP confederation with 2.2.2.2
C.
Workaround in order to achieve load balancing between two eBGP speakers over parallel links.
D.
Allows RTC router to advertise, iBGP learned routes to 2.2.2.2 and 3.3.3.3 iBGP speakers.
Correct Answer
D. Allows RTC router to advertise, iBGP learned routes to 2.2.2.2 and 3.3.3.3 iBGP speakers.
Explanation The given configuration allows the RTC router to advertise iBGP learned routes to the iBGP speakers 2.2.2.2 and 3.3.3.3. By configuring the "neighbor" command with the "route-reflector-client" option for both neighbors, RTC is able to act as a route reflector and distribute the routes it learns from other iBGP peers to these two iBGP speakers. This helps in propagating the routes throughout the network and ensuring reachability between different BGP speakers.
Rate this question:
32.
Which statement best describe the following configuration:
RTA#
router rip
network 3.0.0.0
network 2.0.0.0
network 150.10.0.0
passive-interface Serial0
redistribute bgp 100 route-map SETMETRIC
!
router bgp 100
neighbor 2.2.2.3 remote-as 300
network 150.10.0.0
!
route-map SETMETRIC permit 10
match ip-address 1
set metric 2
!
route-map SETMETRIC permit 20
set metric 5
!
access-list 1 permit 170.10.0.0 0.0.255.255
access-list 10 permit 170.20.0.0 0.0.255.255
access-list 20 permit 170.30.0.0 0.0.255.255
A.
If a route matches the IP address 170.10.0.0/16, set its BGP metric (MED) to 2, otherwise set the metric of all others routes injected into BGP to 5.
B.
If a route matches the IP address 170.10.0.0/16, set its BGP metric (MED) to 2, otherwise set the metric of all others routes injected into RIP to 5.
C.
If a route matches the IP address 170.20.0.0/16, set its BGP metric (MED) to 2
If a route matches the IP address 170.30.0.0/16, set its BGP metric (MED) to 5.
Otherwise, don`t change the metric
D.
If a route matches the IP address 170.20.0.0/16, set its RIP metric (MED) to 2
If a route matches the IP address 170.30.0.0/16, set its RIP metric (MED) to 5.
Otherwise, don`t change the metric
Correct Answer
A. If a route matches the IP address 170.10.0.0/16, set its BGP metric (MED) to 2, otherwise set the metric of all others routes injected into BGP to 5.
Explanation The given configuration includes a route-map named SETMETRIC with two permit statements. The first permit statement matches the IP address 170.10.0.0/16 and sets its BGP metric (MED) to 2. The second permit statement does not have a match condition, so it applies to all other routes injected into BGP and sets their metric to 5. This means that if a route matches the IP address 170.10.0.0/16, it will have a BGP metric of 2, and all other routes injected into BGP will have a metric of 5.
Rate this question:
33.
Given that the ip route table contains only the following routes:
10.1.0.0/16
10.2.0.0/24
router bgp 234
no synchronization
bgp log-neighbor-changes
network 10.0.0.0
no auto-summary
Which NLRI will be found in the BGP Table?
A.
10.1.0.0/16
B.
10.2.0.0/24
C.
None
D.
10.0.0.0
Correct Answer
C. None
Explanation With NO Auto-Summary, only EXACT match in the routing table, it is injected into BGP.
Rate this question:
34.
Given that the ip route table contains only the following routes:
10.1.0.0/16
10.2.0.0/24
router bgp 234
no synchronization
bgp log-neighbor-changes
network 10.0.0.0
auto-summary
Which NLRI will be found in the BGP Table?
A.
10.1.0.0/16
B.
10.2.0.0/24
C.
None
D.
10.0.0.0
Correct Answer
D. 10.0.0.0
Explanation With Auto-Summary, if any subnets of the classful network exists in the routing table, it is injected into BGP.
Rate this question:
35.
Assuming the default static route (0.0.0.0/0) exist in the routing table, which router subcommand will inject the default route into BGP?
Correct Answer(s)
A. R1(config-router)#network 0.0.0.0 C. R1(config-router)#default-information originate
R1(config-router)#redistribute static D. R1(config-router)#neighbor 1.1.1.1 default-originate
Explanation The correct subcommands to inject the default route into BGP are "R1(config-router)#network 0.0.0.0" and "R1(config-router)#default-information originate". The "network 0.0.0.0" command advertises the default route to BGP neighbors, while the "default-information originate" command injects the default route into BGP from the local router. Additionally, "redistribute static" can also be used to inject the default route if it is configured as a static route. The "neighbor 1.1.1.1 default-originate" command is not necessary for injecting the default route, as it is used to advertise a default route to a specific BGP neighbor.
Rate this question:
36.
Assuming that NO default static route (0.0.0.0/0) exist in the routing table, which router subcommand will inject the default route into BGP?
Correct Answer
D. R1(config-router)#neighbor 1.1.1.1 default-originate
Explanation The correct answer is "R1(config-router)#neighbor 1.1.1.1 default-originate". This command will instruct the router to advertise a default route to its BGP neighbor 1.1.1.1. By using the "default-originate" keyword, the router will inject the default route (0.0.0.0/0) into BGP, even if there is no default static route present in the routing table.
Rate this question:
37.
Given that the ip route table contains the following routes:
10.1.0.0/16
10.2.0.0/24
10.2.1.0/24
If the following line is entered, what will be the result?
R1(config-router)#aggregate-address 10.2.0.0 255.255.0.0
A.
NLRI 10.2.0.0/16 will be added into the BGP table
B.
NLRI 10.2.0.0/16 will be advertised to its neighbors
C.
NLRI 10.2.0.0/24 will be advertised to its neighbors
D.
NLRI 10.2.1.0/24 will be advertised to its neighbors
Correct Answer(s)
B. NLRI 10.2.0.0/16 will be advertised to its neighbors C. NLRI 10.2.0.0/24 will be advertised to its neighbors D. NLRI 10.2.1.0/24 will be advertised to its neighbors
Explanation The "aggregate-address" command is used to summarize multiple routes into a single route. In this case, the command is entered with the network address 10.2.0.0 and subnet mask 255.255.0.0. This means that all routes within the range of 10.2.0.0/16, including 10.2.0.0/24 and 10.2.1.0/24, will be summarized and advertised as a single route 10.2.0.0/16 to its neighbors. Therefore, the correct answer is that NLRI 10.2.0.0/16, NLRI 10.2.0.0/24, and NLRI 10.2.1.0/24 will all be advertised to its neighbors.
Rate this question:
38.
Given that the ip route table contains the following routes:
10.1.0.0/16
10.2.0.0/24
10.2.1.0/24
If the following line is entered, what will be the result?
R1(config-router)#aggregate-address 10.2.0.0 255.255.0.0 summary-only
A.
NLRI 10.2.0.0/16 will be added into the BGP table
B.
NLRI 10.2.0.0/16 will be advertised to its neighbors
C.
NLRI 10.2.0.0/24 will be advertised to its neighbors
D.
NLRI 10.2.1.0/24 will be advertised to its neighbors
Correct Answer
B. NLRI 10.2.0.0/16 will be advertised to its neighbors
Explanation The "aggregate-address" command is used in BGP to summarize multiple routes into a single route. In this case, the command "aggregate-address 10.2.0.0 255.255.0.0 summary-only" is entered, which means that the route 10.2.0.0/16 will be advertised to its neighbors. This is because the command specifies the network address 10.2.0.0 and the subnet mask 255.255.0.0, which covers the range of IP addresses from 10.2.0.0 to 10.2.255.255. Therefore, all the more specific routes within this range, such as 10.2.0.0/24 and 10.2.1.0/24, will be summarized into the larger route 10.2.0.0/16 and advertised to neighbors.
Rate this question:
39.
What is the default action when BGP advertises routes to an iBGP neighbor?
A.
Does not change the NEXT_HOP (uses the one in the routing table)
B.
Change the NEXT_HOP to the update source IP address
C.
Summarizes using the classful network of any subnets
D.
BGP does not advertise routes to an iBGP neighbor
Correct Answer
A. Does not change the NEXT_HOP (uses the one in the routing table)
Explanation When BGP advertises routes to an iBGP neighbor, the default action is that it does not change the NEXT_HOP. Instead, it uses the NEXT_HOP value that is already present in the routing table. This means that the iBGP neighbor will receive the routes with the same NEXT_HOP value that was originally determined by the routing table.
Rate this question:
40.
What is the default action when BGP advertises routes to an eBGP neighbor?
A.
Does not change the NEXT_HOP (uses the one in the routing table)
B.
Change the NEXT_HOP to the update source IP address
C.
Summarizes using the classful network of any subnets
D.
BGP does not advertise routes to an iBGP neighbor
Correct Answer
B. Change the NEXT_HOP to the update source IP address
Explanation When BGP advertises routes to an eBGP neighbor, the default action is to change the NEXT_HOP to the update source IP address. This means that the NEXT_HOP attribute in the BGP update message will be modified to reflect the IP address of the router that is sending the update. This is done to ensure that the eBGP neighbor will use the correct path to reach the advertised routes.
Rate this question:
41.
Two cies have merge their networks.
So now, their public networks are learned from both IGP and eBGP.
Since eBGP has a lower AD, routers will send their internal traffic through the ISP to join the other network.
Which commands can solve this problem?
A.
Using BGP subcommand "network Net_IP mask Net_MASK backdoor" for each desired Network.
B.
Using BGP subcommand "distance AD Net_IP Net_WILDMASK" for each desired Network.
C.
Using BGP subcommand "distance bgp EBGP_AD IBGP_AD LOCAL_AD"
D.
Using BGP subcommand "confederation EBGP_AD IBGP_AD LOCAL_AD"
E.
Using BGP subcommand "bgp peer
Correct Answer(s)
A. Using BGP subcommand "network Net_IP mask Net_MASK backdoor" for each desired Network. B. Using BGP subcommand "distance AD Net_IP Net_WILDMASK" for each desired Network. C. Using BGP subcommand "distance bgp EBGP_AD IBGP_AD LOCAL_AD"
4002 4003 4004 4005 4006 4007 are the true AS of this network
C.
5 is the true AS of this network
D.
4001 is one of the Confederation AS of this network
E.
4002 4003 4004 4005 4006 4007 are Confederation AS of this network
F.
5 is one of the Confederation AS of this network
G.
This router uses key chain 5 to authentication with others confederation
Correct Answer(s)
C. 5 is the true AS of this network D. 4001 is one of the Confederation AS of this network E. 4002 4003 4004 4005 4006 4007 are Confederation AS of this network
Explanation The configuration provided indicates that the router is part of BGP Autonomous System (AS) 4001. However, AS 4001 is also part of a BGP confederation, as indicated by the "bgp confederation identifier 5" command. This means that AS 4001 is one of the Confederation ASes in this network. Additionally, the "bgp confederation peers" command lists ASes 4002, 4003, 4004, 4005, 4006, and 4007 as the other Confederation ASes in the network. Therefore, 5 is the true AS of this network, 4001 is one of the Confederation ASes, and 4002, 4003, 4004, 4005, 4006, and 4007 are Confederation ASes in this network.
Rate this question:
43.
By default, eBGP packet has a TTL = 1.
A.
True
B.
False
Correct Answer
A. True
Explanation The TTL (Time to Live) value in an eBGP (external Border Gateway Protocol) packet determines the maximum number of hops the packet can traverse before being discarded. By default, the TTL value for eBGP packets is set to 1, which means that the packet can only travel to the immediate neighbor router. This is done to prevent eBGP packets from being forwarded beyond the directly connected routers, ensuring that they reach their intended destination without being unnecessarily propagated throughout the network. Therefore, the given answer, "True," is correct.
Rate this question:
44.
Confederation ASN are not considered part of the length of the AS_PATH when a router chooses the best routes based on the shortes AS_PATH.
A.
True
B.
False
Correct Answer
A. True
Explanation When a router chooses the best routes based on the shortest AS_PATH, it does not consider Confederation Autonomous System Numbers (ASN) as part of the length of the AS_PATH. This means that even if a route includes Confederation ASNs, they are not counted towards the length calculation. Therefore, the statement "Confederation ASN are not considered part of the length of the AS_PATH when a router chooses the best routes based on the shortest AS_PATH" is true.
Rate this question:
45.
Confederation routers remove the confederation ASN from the AS_PATH in updates sent outside the confederation.
A.
True
B.
False
Correct Answer
A. True
Explanation Confederation routers remove the confederation Autonomous System Number (ASN) from the AS_PATH attribute in updates that are sent outside the confederation. This means that when a router within a confederation sends an update to a router outside the confederation, it will strip off the confederation ASN from the AS_PATH. This is done to ensure that routers outside the confederation do not see the internal structure of the confederation and treat it as a single AS. Therefore, the statement "Confederation routers remove the confederation ASN from the AS_PATH in updates sent outside the confederation" is true.
Rate this question:
46.
Confederation routers add the confederation ASN to the AS_PATH in updates sent outside the confederation.
A.
True
B.
False
Correct Answer
B. False
Explanation Confederation routers remove the confederation ASN from the AS_PATH in updates sent outside the confederation. So others routers does not know that a confederation was used.
Routes learned from 2.2.2.2 will be advertised to all neighbors
B.
Routes learned from 2.2.2.2 will be advertised to 1.1.1.1 only
C.
Routes learned from 7.7.7.7 will be advertised to all neighbors
D.
Routes learned from 7.7.7.7 will be advertised to 1.1.1.1 and 2.2.2.2 only
E.
Routes learned from 7.7.7.7 will be advertised to 8.8.8.8 only
F.
Routes learned from 8.8.8.8 will be advertised to all neighbors
Correct Answer(s)
A. Routes learned from 2.2.2.2 will be advertised to all neighbors D. Routes learned from 7.7.7.7 will be advertised to 1.1.1.1 and 2.2.2.2 only F. Routes learned from 8.8.8.8 will be advertised to all neighbors
Explanation The given configuration includes the "route-reflector-client" command for the neighbors 2.2.2.2 and 1.1.1.1. This command designates these neighbors as route reflector clients. As a result, routes learned from these neighbors will be advertised to all other neighbors. Additionally, the configuration does not include any specific restrictions for the neighbor 7.7.7.7, so routes learned from this neighbor will also be advertised to all other neighbors. Finally, the neighbor 8.8.8.8 is not a route reflector client, but since there are no specific restrictions mentioned, routes learned from 8.8.8.8 will also be advertised to all other neighbors.
Rate this question:
48.
Which mecanisms RouteReflector (RR) can use to prevent loop?
A.
RR add their Cluster-ID into the CLUSTER_LIST Path Attrubute before sending an update. So if the RR receives a NLRI with its ID, the prefix will be discarded.
B.
Set the iBGP update messages TTL to 1.
C.
ORIGINATOR_ID Path Attribute constains the RID of the first iBGP peer that advertise the route. So if a iBGP router sees its RID it will discard it.
D.
RR reflect only its Best routes based on its BGP table.
E.
RR must be implemented within a confederation, then using eBGP to prevent loop.
Correct Answer(s)
A. RR add their Cluster-ID into the CLUSTER_LIST Path Attrubute before sending an update. So if the RR receives a NLRI with its ID, the prefix will be discarded. C. ORIGINATOR_ID Path Attribute constains the RID of the first iBGP peer that advertise the route. So if a iBGP router sees its RID it will discard it. D. RR reflect only its Best routes based on its BGP table.
Explanation Route Reflectors (RR) prevent loops by adding their Cluster-ID into the CLUSTER_LIST Path Attribute before sending an update. This means that if the RR receives a Network Layer Reachability Information (NLRI) with its own ID, the prefix will be discarded. Additionally, the ORIGINATOR_ID Path Attribute contains the Router ID (RID) of the first iBGP peer that advertised the route. If an iBGP router sees its own RID in this attribute, it will discard the route. Lastly, RR only reflects its best routes based on its BGP table, ensuring that only the most optimal routes are propagated.
Rate this question:
49.
The following partial configuration uses route maps in a reverse operation to set the route tag (as defined by the BGP/OSPF interaction document, RFC 1403) when exporting routes from BGP into the main IP routing table.
router bgp 100
table-map set_ospf_tag
!
route-map set_ospf_tag
match as-path 1
set automatic-tag
!
Which command is missing to achieve the task?
A.
Ip as-path access-list 1 permit .*
B.
Ip as-path access-list 1 permit *
C.
Ip as-path access-list 1 permit any
D.
Access-list 1 permit *
E.
Access-list 1 permit any any
F.
Access-list 1 permit any
Correct Answer
A. Ip as-path access-list 1 permit .*
Explanation The missing command to achieve the task is "ip as-path access-list 1 permit .*". This command is used to create an access list that permits any AS path. The "match as-path 1" statement in the route map is referencing this access list to match routes with any AS path. By using the regular expression ".*", it will match any AS path, allowing all routes to be tagged when exporting from BGP to the main IP routing table.
Rate this question:
50.
The following partial configuration uses route maps in a reverse operation to set the route tag (as defined by the BGP/OSPF interaction document, RFC 1403) when exporting routes with AS_PATH containing ASN 44 from BGP into the main IP routing table.
router bgp 100
table-map set_ospf_tag
!
route-map set_ospf_tag
match as-path 1
set automatic-tag
!
Which command is missing to achieve the task?
A.
Ip as-path access-list 1 permit .44*$
B.
Ip as-path access-list 1 permit 44*
C.
Ip as-path access-list 1 permit ^44_|_44_|_44$
D.
Access-list 1 permit *
E.
Access-list 1 permit any any
F.
Access-list 1 permit as-path *44*
Correct Answer
C. Ip as-path access-list 1 permit ^44_|_44_|_44$
Explanation The missing command to achieve the task is "ip as-path access-list 1 permit ^44_|_44_|_44$". This command allows routes with AS_PATH containing ASN 44 to match the route-map set_ospf_tag. The regular expression "^44_|_44_|_44$" matches any AS_PATH that starts with "44_", ends with "_44", or contains "_44_" in the middle. This ensures that routes with AS_PATH containing ASN 44 will be tagged when exporting into the main IP routing table.
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.