492
The
import-route bgp4+
command redistributes only EBGP routes. The
import-route bgp4+ allow-ibgp
command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with
caution.
The
import-route nssa-only
command redistributes AS-external routes in Type-7 LSAs only into the NSSA
area.
Examples
# Configure OSPFv3 process 1 to redistribute routes from RIPng and specify the type as type 2 and cost
as 50.
<Sysname> system-view
[Sysname] ospfv3
[Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50
# Configure OSPFv3 process 100 to redistribute the routes discovered by OSPFv3 process 160.
<Sysname> system-view
[Sysname] ospfv3 100
[Sysname-ospfv3-100] import-route ospfv3 160
Related commands
default-route-advertise
(OSPFv3 view)
log-peer-change
Use
log-peer-change
to enable the logging of neighbor state changes.
Use
undo log-peer-change
to disable the logging of neighbor state changes.
Syntax
log-peer-change
undo log-peer-change
Default
The logging of neighbor state changes is enabled.
Views
OSPFv3 view
Predefined user roles
network-admin
Usage guidelines
This feature enables the device to deliver logs about neighbor state changes to its information center. The
information center processes logs according to user-defined output rules (whether and where to output
logs). For more information about the information center, see
Network Management and Monitoring
Configuration Guide
.
Examples
# Disable the logging of neighbor state changes for OSPFv3 process 100.
<Sysname> system-view
[Sysname] ospfv3 100
[Sysname-ospfv3-100] undo log-peer-change