4-41
z
The
import-route
command cannot redistribute default routes.
z
Use the
import-route bgp allow-ibgp
command with care, because it redistributes both EBGP
and IBGP routes that may cause routing loops.
z
Only active routes can be redistributed. You can use the
display ip routing-table
protocol
command to display route state information.
Examples
# Redistribute routes from RIP process 40 and specify the type, tag, and cost as 2, 33 and 50 for
redistributed routes.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] import-route rip 40 type 2 tag 33 cost 50
log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
OSPF view
Default Level
2: System level
Parameters
None
Description
Use the
log-peer-change
command to enable the logging of OSPF neighbor state changes.
Use the
undo log-peer-change
command to disable the logging.
The logging is enabled by default.
With this feature enabled, information about neighbor state changes is displayed on the terminal until
the feature is disabled.
Examples
# Disable the logging of neighbor state changes for OSPF process 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] undo log-peer-change