Example: Configuring Bfd In An Ospf Network - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuration Examples for Bidirectional Forwarding Detection

Example: Configuring BFD in an OSPF Network

The following example shows how to configure BFD in an OSPF network.
In this example, the "simple" OSPF network consists of SwitchA and SwitchB. Gigabit Ethernet
interface 6/1 on SwitchA is connected to the same network as Gigabit Ethernet interface 6/1 in SwitchB.
The example, starting in global configuration mode, shows the configuration of BFD. For both SwitchA
and SwitchB, BFD is configured globally for all interfaces associated with the OSPF process.
Configuration for SwitchA
!
interface GigabitEthernet 6/1
no switchport
ip address 172.16.10.1 255.255.255.0
bfd interval 100 min_rx 100 multiplier 3
!
interface GigabitEthernet 6/2
no switchport
ip address 172.17.0.1 255.255.255.0
!
router ospf 123
log-adjacency-changes detail
network 172.16.0.0 0.0.0.255 area 0
network 172.17.0.0 0.0.0.255 area 0
bfd all-interfaces
Configuration for SwitchB
!
interface GigabitEthernet 6/1
no switchport
ip address 172.16.10.2 255.255.255.0
bfd interval 100 min_rx 100 multiplier 3
!
interface GigabitEthernet 6/2
no switchport
ip address 172.18.0.1 255.255.255.0
!
router ospf 123
log-adjacency-changes detail
network 172.16.0.0 0.0.255.255 area 0
network 172.18.0.0 0.0.255.255 area 0
bfd all-interfaces
The output from the show bfd neighbors details command verifies that a BFD session has been created
and that OSPF is registered for BFD support. The relevant command output is shown in bold.
SwitchA
SwitchA# show bfd neighbors details
OurAddr
172.16.10.1
Local Diag: 0, Demand mode: 0, Poll bit: 0
MinTxInt: 200000, MinRxInt: 200000, Multiplier: 5
Received MinRxInt: 1000, Received Multiplier: 3
Holdown (hits): 600(22), Hello (hits): 200(84453)
Rx Count: 49824, Rx Interval (ms) min/max/avg: 208/440/332 last: 68 ms ago
Tx Count: 84488, Tx Interval (ms) min/max/avg: 152/248/196 last: 192 ms ago
Registered protocols: OSPF
Uptime: 02:18:49
Last packet: Version: 0
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
40-22
NeighAddr
LD/RD RH
172.16.10.2
1/2
1
- Diagnostic: 0
Chapter 40
Configuring Bidirection Forwarding Detection
Holdown(mult)
State
532
(3 )
Up
Int
Gi6/1

Advertisement

Table of Contents
loading

Table of Contents