Professional Documents
Culture Documents
Config OSPFv2
Config OSPFv2
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
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
RC(config)#