Pete's Packet

Limitless

  • Catagories

  • Global visitors

    free counters
  • RSS CCIE Jobs – Metro NY area

    • Sr. Network Engineer
      Task Management Inc Norwalk, CT
    • Sr. Network Engineer Cisco - Somerset NJ or Jersey City
      Confidential Company Somerset, NJJob description: ...industry knowledge* Excellent communication and interpersonal skills* Excellent customer presentation skills** Cisco Certifications preferred (CCNA, CCNP,CCIE).We are committed to a policy of Equal Employment opportunity and will not discriminate on any legally...
    • Wide Area Network Administrator
    • Architect
      Tekmark Global Solutions LLC New York, NYJob description: ...6) Visio drawings 7) Voice/data convergence 8) Data center design 9) Firewalls/security 10) CCIE Written Roles and Responsibilities: -Provide Network Architectural direction to various client outsourced customer accounts-Works with...

Archive for June 16th, 2009

Day 89 BGP notes

Posted by Peter Kurdziel on June 16, 2009

BGP notes

  1. BGP not working? Three things to look at:
    • EBGP-MULTIHOP (both sides)
    • UPDATE-SOURCE (loopback …)
    • NEXT-HOP-SELF (sho ip bgp x.x.x.x look for inaccessible)
  2. NEXT-HOP-SELF is used in unmeshed networks (fr) where BGP neighbors do no have a direct access to all other neighbors on the same subnet.
  3. redistributing ospf into BPG: (by default only EBGP routes are redistributed)
    • redistribute ospf 1 internal external route-map XX
  4. BGP Community attributes
    • internet – advertise to everyone
    • no export – advertise  to no ebgp peer
    • local as – advertise to the local as only = If you are using BGP confederations, local-as prevents the routes from traversing the sub ASes.  No-export allows the routes to go between sub-ASes in the confederation, but not to any other ASes outside of the confederration.
    • no advertise – advertise to no one
    • Community Description
      Local-AS Use in confederation scenarios to prevent sending packets outside the local autonomous system (AS).
      no-export Do not advertise to external BGP (eBGP) peers. Keep this route within an AS.
      no-advertise Do not advertise this route to any peer, internal or external.
      none Apply no community attribute when you want to clear the communities associated with a route.
      internet Advertise this route to the internet community, and any router that belongs to it.
  5. 200.0.0.1/32 = net 200.0.0.1 mask 255.255.255.255
  6. Use aggregate-address w/ summary-only to send a summary
  7. ^2004 = originated on AS200
  8. ^$ empty as path list
  9. Don’t see local info in sho ip bgp = typo
  10. When using loopbacks for peerings don’t forget ebgp-multihop and update-source
  11. troubleshooting: sh ip bpg , sho ip bgp XXX , sho ip bgp sum. Hop by hop.

Do internal BGP (iBGP) sessions modify the next hop?

A. iBGP sessions preserve the next hop attribute learned from eBGP peers. This is why it is important to have an internal route to the next hop. The BGP route is otherwise unreachable. In order to make sure you can reach the eBGP next hop, include the network that the next hop belongs to in the IGP or issue the next-hop-self neighbor command to force the router to advertise itself, rather than the external peer, as the next hop. Refer to the BGP Next Hop Attribute section of BGP Case Studies for a more detailed explanation.

This command is useful in unmeshed networks (such as Frame Relay or X.25) where BGP neighbors may not have direct access to all other neighbors on the same IP subnet.

More info on redistributing OSPF into BGP:

  1. router bgp 100
    1. redistribute ospf 1 match internal external 1 external 2
    2. !— This redistributes all OSPF routes into BGP.
  2. router bgp 100
    • redistribute ospf 1
    • !– This redistributes only OSPF intra- and inter-area routes into BGP.If you configure the redistribution of OSPF into BGP without keywords, by only OSPF intra-area and inter-area routes are redistributed into BGP, by default.
  3. redistribute ospf 1 match external 1 external 2
    • !— This redistributes ONLY OSPF External routes,
    • !— but both type-1 and type-2.
  4. redistribute ospf 1 match nssa-external 1 nssa-external 2
    • !— This redistributes only OSPF NSSA-external routes
    • !— Type-1 and Type-2 into BGP.

Posted in BGP, Routing & Switching Lab | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.