Chapter 16

"Do I Know This Already?"

1.A and B
2.C
3.A and E
4.B
5.D
6.B
7.A and C
8.B
9.B
10.C
11.C
12.B
13.A
14.B

Q&A

1.BGP attributes include weight, local preference, AS-path, Origin, MED, Community, and Cluster ID.
2.The Cisco-proprietary weight attribute selects the exit when there are multiple paths to the same destination. The higher the weight value, the better the path. Weight is local to the router and the attribute is not propagated to other routers. Weight values range from zero to 65,535. The default weight is zero, unless this router sources the route (in which case the weight defaults to 32,768).
3.Local preference is used inside an AS to select outbound paths. It has a range from 0 to 4,294,967,295 and higher values are preferred in selecting routes. The default value is 100.
4.The AS-Path attribute is a list of AS that the route has passed through (the shortest path is preferred).
5.Origin describes how the route was learned. It can be i (native to BGP), e (EGP), or ? (redistributed).
6.Multi-exit discriminator (MED) is advertised to external neighbors to try to influence path selection into an AS. MED is an optional, nontransitive attribute and lower MED is preferred. The default MED is zero.
7.Router(config-router)#neighbor {ip-address peer-group-name} weight weight
8.Router(config-router)#bgp default local-preference value
9.Answer:
router bgp AS
  neighbor ip-address route-map question9 out
access-list 9 permit 192.168.25.0 0.0.0.255
route-map question9 permit 10
  match ip address 9
  set metric 90
route-map question9 permit 20
10.

OrderPreferenceDescription
0. SynchronizedTRUEUse only routes that meet the synchronization requirement
1. WeightHighestAdministrative override
2. Local PreferenceHighestUsed internally to pick path out of AS
3. Self OriginatedTRUEUsed to prefer paths originated on this router
4. AS-PathShortestMinimize AS-hops
5. Origini<?Prefer stability
6. MEDLowestUsed external to come in
7. ExternalEBGP<IBGPHot Potato routing
8. IGP CostLowestLook for more information
9. EBGP PeeringOldestPrefer stability
10. RIDLowestExternal path preferred over internal path