CCNP v8 Exam Answers

CCNPv8 ENCOR (Version 8.0) – BGP Exam Answers

Chapters 11 - 12: BGP Exam Answers

CCNPv8 ENCOR (Version 8.0) – BGP Exam Answers

Chapters 11 – 12: BGP Exam Answers

1. What is used by BGP to determine the best path to a destination?

  • cost
  • hop count
  • attributes
  • administrative distance
Explanation: BGP uses attributes, such as AS-path, to determine the best path to a destination.

2. Which routing protocol is used to exchange routing information between autonomous systems on the Internet?

  • IS-IS
  • EIGRP
  • OSPF
  • BGP
Explanation: Exterior routing protocols exchange routing information between autonomous systems. BGP is the only exterior routing protocol in use today on the Internet.

3. Each line in the diagram represents a single connection from a user AS to an ISP AS. In which multihomed configuration is it necessary, if not required, to use BGP to exchange routing information?

  • A
  • B
  • C
  • D
Explanation: BGP should be used when multihomed or connected to multiple autonomous systems.

4. Which BGP routers will become peers and share routing information?

  • BGP routers that are configured with the same network command
  • BGP routers that are configured with the same peer command
  • BGP routers that are configured with the neighbor command
  • BGP routers that share routing information with all routers in the same AS by default
Explanation: In BGP configuration, the BGP router configuration command neighbor ip-address remote-as as-number is used to identify the IP address and autonomous system number associated with the BGP neighbor.

5. Which two statements describe the configuration differences when MP-BGP is applied using the IPv6 protocol compared to IPv4 protocol? (Choose two.)

  • The IPv6 address family must be initialized and the neighbor activated.
  • Routers with only IPv6 addressing must have the BGP RID statically defined.
  • IPv4 addresses cannot be used to define a BGP RID.
  • IPv6 uses multicast to establish neighbor sessions.
  • Routers with only IPv6 addressing must use AS numbers beyond 65535.
Explanation: The BGP configuration rules in IPv4 apply to IPv6, except that the IPv6 address family must be initialized, and the neighbor is activated. Routers with only IPv6 addressing must statically define the BGP RID to allow sessions to form.

6. Which three options are well-known BGP community sets? (Choose three.)

  • Internet
  • Test_Only
  • No_Export
  • No_Transit
  • Transit_Only
  • No_Advertise
Explanation: Three common well-known communities are as follows:

  • Internet: This is a standardized community for identifying routes that should be advertised on the Internet.
  • No_Advertise: Routes with this community should not be advertised to any BGP peer (IBGP or EBGP).
  • No_Export: When a route with this community is received, the route is not advertised to any EBGP peer. Routes with this community can be advertised to IBGP peers.

7. What TCP port is used by BGP to exchange messages between routers?

  • 443
  • 58
  • 179
  • 22
Explanation: BGP routers exchange messages reliably over TCP using port 179.

8. Refer to the exhibit. Autonomous system 65500 is routing traffic between two external BGP autonomous systems, autonomous system 65200 and autonomous system 65100. Synchronization is disabled on BGP in autonomous system 65500. Which routers should have IBGP peer relationships for routing between autonomous system 65200 and autonomous system 65100 to work properly?

  • ISPA, R1, R5, and ISPB
  • R1, R3, and R4
  • R1 and R5
  • R1, R3, R4, and R5
Explanation: Within the BGP AS 65500, because synchronization is disabled within the AS, IBGP should be used to establish peer relationships to provide routing service within the AS. R2 and R6 represent subnetworks. Static route and default route configuration provide adequate network access.

9. What type of BGP message precedes the successful formation of a BGP peering session?

  • keepalive
  • established
  • withdraw
  • open
  • update
Explanation: A BGP open message is used to establish a BGP adjacency. Both peer sides negotiate session capabilities before BGP peering is established.

10. Question as presented: Match the values to AFI and SAFI extensions supported by MBGP. (Not all options are used.)

Explanation: To expand the support for multiple network layer protocols to original BGP-4, RFC 2858 added Multiprotocol BGP (MBGP/MP-BGP) capability by adding an extension called the address family identifier (AFI). An address family correlates to a specific network protocol, such as IPv4 or IPv6, and additional granularity is provided through a subsequent address family identifier (SAFI) such as unicast or multicast.

11. What is the order in determining the BGP router ID?

  • statically defined, the highest IP address of any active interfaces, and the highest IP address of any active loopback interfaces
  • statically defined, the highest IP address of any active loopback interfaces, and the highest IP address of any active interfaces
  • the highest IP address of any active interfaces, statically defined, and the highest IP address of any active loopback interfaces
  • the highest IP address of any active loopback interfaces, statically defined, and the highest IP address of any active interfaces
Explanation: Statically configuring the BGP router ID (RID) is a best practice to ensure RID stability. If the RID is not statically configured, the dynamic RID allocation logic uses the highest IP address of any active loopback interfaces. If there is not an active loopback interface, then the highest IP address of any active interfaces becomes the RID when the BGP process initializes.

12. A company is deploying BGP multihoming to provide internet connection redundancy. Which method can be used to avoid the internet transit routing situation?

  • deploying iBGP routing in all routers within the local AS
  • ensuring that no IGP session is running on the local BGP routers
  • designating a data center or a specific location to handle the internet transit traffic
  • applying outbound BGP route policies that only allow for local BGP routes to be advertised
Explanation: If an enterprise uses BGP to connect with more than one service provider, it runs the risk of its autonomous system (AS) becoming a transit AS. Because BGP uses path cost to select best path, a path through the internal BGP routers might appear with a better path cost, hence the risk of local AS providing transit routing to everyone in the internet. Transit routing can be avoided by applying outbound BGP route policies that only allow for local BGP routes to be advertised to other autonomous systems.

13. Refer to the exhibit. Which statement describes the condition when the BGP route-map TEST permit 40 command is processed and what is the result of processing?

  • Only networks that do not match ACL3 will match and be allowed.
  • Incoming networks that match ACL1, ACL2, and ACL3 will match and be allowed.
  • All incoming networks that do not match ACL1, ACL2, and ACL3 will match, but will be dropped because no action is specified.
  • All incoming networks that do not match ACL1, ACL2, and ACL3 will match and be allowed.
Explanation: A route map uses the command syntax route-map route-map-name [ permit | deny ] [ sequence-number ]. The rules that apply to route map statements are as follows:
If a processing action is not provided, the default value permit is used.
If a sequence number is not provided, the sequence number is incremented by 10 automatically.
If a matching statement is not included, an implied all prefixes is associated with the statement.
Processing within a route map stops after all optional actions have processed and after matching a conditional matching criterion.

14. Refer to the exhibit. A network administrator is configuring BGP on a router. Which configuration step is needed in order to establish the BGP session with the neighbor router?

  • Configure the keepalive timer.
  • Initialize and activate the address family.
  • Advertise the networks attached to the router.
  • Restart the BGP process.
Explanation: For a BGP session to initiate, one address family for a neighbor must be activated. On Cisco routers the IPv4 address family is activated by default; however, it may cause confusion when working with other address families. The BGP router configuration command no bgp default ip4-unicast disables the automatic activation of the IPv4 AFI.

15. Refer to the exhibit. Which two configurations will allow router R1 to establish a neighbor relationship with router R2? (Choose two.)

R1(config)# router bgp 65002
R1(config-router)# network 192.168.20.0
R1(config-router)# neighbor 209.165.200.225 remote-as 65001

R2(config)# router bgp 65002
R2(config-router)# network 192.168.10.0

R1(config)# router bgp 65001
R1(config-router)# network 192.168.20.0

R1(config)# router bgp 65001
R1(config-router)# network 192.168.10.0
R1(config-router)# neighbor 209.165.200.226 remote-as 65002

R2(config)# router bgp 65002
R2(config-router)# network 192.168.20.0
R2(config-router)# neighbor 209.165.200.225 remote-as 65001

R2(config)# router bgp 65002
R2(config-router)# network 192.168.10.0
R2(config-router)# neighbor 209.165.200.226 remote-as 65002

Explanation: To configure EBGP, the router bgp command is followed by the AS number in which the router resides. Conversely, the neighbor command contains the AS number to which the remote router belongs.

16. A network administrator is configuring IPv6 route summarization on a BGP router. The objective is to aggregate the IPv6 networks from 2001:db8:0:0::/64 to 2001:db8:0:35::/64 into a single summary route. Which aggregation command should be used for the task?

  • aggregate-address 2001:db8::/60 summary-only
  • aggregate-address 2001:db8::/61 summary-only
  • aggregate-address 2001:db8::/58 summary-only
  • aggregate-address 2001:db8::/59 summary-only
Explanation: The fourth hexadecimal of the IPv6 network 2001:db8:0:35::/64 is 0x35 that is equivalent to binary notation of 00110101. Thus 6 bits is the least needed for the purpose of route summarization.

17. Refer to the exhibit. What is used to exchange routing information between routers within each AS?

  • default routing
  • IGP routing protocols
  • EGP routing protocols
  • static routing
Explanation: IGP routing protocols such as EIGRP and OSPF are used within an organization to exchange routes. An EGP routing protocol such as BGP is used to route traffic originating within one AS to the rest of the Internet (other individual autonomous systems).

18. Refer to the exhibit. A network administrator is configuring BGP on a router. What network layer protocol and function are enabled for the BGP session?

  • IPv4 protocol with TCP connections.
  • IPv4 protocol with all the functions.
  • IPv4 protocol with unicast communication.
  • IPv4 protocol with both unicast and multicast communications.
Explanation: The address family is initialized by using the BGP router configuration command address-family afi safi . On IOS and IOS XE devices, the default subsequent address family identifier (SAFI) for the IPv4 and IPv6 address families is unicast and is optional.

19. Which BGP state is the one where BGP initiates the TCP connection and sends an Open message to the sender?

  • Passive
  • Connect
  • OpenSent
  • Established

20. Which BGP attribute includes a complete list of all the ASNs that the prefix advertisement has traversed from its source AS?

  • Local Preference (LocPrf)
  • Multiple-exit discriminator (MED)
  • Weight
  • AS_Path

21. Refer to the exhibit. For which autonomous system would running BGP not be appropriate?

  • 65004
  • 65005
  • 65003
  • 65002
Explanation: It is appropriate to use BGP when an autonomous system is multihomed, or has more than one connection to another autonomous system or to the Internet. BGP is not appropriate for single-homed autonomous systems. Autonomous system 65003 is a single-homed AS because it is only connected to one other autonomous system, 65002.

22. A company is deploying BGP multihoming to provide network connection redundancy for several branch locations. One of the network design objectives is to provide deterministic routing among company locations during failover by providing a specific location to handle branch transit traffic. Which two design criteria should be applied to the specific facility? (Choose two.)

  • The bandwidth can be sized according to the traffic needs.
  • The facility should be in a central place from all company locations.
  • OSPF is the preferred IGP for the facility.
  • The routing pattern is bidirectional and predictable.
  • BGP route policies should apply to only allow for local BGP routes to be advertised.
Explanation: Multihomed environments should be configured so that branch routers cannot act as transit routers. In most designs, transit routing of traffic from another branch is undesirable, as WAN bandwidth may not be sized accordingly. If transit behavior is required, it should be restricted to the data centers or specific locations with these design criteria:
Proper routing design can accommodate outages.
Bandwidth can be sized accordingly.
The routing pattern is bidirectional and predictable.

23. Question as presented: Match the route map component to the description. (Not all options are used.)

Explanation: A route map has four components:

  • Sequence number: Dictates the processing order of the route map.
  • Conditional matching criteria: Identifies prefix characteristics (network, BGP path attribute, next hop, and so on) for a specific sequence.
  • Processing action: Permits or denies the prefix.
  • Optional action: Allows for manipulations, depending on how the route map is referenced on the router. Actions can include modification, addition, or removal of route characteristics.

24. Refer to the exhibit. Considering the route map configuration for BGP, which statement describes the condition for a network prefix to match the route map TEST ?

  • The network prefix needs to match both ACL1 and ACL2 independently of the processing action.
  • If the processing action is permit, the network prefix needs to match either ACL1 or ACL2.
  • The network prefix needs to match either ACL1 or ACL2 independently of the processing action.
  • If the processing action is deny, the network prefix needs to match both ACL1 and ACL2.
Explanation: In route map configuration, if there are multiple variables (ACLs, prefix lists, tags, and so on) configured for a specific route map sequence, only one variable must match for the prefix to qualify. The Boolean logic uses an OR operator for this configuration. The processing action is performed only after a match occurs.

25. Which BGP state is the one where BGP waits for a KEEPALIVE or NOTIFICATION message from a neighbor so that the BGP session can be moved to Established?

  • Attempt
  • Down
  • OpenConfirm
  • Init

26. Which three statements describe the weight attribute for BGP? (Choose three.)

  • It is a Cisco-defined attribute.
  • It is a nontransitive attribute that uses a 32-bit value called metric.
  • It is not advertised to other routers.
  • It is a 16-bit value assigned locally on the router.
  • It is not advertised between eBGP peers and is typically used to influence the next-hop address for outbound traffic.
  • It is a well-known discretionary path attribute and is included with path advertisements throughout an AS.
Explanation: BGP weight is a Cisco-defined attribute and the first step for selecting the BGP best path. Weight is a 16-bit value (0 to 65,535) assigned locally on the router; it is not advertised to other routers.

27. A network administrator is configuring a prefix list with the ip prefix-list command. What is the best practice in dealing with the sequence number in creating a prefix list?

  • Sequence numbers should leave enough space to accommodate additional entries.
  • Sequence numbers should start with 1.
  • Sequence numbers should be no higher than 100.
  • Sequence numbers should be incremented by 2.
Explanation: Prefix lists are configured with the global configuration command ip prefix-list prefix-listname [ seq sequence-number ] { permit | deny } high-order-bit-pattern / high-order-bit-count [ ge ge-value ] [ le le-value ]. Because prefix lists cannot be re-sequenced, it is advisable to leave enough space for insertion of sequence numbers at a later time.

28. A network administrator is configuring a prefix list to match networks for BGP route filtering. Which two networks match the prefix match specification 10.224.0.0/12 ge 24 le 28 ? (Choose two.)

  • 10.240.10.0/24
  • 10.224.10.0/12
  • 10.230.15.0/24
  • 10.239.255.240/28
  • 10.192.20.0/26
Explanation: Prefix lists provide another method of identifying networks in a routing protocol. A prefix list identifies a specific IP address, network, or network range and allows for the selection of multiple networks with a variety of prefix lengths by using a prefix match specification. A prefix match specification contains two parts: a high-order bit pattern and a high-order bit count, which determines the high-order bits in the bit pattern that are to be matched. The high-order bit pattern is also known as the network address and the high-order bit count as the mask length. The network portion of the matching networks is 10.224.0.0 and higher. The mask length of the matching networks must be greater than or equal to /24 and less than or equal to /28.

29. Refer to the exhibit. A network administrator is troubleshooting BGP configuration and wants to display only routes that originated in AS 40. Which regular expression should the administrator use in the command show bgp ipv4 unicast regex regex-pattern ?

  • show bgp ipv4 unicast regex 40_
Explain:
In troubleshooting BGP, regular expressions (regex) can be used to parse through the large number of available ASNs. Regular expressions are based on query modifiers used to select the appropriate content. The regex pattern 100_ indicates to only include the lines that contain the exact phrase of 100. Some regex query modifiers are as follows:

(underscore) – Matches a space
^ (caret) – Indicates the start of a string
$ (dollar sign) – Indicates the end of a string
. (period) – Matches a single character, including a space

30. A network administrator is configuring a prefix list with the command

ipv6 prefix-list IPV6-1 seq 5 permit 2001:db8:abcd:30::/60 ge 61 le 63

Which two networks match the prefix match specification? (Choose two.)

  • 2001:db8:abcd:30::/60
  • 2001:db8:abcd:34::/62
  • 2001:db8:abcd:20::/62
  • 2001:db8:abcd:36::/63
  • 2001:db8:abcd:60::/64
Explanation: The prefix matching logic works the same for IPv6 networks as for IPv4 networks. The fourth hexadecimal group of the match specification is 0x0030, which is 00000000 00110000 in binary. To match /60 prefix length, the fourth hexadecimal group of a network must be between 00000000 00110000 and 00000000 00111111, that is, between 0x0030 and 0x003F. The prefix length must be between /61 and /63.

31. Which BGP attribute can be configured on IBGP speakers so they will choose a desired path out of the autonomous system to an outside network?

  • local preference
  • next hop
  • MED
  • aggregate
Explanation: The local preference attribute indicates the preference for exiting the AS to the destination network. The local preference is not advertised between eBGP peers and is typically used to influence the next-hop address for outbound traffic (that is, leaving an autonomous system). Local preference can be set for specific routes by using a route map or for all routes received from a specific neighbor. A higher value is preferred over a lower value.

32. Which two statements describe private BGP communities? (Choose two.)

  • A private BGP community requires a route map configuration.
  • Private BGP communities are used to signify no transit networks.
  • An organization needs to register for a private BGP community.
  • Private BGP communities are within the range of 0xFFFF0000 to 0xFFFFFFFF.
  • A private BGP community uses the first 16 bits to represent its AS and the second 16 bits to represent a pattern.
Explain: Private BGP communities follow a particular convention where the first 16 bits represent the AS of the community origination, and the second 16 bits represent a pattern defined by the originating AS. A private BGP community pattern can vary from organization to organization, does not need to be registered, and can signify geographic locations for one AS while signifying a method of route advertisement in another AS.

Related Articles

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Back to top button