Hi,
I am using a Cisco ISR 4331 router to act as a PE (Provide edge) mpls router.
I am also using 2 Huawei NE40 routers as the P routers and also iBGP route reflectors.
Within the MPLS domain I am using ISIS as my IGP.
From an ISIS and iBGP persepctive all is happy between the Cisco PE router and the 2 Huawei NE40 P routers.
I am running BFD over ISIS and the peering has been successful.
When I type in the command on the ISR4331 "show ip route vrf METERING", I see all the BGP updates. This tells me that the Cisco ISR 4331 is rx'ing all the appropiate updates from the Huawei NE40 route reflector.
Pinging all the remote VRF METERING networks has also been successful.
I am also using 2 MPLS-TE tunnels running from the ISR4331 to each of the NE40 routers. If Tunnel 1 fails (goes to NE40_1), I want it to use the FRR (Fast Re-route) feature to swing over to tunnel 2 (goes to NE40_2). The FRR feature is activated based on a iBGP BFD failure.
This is why the iBGP BFD feature is important.
The 2 "show ip bgp neighbors" commands from the ISR4331 below indicate that the iBGP peering is established but the BFD peering is not.
CISCO_MPLS_RTR#show ip bgp neighbors 10.1.2.3
BGP neighbor is 10.1.2.3, remote AS 12316, internal link
Fall over configured for session
BFD is configured. BFD peer is Down. Using BFD to detect fast fallover (multi-hop).
BGP version 4, remote router ID 10.1.2.3
BGP state = Established, up for 2d01h
Last read 00:00:55, last write 00:00:36, hold time is 180, keepalive interval is 60 seconds
Neighbor sessions:
1 active, is not multisession capable (disabled)
CISCO_MPLS_RTR#show ip bgp neighbors 10.1.2.4
BGP neighbor is 10.1.2.4, remote AS 12316, internal link
Fall over configured for session
BFD is configured. BFD peer is Down. Using BFD to detect fast fallover (multi-hop).
BGP version 4, remote router ID 10.1.2.4
BGP state = Established, up for 2d02h
Last read 00:00:28, last write 00:00:47, hold time is 180, keepalive interval is 60 seconds
Neighbor sessions:
1 active, is not multisession capable (disabled)
The ISR4331 config is as follows:-
CISCO_MPLS_RTR#show run
Building configuration...
Current configuration : 4268 bytes
!
! Last configuration change at 00:13:09 UTC Fri Jan 31 2020
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
!
hostname CISCO_MPLS_RTR
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
!
no aaa new-model
!
ip vrf METERING
description VRF_METERING
rd 12316:6100
route-target export 12316:6001
route-target import 12316:6001
!
!
subscriber templating
mpls label protocol ldp
mpls traffic-eng tunnels
multilink bundle-name authenticated
!
!
license udi pid ISR4351/K9 sn FDO22302P0W
license boot level appxk9
!
spanning-tree extend system-id
!
!
redundancy
mode none
!
!
vlan internal allocation policy ascending
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip router isis 1
!
interface Tunnel1
ip unnumbered Loopback0
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
tunnel mode mpls traffic-eng
tunnel destination 10.1.2.3
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng forwarding-adjacency
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 1000000
tunnel mpls traffic-eng path-option 1 dynamic
tunnel mpls traffic-eng record-route
tunnel mpls traffic-eng fast-reroute bw-protect node-protect
!
interface Tunnel2
ip unnumbered Loopback0
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
tunnel mode mpls traffic-eng
tunnel destination 10.1.2.4
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng forwarding-adjacency
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 1000000
tunnel mpls traffic-eng path-option 1 dynamic
tunnel mpls traffic-eng record-route
!
interface GigabitEthernet0/0/0
ip address 192.168.243.1 255.255.255.252
ip router isis 1
media-type rj45
negotiation auto
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
bfd interval 80 min_rx 80 multiplier 3
isis bfd
ip rsvp bandwidth percent 100
!
negotiation auto
!
interface GigabitEthernet0/0/2.5
encapsulation dot1Q 50
ip vrf forwarding METERING
ip address 172.172.10.1 255.255.255.252
!
router isis 1
net 49.0007.0100.6400.9999.00
metric-style wide
log-adjacency-changes
bfd all-interfaces
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1
mpls traffic-eng level-2
!
router bgp 12316
bgp router-id 1.1.1.1
bgp log-neighbor-changes
neighbor 10.1.2.3 remote-as 12316
neighbor 10.1.2.3 update-source Loopback0
neighbor 10.1.2.3 fall-over bfd
neighbor 10.1.2.4 remote-as 12316
neighbor 10.1.2.4 update-source Loopback0
neighbor 10.1.2.4 fall-over bfd
!
address-family ipv4
neighbor 10.1.2.3 activate
neighbor 10.1.2.4 activate
exit-address-family
!
address-family vpnv4
neighbor 10.1.2.3 activate
neighbor 10.1.2.3 send-community extended
neighbor 10.1.2.4 activate
neighbor 10.1.2.4 send-community extended
exit-address-family
!
address-family ipv4 vrf METERING
neighbor 172.172.10.2 remote-as 1234
neighbor 172.172.10.2 fall-over bfd
neighbor 172.172.10.2 activate
neighbor 172.172.10.2 default-originate
exit-address-family
!
ip forward-protocol nd
no ip http server
no ip http secure-server
ip tftp source-interface GigabitEthernet0
ip rsvp signalling hello bfd
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
The BGP setup for the Huawei NE40's are as follows:-
HUAWEI_NE_1 (iBGP route-reflector)
bgp 12316
router-id 10.1.2.3
group CISCO internal
peer CISCO bfd min-tx-interval 100 min-rx-interval 100
peer CISCO bfd enable
peer 1.1.1.1 as-number 24316
peer 1.1.1.1 group CISCO
peer 1.1.1.1 bfd min-tx-interval 100 min-rx-interval 100
#
ipv4-family unicast
undo synchronization
peer CISCO enable
peer 1.1.1.1 enable
peer 1.1.1.1 group CISCO
#
ipv4-family vpnv4
peer CISCO enable
peer CISCO reflect-client
peer CISCO advertise-community
peer 1.1.1.1 enable
peer 1.1.1.1 group CISCO
HUAWEI_NE_2 (iBGP route-reflector)
bgp 12316
router-id 10.1.3.4
group CISCO internal
peer CISCO connect-interface LoopBack0
peer CISCO bfd min-tx-interval 100 min-rx-interval 100
peer CISCO bfd enable
peer 1.1.1.1 as-number 12316
peer 1.1.1.1 group CISCO
peer 1.1.1.1 bfd min-tx-interval 100 min-rx-interval 100
#
ipv4-family unicast
undo synchronization
peer CISCO enable
peer CISCO reflect-client
peer 1.1.1.1 enable
peer 1.1.1.1 group CISCO
#
ipv4-family vpnv4
peer CISCO enable
peer CISCO reflect-client
peer CISCO advertise-community
peer 1.1.1.1 enable
peer 1.1.1.1 group CISCO
Below are some display commands:-
[HUAWEI_NE_1]dis bgp peer 1.1.1.1 verbose
BGP Peer is 1.1.1.1, remote AS 12316
Type: IBGP link
BGP version 4, Remote router ID 1.1.1.1
Update-group ID: 4
BGP current state: Established, Up for 2d01h15m24s
BGP current event: KATimerExpired
BGP last state: OpenConfirm
BGP Peer Up count: 2
Received total routes: 0
Received active routes total: 0
Advertised total routes: 13
[HUAWEI_NE_1]dis bfd session peer-ip 1.1.1.1
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
8206 0 1.1.1.1 Down D_IP_PEER -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 0/1
Regards
Mick