You are on page 1of 2

RC>enable

RC#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RC(config)#router ospf 1
RC(config-router)#network 192.168.1.3 0.0.0.255 area 0
RC(config-router)#area 0 authentication message-digest
RC(config-router)#exit
RC(config)#inter g0/0
RC(config-if)#ip ospf hello-interval 5
RC(config-if)#ip ospf dead-interval 20
RC(config-if)#ip ospf message-digest-key 1 md5 cisco
RC(config-if)#
00:39:04: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.2 on GigabitEthernet0/0 from
LOADING to FULL, Loading Done

00:39:05: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on GigabitEthernet0/0 from


LOADING to FULL, Loading Done

RC(config-if)#ip ospf authentication message-digest


RC(config-if)#ip ospf priority 100
RC(config-if)#exit
RC(config)#ip router ospf 1
^
% Invalid input detected at '^' marker.

RC(config)# router ospf 1


RC(config-router)#default-information originate
RC(config-router)#exit
RC(config)#inter g0/0
RC(config-if)#exit
RC(config)#passive int s0/0/0
^
% Invalid input detected at '^' marker.

RC(config)# router ospf 1


RC(config-router)#passive int s0/0/0
^
% Invalid input detected at '^' marker.

RC(config-router)#passive inter s0/0/0


^
% Invalid input detected at '^' marker.

RC(config-router)#ext
^
% Invalid input detected at '^' marker.

RC(config-router)#exit
RC(config)#inter g0/0
RC(config-if)#ip ospf priority 100
RC(config-if)#exit
RC(config)#inter g0/0
RC(config-if)#ip ospf priority 50
RC(config-if)#exit
RC(config)#router ospf 1
RC(config-router)#inteface s0/0/0
^
% Invalid input detected at '^' marker.
RC(config-router)#exit
RC(config)#router ospf 1
RC(config-router)#passive inteface s0/0/0
^
% Invalid input detected at '^' marker.

RC(config-router)#passive-inteface s0/0/0
^
% Invalid input detected at '^' marker.

RC(config-router)#exit
RC(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact
performance
RC(config)#router ospf 1
RC(config-router)#passive-interface default
RC(config-router)#
01:00:38: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.2 on GigabitEthernet0/0 from
FULL to DOWN, Neighbor Down: Interface down or detached

01:00:38: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on GigabitEthernet0/0 from


FULL to DOWN, Neighbor Down: Interface down or detached

RC(config-router)#no passive-interface g0/0


RC(config-router)#exit
RC(config)#
01:00:59: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.2 on GigabitEthernet0/0 from
LOADING to FULL, Loading Done

01:00:59: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on GigabitEthernet0/0 from


LOADING to FULL, Loading Done

RC(config)#

You might also like