Sunteți pe pagina 1din 6

Serial 0 - Working Normally - OSPF over NBMA R1#show ip interface serial 0.2 Serial0.

2 is up, line protocol is up Internet address is 10.255.2.1/30 Broadcast address is 255.255.255.255 Address determined by non-volatile memory MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is enabled Multicast reserved groups joined: 224.0.0.5 224.0.0.6 Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP fast switching on the same interface is enabled IP multicast fast switching is enabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled Probe proxy name replies are disabled Gateway Discovery is disabled Policy routing is disabled Network address translation is disabled R1#show ip ospf interface serial 0 Serial0 is up, line protocol is up OSPF not enabled on this interface R1#show ip ospf interface serial 0.2 Serial0.2 is up, line protocol is up Internet Address 10.255.2.1/30, Area 0 Process ID 1, Router ID 172.16.1.5, Network Type NON_BROADCAST, Cost: 64 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 172.16.1.5, Interface address 10.255.2.1 No backup designated router on this network Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5 Hello due in 00:00:05 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 172.20.0.1 Suppress hello for 0 neighbor(s) R2#show ip ospf neighbor Neighbor ID 172.16.1.5 Pri 1 State FULL/DR Dead Time 00:01:38 Address 10.255.2.1 Interface Serial1/0

R2#show ip ospf neighbor detail Neighbor 172.16.1.5, interface address 10.255.2.1 In the area 0 via interface Serial1/0 Neighbor priority is 1, State is FULL, 6 state changes DR is 10.255.2.1 BDR is 0.0.0.0 Poll interval 120 Options is 0x2

Dead timer due in 00:01:33 Neighbor is up for 00:03:26 Index 1/1, retransmission queue length 0, number of retransmission 2 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msec R1#debug ip ospf adj OSPF adjacency events debugging is on R1#debug ip ospf events OSPF adjacency events debugging is on Manually shutdown serial interface: Issue:exitInterface serial 0 is shutdown %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0.2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0.3, changed state to down OSPF: Interface Serial0.2 going Down OSPF: 172.16.1.5 address 10.255.2.1 on Serial0.2 is dead, state DOWN OSPF: i_error : Bad interface state change OSPF: Build router LSA for area 0, router ID 172.16.1.5 OSPF: 0.0.0.0 address 10.255.2.2 on Serial0.2 is dead, state DOWN OSPF: i_error : Bad interface state change OSPF: Build router LSA for area 0, router ID 172.16.1.5 OSPF: Build router LSA for area 0, router ID 172.16.1.5 OSPF: Interface Serial0.3 going Down OSPF: 172.16.1.5 address 10.255.3.1 on Serial0.3 is dead, state DOWN OSPF: i_error : Bad interface state change OSPF: Build router LSA for area 0, router ID 172.16.1.5 OSPF: 0.0.0.0 address 10.255.3.2 on Serial0.3 is dead, state DOWN OSPF: i_error : Bad interface state change OSPF: Build router LSA for area 0, router ID 172.16.1.5 OSPF: Build router LSA for area 0, router ID 172.16.1.5 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down %LINK-5-CHANGED: Interface Serial0, changed state to administratively down %FR-5-DLCICHANGE: Interface Serial0 - DLCI 122 state changed to DELETED %FR-5-DLCICHANGE: Interface Serial0 - DLCI 123 state changed to DELETED 3d08h: OSPF: Flushing External Links 3d08h: OSPF: Flushing Opaque AS Links 3d08h: OSPF: Flushing Link states in area 0 3d08h: OSPF: Interface Loopback0 going Down 3d08h: OSPF: Interface Serial1/0 going Down 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 172.16.1.5 3d08h: DR: 172.16.1.5 (Id) BDR: none 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from FULL to DOWN, Neighbor Down: Interface down or detached 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 0.0.0.0 3d08h: DR: none BDR: none 3d08h: OSPF: Remember old DR 172.16.1.5 (id) Manually turn it back on

3d08h: OSPF: Interface Loopback0 going Up 3d08h: OSPF: Interface Serial1/0 going Up 3d08h: OSPF: Rcv hello from 172.16.1.5 area 0 from Serial1/0 10.255.2.1 3d08h: OSPF: 2 Way Communication to 172.16.1.5 on Serial1/0, state 2WAY 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 172.16.1.5 3d08h: DR: 172.16.1.5 (Id) BDR: none 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x1B4 opt 0x42 flag 0x7 len 32 3d08h: OSPF: End of hello processing 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x65A opt 0x2 flag 0x7 len 32 mtu 0 state EXSTART 3d08h: OSPF: First DBD and we are not SLAVE 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x1B4 opt 0x42 flag 0x7 len 32 3d08h: OSPF: Retransmitting DBD to 172.16.1.5 on Serial1/0 [1] 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x65A opt 0x2 flag 0x7 len 32 mtu 0 state EXSTART 3d08h: OSPF: First DBD and we are not SLAVE 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x1B4 opt 0x2 flag 0x2 len 112 mtu 0 state EXSTART 3d08h: OSPF: NBR Negotiation Done. We are the MASTER 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x1B5 opt 0x42 flag 0x3 len 52 3d08h: OSPF: Database request to 172.16.1.5 3d08h: OSPF: sent LS REQ packet to 10.255.2.1, length 48 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x1B5 opt 0x2 flag 0x0 len 32 mtu 0 state EXCHANGE 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x1B6 opt 0x42 flag 0x1 len 32 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x1B6 opt 0x2 flag 0x0 len 32 mtu 0 state EXCHANGE 3d08h: OSPF: Exchange Done with 172.16.1.5 on Serial1/0 3d08h: OSPF: Synchronized with 172.16.1.5 on Serial1/0, state FULL 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from LOADING to FU LL, Loading Done 3d08h: OSPF: Rcv hello from 172.16.1.5 area 0 from Serial1/0 10.255.2.1 3d08h: OSPF: End of hello processing 3d08h: OSPF: Rcv hello from 172.16.1.5 area 0 from Serial1/0 10.255.2.1 3d08h: OSPF: End of hello processing Now what if we change the network type? R2(config-if)#ip ospf network point-to-point R2(config-if)# 3d08h: OSPF: Interface Serial1/0 going Down 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 172.16.1.5 3d08h: DR: 172.16.1.5 (Id) BDR: none 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from FULL to DOWN, Neighbor Down: Interface down or detached 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 0.0.0.0

3d08h: 3d08h: 3d08h: 3d08h: 3d08h: 3d08h: 3d08h: 3d08h: 3d08h:

OSPF: OSPF: OSPF: OSPF: OSPF: OSPF: OSPF: OSPF:

DR: none BDR: none Remember old DR 172.16.1.5 (id) Interface Serial1/0 going Up Rcv hello from 172.16.1.5 area 0 Mismatched hello parameters from Dead R 120 C 40, Hello R 30 C 10 Rcv hello from 172.16.1.5 area 0 Mismatched hello parameters from Dead R 120 C 40, Hello R 30 C 10

from Serial1/0 10.255.2.1 10.255.2.1 from Serial1/0 10.255.2.1 10.255.2.1

Let's change it back so that the parameters match again R2(config-if)#ip ospf network non-broadcast R2(config-if)# 3d08h: OSPF: Interface Serial1/0 going Down 3d08h: OSPF: Interface Serial1/0 going Up 3d08h: OSPF: Rcv hello from 172.16.1.5 area 0 from Serial1/0 10.255.2.1 3d08h: OSPF: End of hello processing 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x12C1 opt 0x2 flag 0x7 n 32 mtu 0 state INIT 3d08h: OSPF: 2 Way Communication to 172.16.1.5 on Serial1/0, state 2WAY 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 172.16.1.5 3d08h: DR: 172.16.1.5 (Id) BDR: none 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x2098 opt 0x42 flag 0x7 n 32 3d08h: OSPF: First DBD and we are not SLAVE 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x2098 opt 0x2 flag 0x2 n 112 mtu 0 state EXSTART 3d08h: OSPF: NBR Negotiation Done. We are the MASTER 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x2099 opt 0x42 flag 0x3 n 132 3d08h: OSPF: Database request to 172.16.1.5 3d08h: OSPF: sent LS REQ packet to 10.255.2.1, length 12 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x2099 opt 0x2 flag 0x0 n 32 mtu 0 state EXCHANGE 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x209A opt 0x42 flag 0x1 n 32 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x209A opt 0x2 flag 0x0 n 32 mtu 0 state EXCHANGE 3d08h: OSPF: Exchange Done with 172.16.1.5 on Serial1/0 3d08h: OSPF: Synchronized with 172.16.1.5 on Serial1/0, state FULL 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from LOADING to LL, Loading Done Enable MD5 AUTHENTICATION ON R2 ONLY IP OSPF AUTHENTICATION MESSAGE-DIGEST IP OSPF MESSAGE-DIGEST-KEY 1 MD5 cisco R2#debug ip ospf packet OSPF packet debugging is on R2# 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication type. Input packet specified type 0, we use type 2 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication type.

le

le le le

le le le

FU

Input packet specified type 0, we use type 2 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: 172.16.1.5 address 10.255.2.1 on Serial1/0 is dead 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from FULL to DOWN, Neighbor Down: Dead timer expired 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 0.0.0.0 3d08h: DR: none BDR: none 3d08h: OSPF: Remember old DR 172.16.1.5 (id) 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication type. Input packet specified type 0, we use type 2 3d08h: OSPF: Send with youngest Key 1 Now, correct authentication type ONLY configured on R1 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication Key No message digest key 0 on interface 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication Key No message digest key 0 on interface 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Rcv pkt from 10.255.2.1, Serial1/0 : Mismatch Authentication Key No message digest key 0 on interface Now Correct key/password configured on interface 3d08h: OSPF: rcv. v:2 t:1 l:44 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0x6 from Serial1/0 3d08h: OSPF: Rcv hello from 172.16.1.5 area 0 from Serial1/0 10.255.2.1 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: End of hello processing 3d08h: OSPF: rcv. v:2 t:2 l:32 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0x7 from Serial1/0 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x23DC opt 0x2 flag 0x7 le n 32 mtu 0 state INIT 3d08h: OSPF: 2 Way Communication to 172.16.1.5 on Serial1/0, state 2WAY 3d08h: OSPF: Neighbor change Event on interface Serial1/0 3d08h: OSPF: DR/BDR election on Serial1/0 3d08h: OSPF: Elect BDR 0.0.0.0 3d08h: OSPF: Elect DR 172.16.1.5 3d08h: DR: 172.16.1.5 (Id) BDR: none 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x513 opt 0x42 flag 0x7 len 32 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: First DBD and we are not SLAVE 3d08h: OSPF: rcv. v:2 t:2 l:112 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0x8 from Serial1/0 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x513 opt 0x2 flag 0x2 len 112 mtu 0 state EXSTART 3d08h: OSPF: NBR Negotiation Done. We are the MASTER 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x514 opt 0x42 flag 0x3 len 132 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: Database request to 172.16.1.5 3d08h: OSPF: sent LS REQ packet to 10.255.2.1, length 12 3d08h: OSPF: rcv. v:2 t:2 l:32 rid:172.16.1.5

aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0x9 from Serial1/0 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x514 opt 0x2 flag 0x0 len 32 mtu 0 state EXCHANGE 3d08h: OSPF: Send DBD to 172.16.1.5 on Serial1/0 seq 0x515 opt 0x42 flag 0x1 len 32 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: rcv. v:2 t:3 l:48 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0xA from Serial1/0 3d08h: OSPF: Send with youngest Key 1 3d08h: OSPF: rcv. v:2 t:4 l:88 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0xB from Serial1/0 3d08h: OSPF: rcv. v:2 t:2 l:32 rid:172.16.1.5 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0xC from Serial1/0 3d08h: OSPF: Rcv DBD from 172.16.1.5 on Serial1/0 seq 0x515 opt 0x2 flag 0x0 len 32 mtu 0 state EXCHANGE 3d08h: OSPF: Exchange Done with 172.16.1.5 on Serial1/0 3d08h: OSPF: Synchronized with 172.16.1.5 on Serial1/0, state FULL 3d08h: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.5 on Serial1/0 from LOADING to FU LL, Loading Done Authentication types Type 0 = none Type 1 - plain text? Type 2 = MD5

S-ar putea să vă placă și