7 - More BGP & Policy Flashcards

1
Q

AS-Path Attribute

A

Sequence of ASes that have been traversed. Used for loop detection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Does shorter path always mean shorter

A

No, there may be an unknown internal structure which causes the route to be longer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Next Hop attribute meaning

A

Next hop to reach a network. Usually a local network is the next hop in an eBGP session.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Next Hop Attribute

Recursive route lookup

How do BGP and iGP interact in this case?

A

BGP looks into IGP to find next hop info
BGP is not permitted to use a BGP route as the next hop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Community Attribute stored as?

bits and the format of those bits

A

32 bit number (two 16 bits separated by colon)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the first half of the Community attribute?

A

Usually an AS number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Who determines the meaning of the community attribute’s second half?

A

ISP determines meaning of second half

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What messages carry community attribute?

A

BGP protocol messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why use policies?

A

Steer traffic through preferred paths

Prefix filtering

Enforce customer ISP agreements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the decision process for updates in a router (considering policies)

A

All inputs have the in-policy filter applied.
Best path is selected
Final update has out-policy filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

BGP “in” process

A

receive path info from peers
results of selection placed in BGP table
“best path” flagged

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

BGP “out” process

A

builds update using info from RIB
may modify update based on config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are Prefix Lists used for?

A

Filtering routes.

Can be combined with route maps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Prefix Lists: Notation?

A

CIDR Address/mask notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Prefix list: ordering

A

First relevant rule wins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Prefix list: exclusive or not?

A

Implicit “deny all” at the end of them.

Like Access Control Lists

17
Q

Prefix lists: IPv6, any different to IPv4?

A

No

18
Q

Filter list:

A

Regular expression match against input string

19
Q

Route Maps

A

Program for Cisco IOS.
if else conditions

20
Q

Route Map match clauses

A

AS-path
Community
IP Address

21
Q

Set Clauses

A

AS-path prepend
Community
Local-preference