BGP Routing Concepts Quiz
24 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of the aggregate-address command in BGP?

  • To manually specify AS-path attributes for routes
  • To ensure routes are advertised in their most specific form
  • To create an aggregate entry in the BGP table (correct)
  • To configure individual routes for BGP speakers

Which of the following statements about the ATOMIC_AGGREGATE attribute is correct?

  • It indicates that a specific route has been sent without including more specific details. (correct)
  • It automatically advertises both specific and aggregate routes.
  • It is mandatory for BGP updates that contain summarized routes.
  • It specifies the exact routes contained in the aggregate update.

When a router receives overlapping routes, which one does it prefer during the best path selection?

  • The less-specific route
  • The route with the lowest metric value
  • The more-specific route (correct)
  • The route with the longest AS-path

What happens if a BGP speaker advertises an aggregate route without including the more-specific routes?

<p>The ATOMIC_AGGREGATE attribute will be set to True. (A)</p> Signup and view all the answers

In BGP, which technique allows for combining multiple route advertisements into a single summary route?

<p>Route summarization (B)</p> Signup and view all the answers

Which command syntax correctly represents the usage of aggregate-address in BGP?

<p>Router(config-router)# aggregate-address address mask (D)</p> Signup and view all the answers

What is the effect of advertising the less-specific route in link aggregation?

<p>Draining of traffic may occur on more specific paths. (C)</p> Signup and view all the answers

Which of the following is NOT a potential option when advertising overlapping routes?

<p>Advertise routes based on the lowest metric (D)</p> Signup and view all the answers

What command is used to deny a specific prefix in a prefix-list?

<p>ip prefix-list list-name [seq seq-value] deny (D)</p> Signup and view all the answers

What is the purpose of the default-originate option in BGP?

<p>To specifically send default information to a designated neighbor (A)</p> Signup and view all the answers

How can a BGP router advertise a default route to all peers?

<p>Using the network command as 'network 0.0.0.0' (B)</p> Signup and view all the answers

What does multihoming in an Autonomous System (AS) typically lead to?

<p>Asymmetrical traffic flows (C)</p> Signup and view all the answers

Why is it important to control default information in BGP?

<p>To prevent misadvertisements leading to routing issues (B)</p> Signup and view all the answers

What is the effect of static default routes compared to dynamically learned routes?

<p>More predictable routing decisions (A)</p> Signup and view all the answers

What command can be used to check the entries in an IP prefix list?

<p>show ip prefix-list (C)</p> Signup and view all the answers

What is an atomic aggregate in BGP?

<p>A method to summarize multiple routes into one (C)</p> Signup and view all the answers

What is the purpose of the 'aggregate-address' command in BGP?

<p>To create a summarized route from overlapping routes (C)</p> Signup and view all the answers

Which attribute is considered well-known mandatory in BGP?

<p>AS_PATH (B)</p> Signup and view all the answers

What does the 'set metric' command do within a route map?

<p>Overrides the default path selection criteria (D)</p> Signup and view all the answers

In the context of BGP path attributes, which attribute is optional non-transitive?

<p>MULTI_EXIT_DISC (D)</p> Signup and view all the answers

How does the 'bgp always-compare-med' command affect MPLS traffic?

<p>It ensures all BGP paths consider the MED attribute equally. (D)</p> Signup and view all the answers

What role does the ATOMIC_AGGREGATE attribute serve in BGP routing?

<p>To combine multiple routes into a single route advertisement (A)</p> Signup and view all the answers

Which router configuration correctly sets up a BGP neighbor relationship?

<p>router bgp 400; neighbor 4.4.4.4 remote-as 100 (B)</p> Signup and view all the answers

What is the intended use of the COMMUNITY attribute in BGP configurations?

<p>To signal the routing policy to be applied (D)</p> Signup and view all the answers

Flashcards

Overlapping Routes

Two or more routes that encompass similar ranges of network addresses.

More-Specific Route

A route with a smaller network address range, often encompassing only a portion of a broader route.

BGP route summarization/Aggregation

Combining multiple specific routes into a single, larger (less-specific) route for advertising purposes.

ATOMIC_AGGREGATE attribute

A BGP attribute indicating that the advertised route is a summary of multiple, more specific destinations.

Signup and view all the flashcards

aggregate-address command

BGP command used to create a summarized route.

Signup and view all the flashcards

BGP route advertisement

The process of sharing routing information between BGP routers.

Signup and view all the flashcards

Best path decision

Router's selection of the most specific route for reaching a destination.

Signup and view all the flashcards

Network address summary

Summary of a part of a network represented by a larger subnet.

Signup and view all the flashcards

What disables prefix lists?

The command "no ip prefix-list sequence-number" removes a previously defined prefix list.

Signup and view all the flashcards

How do you create a prefix list?

The command "ip prefix-list list-name [seq seq-value] deny|permit network/len [ge ge-value] [le le-value]" is used to create a prefix list.

Signup and view all the flashcards

Default route misconfiguration

Misconfigured BGP settings can cause default routes to spread uncontrollably and flood a network with unwanted traffic.

Signup and view all the flashcards

How to target default routes to a neighbor

The "default-originate" option with the "neighbor" command in BGP allows you to direct default routes specifically to a neighbor.

Signup and view all the flashcards

BGP default route advertisement

Using the "network 0.0.0.0" command in BGP configuration, a router can advertise a default route to all its peers.

Signup and view all the flashcards

Dynamically learned default routes

BGP can learn default routes automatically from other BGP routers, which can be problematic.

Signup and view all the flashcards

Static default routes

Manually configured default routes provide more control over routing within an autonomous system.

Signup and view all the flashcards

Symmetry in AS routing

Traffic leaving and entering an autonomous system from/to the same external link ensures symmetry.

Signup and view all the flashcards

BGP Route Map

A mechanism used in BGP to control which routes are advertised to neighbors. It allows for filtering, modifying, and manipulating routes before they are exchanged.

Signup and view all the flashcards

Route-Map 'SETMEDOUT'

A specific route map used in this configuration to modify the MED (Multi-Exit Discriminator) attribute of advertised routes.

Signup and view all the flashcards

MED (Multi-Exit Discriminator)

A path attribute in BGP used by routers to influence path selection when multiple paths to the same destination exist. It is often used to specify a route's preference based on its exit point or network topology.

Signup and view all the flashcards

BGP 'set metric' command

A command used within a route map to modify the metric of a BGP route. This impacts the preference a router gives to a route.

Signup and view all the flashcards

BGP 'neighbor' command

Used to establish a BGP peering relationship with another router. It defines the neighbor's address, AS number, and any route map to be used for the connection.

Signup and view all the flashcards

BGP 'remote-as' command

Used in the 'neighbor' command to specify the autonomous system number (ASN) of the BGP neighbor.

Signup and view all the flashcards

BGP 'always-compare-med'

A BGP configuration option that forces routers to always consider the MED attribute when selecting the best path, even if other attributes are identical.

Signup and view all the flashcards

BGP 'aggregate-address' command

A command used to create an aggregated route. It summarizes multiple specific routes into a single, more general route.

Signup and view all the flashcards

Study Notes

Chapter 9 - BGP (Part 2)

  • CCNP 1 version 3.0, thanks to Rick Graziani
  • Common BGP attributes include Next Hop, AS_Path, Atomic Aggregate, Aggregator, Local Preference, Weight, Multiple Exit Discriminator (MED), and Origin.
  • Altering routes changes traffic behavior. Understanding how to prevent private networks from advertising, filter routing updates from specific neighbors, and prioritize certain links/providers is crucial.

Implementing Policy

  • Traffic inside and outside an Autonomous System (AS) adheres to the defined route map.
  • Modifying the route map directly impacts the network traffic behavior.

Using BGP Attributes

  • When receiving updates for the same destination from multiple autonomous systems, BGP chooses the best path.
  • The best path is selected based on various attributes (such as Next_Hop) and configurable BGP factors.
  • Once chosen, the best path is then propagated to the neighbors.

Commands for BGP Routing Table

  • show ip bgp EXEC command is used to display entries in the BGP routing table.
  • Options like [network], [network-mask], and [longer-prefixes] can be combined for more specific viewing.

BGP Table Details

  • BGP table version, local router ID, status codes (e.g., suppressed, damped), and origin codes (e.g., IGP, EGP) are displayed.
  • The Network, Next Hop, Metric, LocPrf, Weight, and Path attributes are crucial in understanding BGP routes.
  • Attributes such as the Origin code, and the status codes are useful when diagnosing BGP issues.

Path Attributes

  • Various attributes with their corresponding codes (e.g. ORIGIN, NEXT_HOP, AS_PATH, LOCAL_PREF, Weight, MULTI_EXIT_DISC (MED), ATOMIC_AGGREGATE) define the path of a route.
  • Multiple options for attributes are noted to grasp basic concepts first, for further information.
  • The ORIGIN attribute determines the origin of a route (IGP, EGP, or INCOMPLETE).
  • The NEXT_HOP attribute, vital in forwarding a packet, is analyzed in detail for both EBGP and IBGP scenarios.
  • The importance of the AS_PATH attribute and how it expresses which AS numbers a route has traversed is explained.
  • The attribute 'Metric' is an inter-autonomous system metric.
  • The attribute 'Local Preference' is a configurable value.
  • The attribute 'Weight' acts as a weight of a route as defined via autonomous system filters.
  • The attribute 'Path' represents the autonomous system paths to the destination network
  • Origin codes indicate the origin of the routes.

Summary of the BGP Path Selection Process

  • BGP selects only one path as the best path.
  • Criteria for path selection (in order): inaccessibility of next hop, largest weight, largest local preference, AS origin if none was originated, shortest AS_path if all AS paths are equal, lowest origin type, lowest MED attribute, external path over internal paths if MED is equal, the closest IGP neighbor, lowest IP address as specified by the BGP router ID.

BGP Attributes (Specific)

  • ORIGIN attribute: Well-known mandatory, indicates the origin (IGP, EGP, or incomplete).
  • NEXT HOP: Well-known mandatory, IP address of the next hop used to reach a destination.
  • AS PATH: Well-known mandatory, sequence of AS numbers a path traverses to a destination.
  • LOCAL PREF: Well-known discretionary, used to increase the preference of a route for the same destination.
  • WEIGHT: Well-known discretionary, used to manipulate path selection.
  • MULTI_EXIT DISC (MED): Optional Non-Transitive, provides a hint about the preferred path.

Configuration for manipulating BGP Attributes

  • Use route maps and the set origin command to alter the ORIGIN attribute.
  • Multiple configurable parameters are for further information and reference.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Test your knowledge on BGP routing concepts with this quiz. It covers important topics such as the aggregate-address command, route selection preferences, and techniques for advertising routes. Perfect for students and professionals looking to solidify their understanding of BGP.

More Like This

Ch. 8 Internetworking Review
33 questions
BGP: Characteristics and Functions
33 questions
BGP Configuration and Route Analysis
6 questions

BGP Configuration and Route Analysis

InsightfulParallelism9877 avatar
InsightfulParallelism9877
Use Quizgecko on...
Browser
Browser