06-27-2019 09:32 AM
Good afternoon,
We've got a Nexus 3k switch running OSPF. In the OSPF config section we've got a bunch of network x.x.x.x/yy statements, which we can't delete. We also can't add any new entries, however we can configure the interfaces for OSPF process. Can anyone suggest a way to add/delete network statements.
Nexus code version is
Software
BIOS: version 3.5.0
NXOS: version 7.0(3)I2(2b)
BIOS compile time: 01/25/2016
NXOS image file is: bootflash:///nxos.7.0.3.I2.2b.bin
Cheers,
Sergey.
06-27-2019 09:52 AM
- Can you provide examples ?
M.
06-28-2019 01:22 AM
marce1000,
Sure,
version 7.0(3)I2(2b)
feature ospf
router ospf 1
router-id 192.168.10.253
network 10.10.9.33/32 area 0.0.0.1
network 10.10.9.34/32 area 0.0.0.1
network 10.10.9.49/32 area 0.0.0.1
network 172.20.10.252/32 area 0.0.0.1
network 172.31.10.252/32 area 0.0.0.1
network 192.168.10.252/32 area 0.0.0.1
network 192.168.255.2/32 area 0.0.0.1
network 192.168.255.6/32 area 0.0.0.1
default-information originate
redistribute static route-map rm.static-to-ospf
log-adjacency-changes
XXX-3172T-02# conf t
Enter configuration commands, one per line. End with CNTL/Z.
XXX-3172T-02(config)# router ospf 1
XXX-3172T-02(config-router)# no net?
^
% Invalid command at '^' marker.
XXX-3172T-02(config-router)# no net?
^
% Invalid command at '^' marker.
XXX-3172T-02(config-router)# no net
06-28-2019 02:45 AM
OK guys,
It looks like a bug in NXOS. The network command is not shown in the list of available commands, but it is accepted when fully typed in. Strange thing. I have labbed it up in GNS3 and got the desired result.
Thanks to everyone looking at this issue.
06-27-2019 09:53 AM
Can you post the output while removing from router ospf process no network x.x.x.x/yy
06-27-2019 10:22 AM
Hello,
check if you have OSPFv3 enabled (which doesn't use network statements under the OSPF process).
Try and enable OSPFv2:
N3K#conf t
N3K(config)#feature ospf
and check if you can remove the network statements...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide