[c-nsp] Multiprotocol BGP with Cisco

Per Carlson perc69 at gmail.com
Mon Apr 19 08:17:19 EDT 2010


Hi.

> Can you do it for v6 peer?

Yes. The same neighbor-group can be applied to a IPv6 peer:

RP/0/0/CPU0:xr12k#sh run router bgp
router bgp 1
 neighbor-group v4v6
  remote-as 1
  update-source Loopback0
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 neighbor 2001:xxxx:1101::1
  use neighbor-group v4v6
 !
end


RP/0/0/CPU0:melker#sh bgp neighbor 2001:xxxx:1101::1
BGP neighbor is 2001:xxxx:1101::1
 Remote AS 1, local AS 1, internal link
 Remote router ID 172.16.1.1
  BGP state = Established, up for 00:04:59
  Neighbor capabilities:
    Route refresh: advertised and received
    Graceful Restart (GR Awareness): received
    4-byte AS: advertised and received
    Address family IPv4 Unicast: advertised and received
    Address family IPv6 Unicast: advertised and received

 For Address Family: IPv4 Unicast
  BGP neighbor version 701085
  Update group: 0.5
  AF-dependant capabilities:
    Graceful Restart Capability advertised and received
      Local restart time is 120, RIB purge time is 600 seconds
      Maximum stalepath time is 360 seconds
      Remote Restart time is 120 seconds
  Route refresh request: received 0, sent 0
  30 accepted prefixes, 0 are bestpaths
  Cumulative no. of prefixes denied: 0.
  Prefix advertised 9, suppressed 0, withdrawn 0, maximum limit 524288
  Threshold for warning message 75%
  An EoR was not received during read-only mode
  Last ack version 701085, Last synced ack version 0
  Outstanding version objects: current 0, max 1

 For Address Family: IPv6 Unicast
  BGP neighbor version 142
  Update group: 0.4
  AF-dependant capabilities:
    Graceful Restart Capability advertised and received
      Local restart time is 120, RIB purge time is 600 seconds
      Maximum stalepath time is 360 seconds
      Remote Restart time is 120 seconds
  Route refresh request: received 0, sent 0
  4 accepted prefixes, 1 are bestpaths
  Cumulative no. of prefixes denied: 0.
  Prefix advertised 8, suppressed 0, withdrawn 0, maximum limit 131072
  Threshold for warning message 75%
  An EoR was not received during read-only mode
  Last ack version 142, Last synced ack version 0
  Outstanding version objects: current 4, max 5

RP/0/0/CPU0:xr12k#sh bgp ipv4 unicast sum
Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
2001:xxxx:1101::1
                  0     1   37615   37644   701085    0    0 00:07:06         30


RP/0/0/CPU0:xr12k#sh bgp ipv4 unicast neighbors 2001:xxxx:1101::1 routes
   Network            Next Hop            Metric LocPrf Weight Path
* i0.0.0.0/0          172.16.101.204                100      0 i
* i10.60.7.0/24       172.16.1.7               0    100      0 ?
* i172.16.100.0/24    172.16.101.205                100      0 i
* i172.16.101.204/32  172.16.101.204                100      0 i
* i172.16.101.205/32  172.16.101.205                100      0 i
* i172.16.102.0/24    172.16.101.205                100      0 i
* i172.16.104.0/24    172.16.101.204                100      0 i
* i172.16.105.0/24    172.16.101.205                100      0 i
* i172.16.106.0/24    172.16.101.205                100      0 i
* i172.16.111.0/24    172.16.101.205                100      0 i
* i172.16.112.0/24    172.16.101.205                100      0 i
* i172.16.123.0/24    172.16.101.205                100      0 i
* i172.16.133.0/24    172.16.101.205                100      0 i
* i172.16.148.0/24    172.16.101.205                100      0 i
* i172.16.152.0/24    172.16.101.205                100      0 i
* i172.16.154.0/24    172.16.101.205                100      0 i
* i172.16.164.0/24    172.16.101.205                100      0 i
* i172.17.17.0/24     172.16.101.205                100      0 i
<snip/>

> It is not possible to do it within the neighbor
> configuration, when I create a v4v6 neighbor group I get:
>
> Failed to commit one or more configuration items during an atomic operation
>
> !!% Change would result in neighbor (X:Y:W::Z) being activated with an
> invalid address family

Can you post the (sanitized) config (or unicast it)?

> So, Cisco IOS-XR on CRS-1 cannot receive v4 prefixes on v6 BGP session.

IOS-XR on 12k and CRS-1 isn't *that* different.

The v4v6 peering is between two XR12k routers in "my" lab. They are
running 3.6.3 and 3.9 respectively.

-- 
Pelle

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


More information about the cisco-nsp mailing list