The configuration can be slightly different depending on what firmware and switch you have. The above commands are for the latest firmware. Also something to consider is whether you have spanning tree set up correctly. Use the show spanning-tree active command to verify that the links are in a forwarding state. Ports in any other state will not forward traffic, including routing protocols.
DELL-Willy M
802 Posts
0
June 11th, 2012 10:00
Have you run all these commands?
Configure Single Area OSPF Globally
console(config)#ip routing
console(config)#router ospf
console(config-router)#router-id 172.16.102.1
console(config-router)#enable
Configuring OSPF on VLANs – Latest Firmware
console(config)#interface vlan 201
console(config-if-vlan201)#ip address 172.16.201.2 /24
console(config-if-vlan201)#routing
console(config-if-vlan201)#ip ospf area 0
console(config-if-vlan201)#exit
console(config)#interface vlan 202
console(config-if-vlan202)#ip address 172.16.202.1 /24
console(config-if-vlan202)#routing
console(config-if-vlan202)#ip ospf area 0
console(config-if-vlan202)#end
The configuration can be slightly different depending on what firmware and switch you have. The above commands are for the latest firmware. Also something to consider is whether you have spanning tree set up correctly. Use the show spanning-tree active command to verify that the links are in a forwarding state. Ports in any other state will not forward traffic, including routing protocols.
Hope this helps,
Keep us updated if you can,
mustafizul
5 Posts
0
June 11th, 2012 23:00
Thanks buddy, its worked
I am using dell power connect 7024
My fault was I run "router ospf" command and create router-id. But did not enable it.
console(config-router)#enable
Any way thanks for helping.