BGP: FAQ - Cisco - Global Home ?? FAQ 目次 概要 BGP を設定するにはどうすればよいのですか。ループバック アドレスを使用して BGP を設定するにはどうすればよいのですか。一部またはすべてのアトリビュートが BGP の 1 つの近隣ルータに適用される場合、アトリビュ

  • Published on
    24-Mar-2018

  • View
    240

  • Download
    21

Embed Size (px)

Transcript

  • BGP FAQ

    BGP BGP BGP 1 show ip bgp 0.0.0.0 BGP BGP BGP BGP BGP BGP BGP PIX/ASA BGP PIX/ASA ASBGP always-compare-med deterministic-med BGPiBGP BGPeBGP BGPeBGP IP ISP 1 ISP BGP ISP BGP BGP BGP IP BGP BGP Cisco IOS Interior Gateway ProtocolIGP; BGPeBGP Multi ExitDiscriminatorMEDBGP ConnectRetry BGP ConnectRetry show ip bgp r RIB-Failure

  • BGPiBGP default-route0.0.0.0/0 EIGRP/OSPF/IS-IS 0.0.0.0/0 BGP IP [Protocol not in this image] BGP timer-wheel running slow by 1 ticksIP RIB IPv6 BGP ip route 10.150.0.0 255.255.0.0 Null0BGP no auto-summary 10.150.0.0 debug bfd events debug bfd packets BGP AS neighbor soft-reconfiguration inbound [%BGP-3-NOTIFICATION: sent to neighbor *A.B.C.D passive 6/0 (cease) 0 bytes] [%IPRT-3-ROUTEINSERTERROR: Error inserting routing entry] Cisco IOS XR GSR VPLS-BGP Cisco IOS-XR VRF BGP redistribute network 4

    Border Gateway ProtocolBGP; FAQ

    BGP

    BGP BGP

    BGP BGP

    BGP

    //www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml

  • BGP BGP BGP IP BGP neighbor update-source

    iBGP eBGP

    BGP 1

    1. 2. 3.

    1. | unsuppress-map2.advertise-map3.prefix-list|distribute-list4.ORF prefix-list 5.

    : 1 neighbor prefix-list neighbordistribute-list

    show ip bgp 0.0.0.0

    BGP 0.0.0.0 Interior Gateway ProtocolIGP; BGP BGP network aggregate

    BGP

    BGP

    //www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f25.shtml//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f25.shtml

  • Local-AS ASno-export BGPeBGP AS no-advertise none

    BGP BGP

    BGP

    Cisco IOS(R) 12.0 10 16 AA: NN 3 Cisco IOS 10AA: NN AS 2 ip bgpnew-format

    : BGP 10 16 AA: NN 32 3 3020AS 30 20 30:20 0x1E0014 1966100

    BGP 3020

    BGP BGP

    BGP

    Cisco IOS Cisco Bug ID CSCdu81680 Cisco IOS BGP BGP 3 BGP BGP

    //www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html//www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html#wp1001855//www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html#wp1001855//www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1rbgp.html#wp1018634//www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1rbgp.html#wp1018634//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#communityattribute//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00801475b2.shtmlhttps://bst.cloudapps.cisco.com/bugsearch/bug/CSCdu81680//tools.cisco.com/RPF/register/register.do

  • 75.75.75.0 255.255.255.0 network75.0.0.0 router bgp BGP 75.0.0.0 255.0.0.0 BGP

    3 BGP BGP

    : BGP AS no auto-summary router bgp

    BGP BGP BGP

    IP ISP

    show ip bgp neighbors [address] advertised-routes

    show ip bgp neighbors [address] routes

    : show ip bgp neighbors [address] advertise-routes Cisco IOS 2 BGP

    IP ISP BGP BGP

    BGP

    BGP /BGP BGPclear ip bgp x.x.x.x soft out BGP clearip bgp x.x.x.x clear ip bgp x.x.x.x incommand Optimized Edge RoutingOERBGP OER BGP OER OERNETWORK

    http://www.traceroute.org/#Route%20Servers//www.cisco.com/en/US/docs/ios/12_4t/oer/configuration/guide/h_oerstr.html

  • : Cisco IOS 12.0 BGP BGP

    PIX/ASA BGP PIX/ASA

    ASA/PIX: ASA BGP

    AS

    AS AS AS AS AS IP 1

    AS AS AS AS 1 64512 65535 AS AS Number Registration Services Web

    BGP

    BGP BGP

    always-compare-med deterministic-med

    2 bgp deterministic-med bgpalways-compare-med

    BGPiBGP

    A.iBGP eBGP BGP eBGP IGP neighbor next-hop-self BGP BGP

    BGPeBGP

    //www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guides_list.html//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009487d.shtmlhttps://www.arin.net/resources/interacting.html//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094925.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094925.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094925.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpnexthop//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpnexthop

  • AS eBGP iBGP AS 1 eBGP BGP BGP

    BGPeBGP IP

    eBGP IP IP BGP BGP

    neighbor next-hop-self eBGP

    ISP 1 ISP

    BGP BGP BGP BGP BGP non-exist-map advertise-map non-exist-map advertise-map BGP BGP

    BGP

    BGP

    HSRP BGP 2 BGP

    //www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpconfed//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpnexthop//www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdbgp.html#wp1023342//www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdbgp.html//www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdbgp.html//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f2c.shtml//www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009456d.shtml

  • ISP BGP

    BGP BGP VPN BGP 1 BGP BGP 512 MB RAM BGP

    BGP

    BGP CPU BGP Cisco BGP

    BGP

    64512 28513 8151 65194 65230 65085

    169.185.119.90 from 169.185.119.90 (153.40.61.128)

    Origin IGP, localpref 200, valid, external

    Community: 100:2 28513:1281

    64512 28513 8151 65194 65230 65085, (received-only)

    169.185.119.90 from 169.185.119.90 (153.40.61.128)

    Origin IGP, localpref 100, valid, external

    Community: 28513:1281

    soft-reconfiguration 2

    IP BGP

    AS AS 3 AS AS IGPBGP BGP IGP AS BGP iBGP IGP router bgp no synchronization BGP iBGP IGP BGP

    //www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094a83.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093fb7.shtml//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#synch

  • BGP Cisco IOS

    Cisco IOS

    Interior Gateway ProtocolIGP; BGPeBGPMulti Exit DiscriminatorMED

    set metric-type internal route-map BGP IGP MED Cisco IOS 10.3

    BGP ConnectRetry BGPConnectRetry

    BGP ConnectRetry 120 TCP BGP TCP TCP BGP ConnectRetry 120 BGP BGP Cisco IOS ConnectRetry 120

    show ip bgp r RIB-Failure R1> show ip bgp

    BGP table version is 5, local router ID is 200.200.200.1

    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

    r RIB-failure

    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path

    r> 6.6.6.0/24 10.10.13.3 0 130 0 30 i

    *> 7.7.7.0/24 10.10.13.3 0 125 0 30 i

    RIBIP BGP bestpath BGP RIB

    IGP IP

    https://software.cisco.com/selection/research.htmlhttps://software.cisco.com/selection/research.html//tools.cisco.com/RPF/register/register.do//www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml

  • VPN /VRFVRF

    show ip bgp r RIB Cisco IOS 12.2(08.05)T

    BGPiBGP default-route0.0.0.0/0 EIGRP/OSPF/IS-IS

    Enhanced Interior Gateway Routing Protocol/Open Shortest Path First/Intermediate System-to-Intermediate SystemEIGRP/OSPF/IS-IS Interior Gateway ProtocolIGP; iBGP IGP iBGP IGP iBGP bgp redistribute-internal IGP iBGP 0.0.0.0/0 EIGRP OSPF/IS-IS

    router bgp 65345

    [...]

    bgp redistribute-internal

    !

    router eigrp 10

    [...]

    redistribute bgp 65345 route-map check-def

    !

    ip prefix-list def-route seq 5 permit 0.0.0.0/0

    !

    route-map check-def permit 10

    match ip address prefix-list def-route

    : bgp redistribute internal clear ip bgp

    0.0.0.0/0 BGP IP

    BGP

    1. 2. 3.

    [Protocol not in this image]

  • BGP Cisco IOS BGP Cisco IOS Cisco IOS

    BGP timer-wheel running slow by 1 ticks

    BGP BGP undebug all

    IP RIB

    IP RIB

    IPv6 BGP

    IPv6 BGP show bgp ipv6 unicast summary

    ip route 10.150.0.0 255.255.0.0 Null0BGP no auto-summary 10.150.0.0

    router bgp 65345

    [...]

    bgp redistribute-internal

    !

    router eigrp 10

    [...]

    redistribute bgp 65345 route-map check-def

    !

    ip prefix-list def-route seq 5 permit 0.0.0.0/0

  • !

    route-map check-def permit 10

    match ip address prefix-list def-route

    debug bfd events debug bfd packets

    bfd hellos bfd debug bfd

    debug bfd events

    BFD BFD CLI BFD

    debug bfd packets

    BFD BFD bfd BFD hello BFD

    BGP

    BGP /

    AS

    AS AS AS AS eBGP AS AS

    AS

    BGP AS PATH ASPATH 1

    1.

    BGP BGP router bgp 65345[...]

    bgp redistribute-internal

    !

    router eigrp 10

    2.

  • [...]

    redistribute bgp 65345 route-map check-def

    !

    ip prefix-list def-route seq 5 permit 0.0.0.0/0

    !

    route-map check-def permit 10

    match ip address prefix-list def-route

    1

    3.

    neighbor soft-reconfiguration inbound

    neighbor soft-reconfiguration inbound

    [%BGP-3-NOTIFICATION: sent to neighbor *A.B.C.D passive 6/0(cease) 0 bytes]

    BGP IP BGP OPEN

    [%IPRT-3-ROUTEINSERTERROR: Error inserting routing entry]

    BGP

    Cisco IOS XR GSR VPLS-BGP

    Cisco IOS XR GSR VPLS-BGP

    Cisco IOS-XR VRF

    debug bgp keepalive [vrf [vrf-name | all]] vpnv4 unicast Cisco IOS-XR VRF

    router bgp 65345

    [...]

    bgp redistribute-internal

    //www.cisco.com/en/US/docs/ios/12_2/iproute/command/reference/1rfbgp2.html#wp1020388//www.cisco.com/en/US/products/ps6599/products_data_sheet09186a0080087b3a.html//www.cisco.com/en/US/products/ps6599/products_data_sheet09186a0080087b3a.html

  • !

    router eigrp 10

    [...]

    redistribute bgp 65345 route-map check-def

    !

    ip prefix-list def-route seq 5 permit 0.0.0.0/0

    !

    route-map check-def permit 10

    match ip address prefix-list def-route

    BGP redistribute network

    BGP IGP BGP Origin Incomplete(?) network Internal/IGP (i) IGP < EGP < Incomplete

    4

    4 show mls cef summary

    Router#show mls cef summary

    Total routes: 532462

    IPv4 unicast routes: 502841

    IPv4 Multicast routes: 6

    MPLS routes: 19794

    IPv6 unicast routes: 9821

    IPv6 multicast routes: 3

    EoM routes: 0

    Router#show mls cef maximum-routes

    FIB TCAM maximum routes :

    =======================

    Current :-

    -------

    IPv4 + MPLS - 512k (default)

    IPv6 + IP Multicast - 256k

    BGP - Cisco Systems

    //www.cisco.com/en/US/tech/tk365/tk80/tsd_technology_support_sub-protocol_home.html?referring_site=bodynav//www.cisco.com/cisco/web/support/index.html?referring_site=bodynav

    BGP FAQBGP BGP BGP 1 show ip bgp 0.0.0.0 BGP BGP BGP BGP BGP BGP BGP PIX/ASA BGP PIX/ASA ASBGP always-compare-med deterministic-med BGPiBGP BGPeBGP BGPeBGP IP ISP 1 ISP BGP ISP BGP BGP BGP IP BGP BGP Cisco IOS Interior Gateway ProtocolIGP; BGPeBGP Multi Exit DiscriminatorMEDBGP ConnectRetry BGP ConnectRetry show ip bgp r RIB-Failure BGPiBGP default-route0.0.0.0/0 EIGRP/OSPF/IS-IS 0.0.0.0/0 BGP IP [Protocol not in this image] BGP timer-wheel running slow by 1 ticksIP RIB IPv6 BGP ip route 10.150.0.0 255.255.0.0 Null0BGP no auto-summary 10.150.0.0 debug bfd events debug bfd packets BGP AS neighbor soft-reconfiguration inbound [%BGP-3-NOTIFICATION: sent to neighbor *A.B.C.D passive 6/0 (cease) 0 bytes] [%IPRT-3-ROUTEINSERTERROR: Error inserting routing entry] Cisco IOS XR GSR VPLS-BGP Cisco IOS-XR VRF BGP redistribute network 4

Recommended

View more >