Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-35
Use the
undo import-route
command to cancel the importing of external routes.
Note:
You are recommended to configure the route type, cost and tag together in one
command. When you configure them individually, the new configuration for an attribute
will overwrite the old configuration for the attribute.
By default, the routing information of other protocols is not imported.
Example
# Configure to import RIP routes as type-2 routes, with the route tag of 33 and the route
cost of 50.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] import-route rip type 2 tag 33 cost 50
3.1.29 log-peer-change
Syntax
log-peer-change
View
OSPF view
Parameter
None
Description
Use the
log-peer-change
command to enable OSPF to log OSPF peer status
changes.
Example
# Enable OSPF to log peer status changes.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] log-peer-change