103
4. Enable BFD echo
packet mode for
OSPF FRR.
ospf primary-path-detect bfd echo
By default, BFD echo packet mode for
OSPF FRR is disabled.
Advertising OSPF link state information to BGP
After the device advertises OSPF link state information to BGP, BGP can advertise the information
for intended applications. For more information about BGP LS, see "Configuring BGP."
To advertise OSPF link state information to BGP:
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Advertise OSPF link state
information to BGP.
distribute bgp-ls
By default, the device
does not advertise OSPF
link state information to
BGP.
Displaying and maintaining OSPF
Execute display commands in any view and reset commands in user view.
Display OSPF process information.
display ospf
[ process-id ] [
verbose
]
Display OSPF GR information.
display ospf
[ process-id ]
graceful-restart
[
verbose
]
Display OSPF FRR backup next hop
information.
display ospf
[
process-id ]
[
area
area-id
]
fast-reroute
lfa-candidate
[
topology
topo-name ]
Display OSPF LSDB information.
display ospf
[ process-id ]
lsdb
[
brief
|
originate-router
advertising-router-id |
self-originate
]
display ospf
[ process-id ]
lsdb
{
opaque-as
|
ase
} [ link-state-id ]
[
originate-router
advertising-router-id |
self-originate
]
display ospf
[ process-id ] [
area
area-id ]
lsdb
{
asbr
|
network
|
nssa
|
opaque-area
|
opaque-link
|
router
|
summary
}
[ link-state-id ] [
originate-router
advertising-router-id |
self-originate
]
Display OSPF next hop information.
display ospf
[
process-id ]
nexthop
Display OSPF NSR information.
display ospf
[ process-id ]
non-stop-routing status
Display OSPF neighbor information.
display ospf
[ process-id ]
peer
[
verbose
] [
interface-type
interface-number ]
[ neighbor-id ]
Display neighbor statistics for OSPF
areas.
display ospf
[ process-id ]
peer
statistics
Display OSPF routing table
information.
display ospf
[ process-id ]
routing
[ ip-address { mask-length |
mask } ] [
interface
interface-type interface-number ] [
nexthop
nexthop-address ] [
verbose
]
Display SPF tree information.
display
ospf
[ process-id ] [
area
area-id ]
spf-tree
[
verbose
]