Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-36
By default, the routing information of other protocols is not redistributed.
Example
# Specify an redistributed RIP route as the route of type 2, with the route tag as 33 and
the route cost as 50.
[3Com -ospf-1] import-route rip type 2 tag 33 cost 50
# Specify OSPF process 100 to redistribute the route found by OSPF 160.
[3Com -ospf-100] import-route ospf 160
3.1.30 log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
OSPF view
Parameter
None
Description
Use the log-peer-change command to turn on the OSPF adjacency changes output
switch for the current OSPF process.
Use the undo log-peer-change command to turn off the OSPF adjacency changes
output switch.
By default, OSPF adjacency changes output switch is turned off.
After the OSPF adjacency changes output switch is turned on, OSPF adjacency
changes for the current OSPF process will be output to the configuration terminal until
the switch is turned off.
Example
# Turn on the adjacency changes output switch for OSPF process 1.
[3Com -ospf-1] log-peer-change
%Apr 12 17:15:08:870 2005 UA02 PHY/2/PHY: Serial4/0/0: change status to down
%Apr 12 17:15:08:970 2005 UA02 IFNET/5/UPDOWN:Line protocol on the interface
Serial4/0/0 is DOWN
%Apr 12 17:15:09:090 2005 UA02 IFNET/5/UPDOWN:PPP IPCP protocol on the
interface Serial4/0/0 is DOWN