Configuring BFD For OSPFv3
Prerequisites
OSPFv3 must be enabled.
ICMP must be disabled.
Procedure
Examples
This example shows how to enable BFD on an all OSPFv3 interfaces.
switch# config switch(config)# bfd switch(config)# router ospfv3 1 switch(config-ospfv3-1)# area 1 switch(config-ospfv3-1)# router-id 1.1.1.1 switch(config-ospfv3-1)# bfd all-interfaces switch(config-ospfv3-1)# exit switch(config) router ospfv3 2 switch(config-ospfv3-2)# area 2 switch(config-ospfv3-2)# router-id 1.1.1.2 switch(config-ospfv3-2)# bfd all-interfaces switch(config-ospfv3-2)# exit switch(config)# interface 1/1/1 switch(config-if)# no shutdown switch(config-if)# ipv6 address 100::1/64 switch(config-if)# ipv6 ospfv3 1 area 1 switch(config-if)# exit switch(config)# interface 1/1/2 switch(config-if)# no shutdown switch(config-if)# ipv6 address 100::2/64 switch(config-if)# ipv6 ospfv3 2 area 2 switch(config-if)# exit switch(config)# exit switch# show bfd Admin status: enabled Echo source IP: 100.100.100.1 Statistics: Total number of control packets transmitted: 20 Total number of control packets received: 17 Total number of control packets dropped: 0 Session Interface VRF Source IP Destination IP Echo State Application ------- --------- --------- --------------- --------------- -------- ------------ ------------ 1 tunnel1 default fe80::94f1:28a0:1ef:700 fe80::94f1:28a0:1ef:a100 enabled up ospfv3 2 tunnel1 default fe80::94e2:37b1:1ef:111 fe80::94e2:37b1:1ef:555 enabled up ospfv3
This example shows how to enable BFD on a specific OSPFv3 interface.
switch# config switch(config)# bfd switch(config)# router ospfv3 1 switch(config-ospfv3-1)# area 1 switch(config-ospfv3-1)# router-id 1.1.1.1 switch(config-ospfv3-1)# exit switch(config)# interface 1/1/1 switch(config-if)# no shutdown switch(config-if)# ipv6 address 100::1/64 switch(config-if)# ipv6 ospfv3 1 area 1 switch(config-if)# ipv6 ospfv3 bfd switch(config-if)# exit switch(config)# exit switch# show bfd interface 1/1/1 Admin status: enabled Echo source IP: 100.100.100.1 Statistics: Total number of control packets transmitted: 20 Total number of control packets received: 17 Total number of control packets dropped: 0 Session Interface VRF Source IP Destination IP Echo State Application ------- --------- --------- --------------- --------------- -------- ------------ ------------ 1 tunnel1 default fe80::94f1:28a0:1ef:700 fe80::94f1:28a0:1ef:a100 enabled up ospfv3