BFD Configuration in IS-IS
This section provides the steps for configuring BFD for the IS-IS protocol.
Topology
Figure 2-167: Basic Topology for BFD-ISIS
R1
R1#configure terminal | Enter the Configure mode. |
R1(config)#interface eth1 | Enter interface mode. |
R1(config-if)#ip address 10.1.1.1/24 | Configure IP address. |
R2(config-if)#ip router isis 1 | Configure ISIS router |
R1(config-if)#exit | Exit interface mode. |
R1(config)#router isis 1 | Enter the Router mode for IS-IS. |
R1(config-router)#net 10.0000.0000.0001.00 | Advertise network 10.0000.0000.0001.00 in IS-IS. |
R1(config-router)#bfd all-interfaces | Enable BFD for all neighbors. |
R1(config-router)#commit | Commit the configuration on the node |
R2
R2#configure terminal | Enter the Configure mode. |
R2(config)#interface eth1 | Enter interface mode. |
R2(config-if)#ip address 10.1.1.2/24 | Configure IP address. |
R2(config-if)#ip router isis 1 | Configure ISIS router |
R2(config-if)#exit | Exit interface mode. |
R2(config)#router isis 1 | Enter the Router mode for IS-IS. |
R2(config-router)#net 10.0000.0000.0002.00 | Advertise network 10.0000.0000.0002.00 in IS-IS. |
R2(config-router)#bfd all-interfaces | Enable BFD for all neighbors. |
R2(config-router)#commit | Commit the configuration on the node |
Validation
R1#show bfd session
BFD process for VRF: (DEFAULT VRF)
=====================================================================================
Sess-Idx Remote-Disc Lower-Layer Sess-Type Sess-State UP-Time Interface Down-Reason Remote-Addr
1 1 IPv4 Single-Hop Up 00:00:42 eth1 NA 10.1.1.1/32
Number of Sessions: 1
R2#show bfd session
BFD process for VRF: (DEFAULT VRF)
=====================================================================================
Sess-Idx Remote-Disc Lower-Layer Sess-Type Sess-State UP-Time Interface Down-Reason Remote-Addr
1 1 IPv4 Single-Hop Up 00:10:23 eth1 NA 10.1.1.2/32
1 1 IPv4 Single-Hop Up 00:10:23 eth2 NA 20.1.1.2/32
Number of Sessions: 2
R1#show bfd session detail
======================================================
Session Interface Index : 3
Interface name : eth1 Session Index : 2
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Up
Local Discriminator : 2 Local Address : 10.1.1.1/32
Remote Discriminator : 3 Remote Address : 10.1.1.2/32
Local Port : 49153 Remote Port : 3784
Options :
Diagnostics : None
Timers in Milliseconds :
Min Tx: 250 Min Rx: 250 Multiplier: 3
Neg Tx: 250 Neg Rx: 2000 Neg detect mult: 3
Min echo Tx: 1000 Min echo Rx: 1000 Neg echo intrvl: 0
Storage type : 2
Sess down time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
Counters values:
Pkt In : 000000000000027b Pkt Out : 0000000000000278
Echo Out : 0000000000000000 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 1 UPTIME : 00:02:19
Protocol Client Info:
ISIS-> Client ID: 6 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
R2#sh bfd session detail
======================================================
Session Interface Index : 3
Interface name : eth1 Session Index : 3
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Up
Local Discriminator : 3 Local Address : 10.1.1.2/32
Remote Discriminator : 2 Remote Address : 10.1.1.1/32
Local Port : 49154 Remote Port : 3784
Options :
Diagnostics : None
Timers in Milliseconds :
Min Tx: 250 Min Rx: 250 Multiplier: 3
Neg Tx: 250 Neg Rx: 250 Neg detect mult: 3
Min echo Tx: 1000 Min echo Rx: 1000 Neg echo intrvl: 0
Storage type : 2
Sess down time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
Counters values:
Pkt In : 00000000000002db Pkt Out : 00000000000002dd
Echo Out : 0000000000000000 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 1 UPTIME : 00:02:42
Protocol Client Info:
ISIS-> Client ID: 6 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
Last modified date: 08/28/2023