Multiprotocol BGP (MP-BGP) for L3VPN

For an L3VPN environment, the PE router uses MP-BGP to advertise VPNv4-NLRI to a remote PE router.

 

This post demonstrates how to configure MP-BGP on Cisco, Juniper and Nokia (Alcatel-Lucent) routers.

 

Cisco MP-BGP Configuration:

 

router bgp 100

address-family vpnv4

  neighbor 100.64.0.102 activate

  neighbor 100.64.0.102 send-community extended

  neighbor 100.64.0.3 activate

  neighbor 100.64.0.3 send-community extended

 

Verification:

Verify MBGP session with below Cisco command:

Cisco-RTR #show bgp vpnv4 unicast all summary | include 100.64.0.102

100.64.0.102    4  100   84736   71225   415128    0    0 2w3d         8680

 

Cisco-RTR#show bgp vpnv4 unicast all summary | include 100.64.0.3  

100.64.0.3      4  100  173961   18620   415128    0    0 4d20h           4

 

MP-BGP Configuration on Juniper:

 

set protocols bgp group vpls-family type internal

set protocols bgp group L3-VPN neighbor 100.64.0.6 local-address 100.64.0.3

set protocols bgp group L3-VPN neighbor 100.64.0.6 family inet-vpn unicast

 

Verification:

JPR-RTR> show bgp neighbor 100.64.0.6

Peer: 100.64.0.6+26559 AS 100 Local: 100.64.0.3+179 AS 100

  Group: L3-VPN           Routing-Instance: master

  Forwarding routing-instance: master 

  Type: Internal    State: Established    Flags: <Sync RSync>

  Last State: EstabSync     Last Event: RecvKeepAlive

  Last Error: Open Message Error

  Options: <Preference LocalAddress LogUpDown AddressFamily Rib-group Refresh>

  Address families configured: inet-unicast inet-vpn-unicast

  Local Address: 100.64.0.3 Holdtime: 90 Preference: 170

  Number of flaps: 3

  Last flap event: RecvNotify

  Error: 'Open Message Error' Sent: 1 Recv: 0

  Error: 'Hold Timer Expired Error' Sent: 0 Recv: 3

  Peer ID: 100.64.0.6      Local ID: 100.64.0.3        Active Holdtime: 90

  Keepalive Interval: 30         Group index: 18   Peer index: 1  

  BFD: disabled, down

  NLRI for restart configured on peer: inet-unicast inet-vpn-unicast

  NLRI advertised by peer: inet-unicast inet-vpn-unicast

  NLRI for this session: inet-unicast inet-vpn-unicast

  Peer supports Refresh capability (2)

  Stale routes from peer are kept for: 300

  Peer does not support Restarter functionality

  Peer does not support Receiver functionality

  Peer does not support LLGR Restarter or Receiver functionality

  Peer does not support 4 byte AS extension

  Peer does not support Addpath

  Table inet.0 Bit: 10000

    RIB State: BGP restart is complete

    Send state: in sync

    Active prefixes:              132

    Received prefixes:            151

    Accepted prefixes:            149

    Suppressed due to damping:    0

    Advertised prefixes:          1

  Table bgp.l3vpn.0

    RIB State: BGP restart is complete

    RIB State: VPN restart is complete

    Send state: not advertising

    Active prefixes:              27

    Received prefixes:            27

    Accepted prefixes:            27

    Suppressed due to damping:    0

 

MP-BGP Configuration on Alcatel SR routers:

 

ALU-RTR# configure router bgp

ALU-RTR>config>router>bgp# info

               group "L3-VPN"

                family vpn-ipv4

                type internal

                neighbor 100.64.0.6

exit

 

Verification:

ALU-RTR# show  router bgp summary

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

 BGP Router ID:100.64.0.102     AS:100        Local AS:100      

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

BGP Admin State         : Up          BGP Oper State              : Up

Total Peer Groups       : 3           Total Peers                 : 4        

Total BGP Paths         : 516         Total Path Memory           : 129436   

Total IPv4 Remote Rts   : 263         Total IPv4 Rem. Active Rts  : 132      

Total McIPv4 Remote Rts : 0           Total McIPv4 Rem. Active Rts: 0        

Total McIPv6 Remote Rts : 0           Total McIPv6 Rem. Active Rts: 0        

Total IPv6 Remote Rts   : 0           Total IPv6 Rem. Active Rts  : 0        

Total IPv4 Backup Rts   : 0           Total IPv6 Backup Rts       : 0        

 

Total Supressed Rts     : 0           Total Hist. Rts             : 0        

Total Decay Rts         : 0        

 

Total VPN Peer Groups   : 2           Total VPN Peers             : 2        

Total VPN Local Rts     : 34       

Total VPN-IPv4 Rem. Rts : 8929        Total VPN-IPv4 Rem. Act. Rts: 11       

Total VPN-IPv6 Rem. Rts : 1           Total VPN-IPv6 Rem. Act. Rts: 0        

Total VPN-IPv4 Bkup Rts : 0           Total VPN-IPv6 Bkup Rts     : 0                                                          

 

Total VPN Supp. Rts     : 0           Total VPN Hist. Rts         : 0        

Total VPN Decay Rts     : 0        

 

Total L2-VPN Rem. Rts   : 0           Total L2VPN Rem. Act. Rts   : 0        

Total MVPN-IPv4 Rem Rts : 0           Total MVPN-IPv4 Rem Act Rts : 0        

Total MDT-SAFI Rem Rts  : 266         Total MDT-SAFI Rem Act Rts  : 2        

Total MSPW Rem Rts      : 0           Total MSPW Rem Act Rts      : 0        

Total RouteTgt Rem Rts  : 584         Total RouteTgt Rem Act Rts  : 584       

Total McVpnIPv4 Rem Rts : 0           Total McVpnIPv4 Rem Act Rts : 0        

Total MVPN-IPv6 Rem Rts : 0           Total MVPN-IPv6 Rem Act Rts : 0        

Total EVPN Rem Rts      : 0           Total EVPN Rem Act Rts      : 0        

Total FlowIpv4 Rem Rts  : 0           Total FlowIpv4 Rem Act Rts  : 0        

Total FlowIpv6 Rem Rts  : 0           Total FlowIpv6 Rem Act Rts  : 0        

 

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

BGP Summary

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

Neighbor

                   AS PktRcvd InQ  Up/Down   State|Rcv/Act/Sent (Addr Family)

                      PktSent OutQ

-------------------------------------------------------------------------------

100.64.0.6

                100   10941    0 17d00h18m 248/121/0 (IPv4)

                         6112    0           8891/5/27 (VpnIPv4)

-------------------------------------------------------------------------------

ALU-RTR#

 

Multiprotocol Reachable NLRI information:

 

Please find the below image bgp update message for VPNv4 NLRI details sent to remote PE router

No comments:

Post a Comment