[c-nsp] OSPF question

Paul Wells paul at lituya.com
Sat Jul 27 14:51:16 EDT 2013


Hi Robert,

Everything Darren says is correct. However, in your example below you 
also removed:

  ipv6 ospf 12345 area 0

You will still need to enable OSPFv3 (ipv6 ospf) under the interface in 
12.2(33)SXJ. OSPFv3 doesn't have a "network" command.

For a more comprehensive list of which releases support the OSPFv2 
interface enable command you can use feature navigator. Search for the 
following feature names:

Area Command in Interface Mode for OSPFv2
Enabling OSPFv2 on an Interface Using the ip ospf area Command

Note: both names refer to the same feature, though in different trains. 
The command is available on the cat6k starting with 15.0(SY).

Regards,
Paul

On 07/27/2013 10:52 AM, Darren O'Connor wrote:
> Yes.
>
> In your first config you are enabling ospf under the interface, under the process, and you're also redistributing that same interface subnet under ospf by using redistribute connected. You don't need both the interface config and the process config. It doesn't break anything using both, but it makes it difficult for others to troubleshoot later. If you did use both, the most specific will 'win'
>
> And yes, while your release is 'new', the train itself is old. Check here: http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_ospf/command/ospf-a1.html#wp1148191700
>
> It shows which releases have this command enabled and when. The SX train is not on that list
>
> Thanks
>
> Darren
>
> http://www.mellowd.co.uk/
>
> On 27 Jul 2013, at 16:41, "Robert" <gal.9430 at googlemail.com> wrote:
>
>> Hi,
>>
>> older release? Just take a look, 12.2(33) was compiled in April 2012.
>> Until now I've had no problems to enable OSPF on the interface _and_ in
>> router ospf section of the config. (12.4 and 12.5 train for VXR chassis)
>>
>>
>> Do you mean this config is enough:
>>
>> !
>> router ospf 12345
>> router-id 192.168.100.232
>> redistribute connected subnets
>> redistribute static
>> passive-interface default
>> no passive-interface Vlan50
>> network 192.168.100.0 0.0.15.255 area 0
>> !
>> ipv6 router ospf 12345
>> router-id 192.168.100.232
>> log-adjacency-changes
>> passive-interface default
>> no passive-interface Vlan50
>> redistribute connected
>> !
>> ...
>> ...
>> !
>> interface Vlan50
>> ip address 192.168.100.197 255.255.255.252
>> no ip redirects
>> no ip proxy-arp
>> ipv6 address x:x:x:x::y/126
>> ipv6 nd ra suppress
>> !
>>
>> Without enabling OSPF on interface side?
>>
>>
>>
>> Thanks,
>>
>> Robert
>>
>>
>>
>>
>> On 27.07.2013 17:25, Darren O'Connor wrote:
>>> The interface-level ospf command was not available in older releases.
>>>
>>> A bit odd to enable OSPf on an interface under both router ospf and the interface itself. I would stick to just one or the other
>>>
>>>> Date: Sat, 27 Jul 2013 15:43:52 +0200
>>>> From: gal.9430 at googlemail.com
>>>> To: cisco-nsp at puck.nether.net
>>>> Subject: [c-nsp] OSPF question
>>>>
>>>> Hi,
>>>>
>>>> I'm a little bit confused while configuring a CAT6509 switch with OSPF.
>>>> So far, I used on the c7206-VXR platform the following config:
>>>>
>>>> !
>>>> router ospf 12345
>>>> router-id 192.168.100.232
>>>> redistribute connected subnets
>>>> redistribute static
>>>> passive-interface default
>>>> no passive-interface GigabitEthernet0/1.50
>>>> network 192.168.100.0 0.0.15.255 area 0
>>>> !
>>>> ...
>>>> ...
>>>> !
>>>> interface GigabitEthernet0/1.50
>>>> encapsulation dot1Q 556
>>>> ip address 192.168.100.197 255.255.255.252
>>>> no ip redirects
>>>> no ip proxy-arp
>>>> ip ospf 12345 area 0
>>>> ipv6 address 2001:5DD:50::1/126
>>>> ipv6 nd ra suppress
>>>> ipv6 ospf 12345 area 0
>>>> !
>>>>
>>>> Now, with IOS "s72033-advipservicesk9_wan-mz.122-33.SXJ3" the statement
>>>> "ip ospf <process-ID> area 0" is missing.
>>>>
>>>> !
>>>> interface GigabitEthernet4/21
>>>> switchport
>>>> switchport trunk encapsulation dot1q
>>>> switchport mode trunk
>>>> switchport trunk allowed vlan 50
>>>> no cdp enable
>>>> !
>>>> ...
>>>> ...
>>>> !
>>>> interface Vlan50
>>>> ip address 192.168.100.197 255.255.255.252
>>>> no ip redirects
>>>> no ip proxy-arp
>>>> ipv6 address x:x:x:x::y/126
>>>> ipv6 nd ra suppress
>>>> ipv6 ospf 12345 area 0
>>>> !
>>>>
>>>> The "ip ospf area 0" command is unrecognized :-( Any ideas?
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Robert
>>>> _______________________________________________
>>>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>>>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>>>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>>
>>> _______________________________________________
>>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list