cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2810
Views
5
Helpful
2
Replies

BFD session establishment problem

pc_varanda
Level 1
Level 1

Hi Experts,

I'm trying to use BFD between PE and CE, but the session never comes UP. The configuration is pretty simple.

Interface xx

bfd interval 150 min_rx 150 multiplier 3

router bgp xxxx

neighbor x.x.x.x fall-over bfd

Follow debug messages:

Oct 26 12:11:19: BFD-DEBUG EVENT: bfd_neighbor - action:CREATE, proc/sub:4/0, id b:GigabitEthernet0/2, neighbor:x.x.x.x act
Oct 26 12:11:19: BFD_WL: ???: initializing credits to 24
Oct 26 12:11:19: BFD-DEBUG Packet: Rx IP:x.x.x.x ld/rd:1/0 diag:0 Down  cnt:1 ttl:254 (0)
Oct 26 12:11:19: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:DOWN (0)
Oct 26 12:11:19: BFD-DEBUG Packet: Tx IP:x.x.x.x ld/rd:3/1 diag:0 Init  cnt:1 (0)
Oct 26 12:11:20: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:21: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:22: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:23: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:24: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:25: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:26: BFD-DEBUG EVENT: bfd_neighbor - action:CREATE, proc/sub:4/0, id b:GigabitEthernet0/1, neighbor:x.x.x.x act
Oct 26 12:11:26: BFD_WL: ???: initializing credits to 24
Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:1 event:Session create state:DOWN (0)
Oct 26 12:11:26: BFD-DEBUG Packet: Tx IP:x.x.x.x ld/rd:1/0 diag:0 Down  cnt:1 (0)
Oct 26 12:11:26: BFD-DEBUG Packet: Rx IP:x.x.x.x ld/rd:1/0 diag:0 Down  cnt:1 ttl:254 (0)
Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:DOWN (0)
Oct 26 12:11:26: BFD-DEBUG Packet: Tx IP:x.x.x.x ld/rd:1/1 diag:0 Init  cnt:1 (0)
Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)
Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:28: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)
Oct 26 12:11:28: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:29: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)
Oct 26 12:11:29: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)
Oct 26 12:11:30: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)
Oct 26 12:11:30: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

sh bfd nei deta

NeighAddr                         LD/RD    RH/RS     State     Int
x.x.x.x                     3/1     Down      Init      Gi0/2
OurAddr: x.x.x.x
Local Diag: 0, Demand mode: 0, Poll bit: 0
MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3
Received MinRxInt: 1000000, Received Multiplier: 3
Holddown (hits): 2476(0), Hello (hits): 1000(9104)
Rx Count: 1215, Rx Interval (ms) min/max/avg: 756/1004/876 last: 524 ms ago
Tx Count: 1207, Tx Interval (ms) min/max/avg: 756/1080/882 last: 148 ms ago
Elapsed time watermarks: 0 0 (last: 0)
Registered protocols: BGP
Last packet: Version: 1                  - Diagnostic: 0
             State bit: Down             - Demand bit: 0
             Poll bit: 0                 - Final bit: 0
             Multiplier: 3               - Length: 24
             My Discr.: 1                - Your Discr.: 0
             Min tx interval: 1000000    - Min rx interval: 1000000
             Min Echo interval: 0

NeighAddr                         LD/RD    RH/RS     State     Int
x.x.x.x                     1/1     Down      Init      Gi0/1
OurAddr: x.x.x.x
Local Diag: 0, Demand mode: 0, Poll bit: 0
MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3
Received MinRxInt: 1000000, Received Multiplier: 3
Holddown (hits): 2240(0), Hello (hits): 1000(9087)
Rx Count: 1211, Rx Interval (ms) min/max/avg: 756/1008/879 last: 764 ms ago
Tx Count: 1212, Tx Interval (ms) min/max/avg: 756/1040/879 last: 208 ms ago
Elapsed time watermarks: 0 0 (last: 0)
Registered protocols: BGP
Last packet: Version: 1                  - Diagnostic: 0
             State bit: Down             - Demand bit: 0
             Poll bit: 0                 - Final bit: 0
             Multiplier: 3               - Length: 24
             My Discr.: 1                - Your Discr.: 0
             Min tx interval: 1000000    - Min rx interval: 1000000
             Min Echo interval: 0

Appreciate if you guys help me with this matter.

Regards.

Paulo Varanda

interface GigabitEthernet0/1

description MPLS_EBT_RJO/IP/19171

bandwidth 16000

ip address 200.179.218.70 255.255.255.252

no ip proxy-arp

load-interval 30

duplex full

speed 100

no cdp enable

bfd interval 150 min_rx 150 multiplier 3

max-reserved-bandwidth 97

service-policy output EGRESS_RJO

end

######################################################

interface GigabitEthernet0/2

description MPLS_EBT_RJO/IP/19172

bandwidth 16000

ip address 200.172.254.26 255.255.255.252

no ip proxy-arp

load-interval 30

duplex full

speed 100

no cdp enable

bfd interval 150 min_rx 150 multiplier 3

max-reserved-bandwidth 97

service-policy output EGRESS_RJO

end

#######################################################

router bgp 65031

bgp log-neighbor-changes

neighbor 10.255.255.9 remote-as 65510

neighbor 200.172.254.25 remote-as 4230

neighbor 200.172.254.25 fall-over bfd

neighbor 200.179.218.69 remote-as 4230

neighbor 200.179.218.69 fall-over bfd

Abaixo as mensagens de debug do BFD:

Oct 26 12:11:19: BFD-DEBUG EVENT: bfd_neighbor - action:CREATE, proc/sub:4/0, id b:GigabitEthernet0/2, neighbor:200.172.254.25 act

Oct 26 12:11:19: BFD_WL: ???: initializing credits to 24

Oct 26 12:11:19: BFD-DEBUG Packet: Rx IP:200.172.254.25 ld/rd:1/0 diag:0 Down  cnt:1 ttl:254 (0)

Oct 26 12:11:19: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:DOWN (0)

Oct 26 12:11:19: BFD-DEBUG Packet: Tx IP:200.172.254.25 ld/rd:3/1 diag:0 Init  cnt:1 (0)

Oct 26 12:11:20: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:21: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:22: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:23: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:24: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:25: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:26: BFD-DEBUG EVENT: bfd_neighbor - action:CREATE, proc/sub:4/0, id b:GigabitEthernet0/1, neighbor:200.179.218.69 act

Oct 26 12:11:26: BFD_WL: ???: initializing credits to 24

Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:1 event:Session create state:DOWN (0)

Oct 26 12:11:26: BFD-DEBUG Packet: Tx IP:200.179.218.69 ld/rd:1/0 diag:0 Down  cnt:1 (0)

Oct 26 12:11:26: BFD-DEBUG Packet: Rx IP:200.179.218.69 ld/rd:1/0 diag:0 Down  cnt:1 ttl:254 (0)

Oct 26 12:11:26: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:DOWN (0)

Oct 26 12:11:26: BFD-DEBUG Packet: Tx IP:200.179.218.69 ld/rd:1/1 diag:0 Init  cnt:1 (0)

Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:27.385: %SYS-5-CONFIG_I: Configured from console by paulo on vty0 (192.168.20.151)

Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)

Oct 26 12:11:27: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:28: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)

Oct 26 12:11:28: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:29: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)

Oct 26 12:11:29: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

Oct 26 12:11:30: BFD-DEBUG Event: V1 FSM ld:1 event:RX DOWN state:INIT (0)

Oct 26 12:11:30: BFD-DEBUG Event: V1 FSM ld:3 event:RX DOWN state:INIT (0)

2 Replies 2

pc_varanda
Level 1
Level 1

Follow the configuration of PE side.

interface GigabitEthernet3/1/4.319

description PE_TO_CE

bandwidth 16000

encapsulation dot1Q 319

ip vrf forwarding XXXX

ip address X.X.X.X X.X.X.X

no ip directed-broadcast

no ip proxy-arp

no cdp enable

bfd interval 150 min_rx 150 multiplier 3

service-policy input XXXX

service-policy output XXXX

address-family ipv4 vrf XXXX

redistribute connected

redistribute static

neighbor x.x.x.x remote-as XXXX

neighbor x.x.x.x description XXXX

neighbor x.x.x.x fall-over bfd

neighbor x.x.x.x activate

neighbor x.x.x.x send-community both

maximum-paths eibgp 2

no synchronization

bgp dampening

exit-address-family

Regards.

Guys, nevermind, My ISP has informed  that they're running c12kprp-k4p-mz.120-33.S8.bin image.  I saw at feature navigator that this IOS version don't support BFD with VRF. The strange thing is that IOS accepted the command...

Regards