BGP Prefix list Flashcards

1
Q

What is a BGP Prefix list?

A

A BGP Prefix list is a configuration to filter routing updates based on a permit or deny, which is applied to updates to and from neighbors.

ip prefix-list LIST permit 192.168.1.0/24
!
router bgp 65001
neighbor 192.168.2.1 prefix-list LIST out

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

How does a BGP Prefix list work?

A
  • The prefix list can permit or deny a matching network and netmasks.
  • The prefix list can be applied to a BGP neighbor.
  • The prefix list can be applied in any direction, either inbound or outbound.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between a BGP Prefix list and a Distribute list?

A
  • A BGP Prefix list performs route filtering based on IP network addresses and netmasks of advertised routes.
  • A Distribute list performs route filtering based on an access list or prefix list.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do I configure a BGP Prefix list?

A

ip prefix-list NAME permit/deny 192.168.1.0/24
!
router bgp 65001
neighbor 192.168.2.1 prefix-list NAME in/out

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

What are some considerations when using a BGP Prefix list?

A
  • What prefix to permit or deny.
  • Which neighbors to apply the prefix list.
  • Direction: inbound or outbound.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly