Re: HELPPPPPPPP ! ospf strange behaviour

From: Dillon Yang (gzdillon@hotmail.com)
Date: Tue Feb 22 2005 - 04:45:21 GMT-3


The command "neighbor priority" just indicates the neighbor's priority, not sets it.

[example]

Current configuration : 1467 bytes
!
hostname r1
router ospf 3
 log-adjacency-changes
 network 3.3.123.1 0.0.0.0 area 0
 neighbor 3.3.123.2 priority 1
 neighbor 3.3.123.3 priority 1
!
hostname r2
interface Serial1/1
 ip address 3.3.123.2 255.255.255.0
 encapsulation frame-relay
 ip ospf hello-interval 10
 ip ospf priority 1
 frame-relay map ip 3.3.123.1 201 broadcast
 frame-relay map ip 3.3.123.3 201 broadcast
 no frame-relay inverse-arp

[change]

! if you execute this:
r1(config-router)#neighbor 3.3.123.2 priority 0
r1(config-router)#
! you will get this
*Mar 1 04:04:57: OSPF: NBR state transition error: 7

[result]

Current configuration : 1467 bytes
!
hostname r1
router ospf 3
 log-adjacency-changes
 network 3.3.123.1 0.0.0.0 area 0
 neighbor 3.3.123.2 priority 1
 neighbor 3.3.123.3 priority 1
!

YOU SEE! The config has no change!

HTH

dillon

----- Original Message -----
From: "Ahmed Hassan" <ahmed_hassan@rayatelecom.net>
To: <ccielab@groupstudy.com>
Sent: Monday, February 21, 2005 10:15 PM
Subject: HELPPPPPPPP ! ospf strange behaviour

> Dear all
> I need your help in ospf very strange behaviour
>
> I have A hub and spoke topology over frame-relay
> it's required that I'll not change the ospf network type.
> But on the spoke router, each time I try to but the command
> Ip ospf priority 0 under the serial interface. I find that the command
> neifgpor x.x.x.x disappears under the ospf process do I miss any thing
> please help
>
> The following is my configuration before and after the command
> Note my ver is c1700-sv8y7-mz.123-1a.bin, I also tested the same config
> on ver 12.2(15)T but the same
>
>
>
> Router#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> Router(config)#in
> Router(config)#interface ser 0/0
> Router(config-if)#ip os
> Router(config-if)#ip ospf p
> Router(config-if)#ip ospf priority 1
> Router(config-if)#
> Router(config-if)#^Z
> Router#
> Router#sh run
> Router#sh running-config
> Building configuration...
>
> Current configuration : 1201 bytes
> !
> interface Loopback22
> ip address 22.22.22.22 255.255.255.0
> !
> interface Serial0/0
> ip address 5.5.5.5 255.255.255.0
> encapsulation frame-relay
> ip ospf network non-broadcast
> no fair-queue
> !
> interface Serial0/1
> ip address 6.6.6.6 255.255.255.0
> encapsulation frame-relay
> !
> router ospf 1
> log-adjacency-changes
> network 5.5.5.5 0.0.0.0 area 0
> network 6.6.6.6 0.0.0.0 area 1
> neighbor 5.5.5.4 priority 1
> neighbor 6.6.6.5
> !
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Router#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> Router(config)#in
> Router(config)#interface ser 0/0
> Router(config-if)#ip ospf priority 0
> Router(config-if)#^Z
> Router#sh run
> interface Loopback22
> ip address 22.22.22.22 255.255.255.0
> !
> interface FastEthernet0/0
> no ip address
> shutdown
> speed auto
> !
> interface Serial0/0
> ip address 5.5.5.5 255.255.255.0
> encapsulation frame-relay
> ip ospf network non-broadcast
> ip ospf priority 0
> no fair-queue
> !
> interface Serial0/1
> ip address 6.6.6.6 255.255.255.0
> encapsulation frame-relay
> !
> interface Serial1/0
> no ip address
> shutdown
> !
> router ospf 1
> log-adjacency-changes
> network 5.5.5.5 0.0.0.0 area 0
> network 6.6.6.6 0.0.0.0 area 1
> neighbor 6.6.6.5
> !
> ip classless
> no ip http server
> !
> ------------------------------------------------------------------------
> ---
>
> Router#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> Router(config)#in
> Router(config)#interface ser 0/0
> Router(config-if)#ip ospf priority 1
> Router(config-if)#^Z
> Router#sh run
> Router#sh running-config
> !
> !
> interface Loopback22
> ip address 22.22.22.22 255.255.255.0
> !
> interface Serial0/0
> ip address 5.5.5.5 255.255.255.0
> encapsulation frame-relay
> ip ospf network non-broadcast
> no fair-queue
> !
> interface Serial0/1
> ip address 6.6.6.6 255.255.255.0
> encapsulation frame-relay
> !
> interface Serial1/0
> no ip address
> shutdown
> !
> router ospf 1
> log-adjacency-changes
> network 5.5.5.5 0.0.0.0 area 0
> network 6.6.6.6 0.0.0.0 area 1
> neighbor 5.5.5.4 priority 1
> neighbor 6.6.6.5
> !
> ip classless
> no ip http server
> !
> !
> !
> !
> voice-port 2/0
>
> Router#
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:24 GMT-3