Page 1 of 2

Ospf

Posted: 28 Nov 2011 02:38
by ram
Hi,

Can anyone tell me How to add a network in ospf..?

Re: Ospf

Posted: 28 Nov 2011 05:16
by ram
This is urgent Please can anyone help me on this..

Re: Ospf

Posted: 28 Nov 2011 17:47
by silvio
Your question is very short - we need more infos. Is there OSPF working at the switches already? Have your switch in the wished network an ip interface?Please post the config.
regards Silvio

Re: Ospf

Posted: 30 Nov 2011 02:25
by ram
as of now i didnt enable ospf because yet to get design part from design team . just i want to know how to add a network in ospf area's because i'm from cisco background. i read the 6850 advance routing guide also unfortunately i cant get clear idea about ospf. For this i need your help bro.

Re: Ospf

Posted: 30 Nov 2011 04:18
by jpissot
Exemple configuation :

! OSPF :
ip load ospf
ip ospf area 0.0.0.0
ip ospf interface "Vlan_1"
ip ospf interface "Vlan_1" area 0.0.0.0
ip ospf interface "Vlan_1" status enable
ip ospf interface "Vlan_2"
ip ospf interface "Vlan_2" area 0.0.0.0
ip ospf interface "Vlan_2" status enable
ip ospf interface "Vlan_4"
ip ospf interface "Vlan_4" area 0.0.0.0
ip ospf interface "Vlan_4" status enable
ip ospf interface "Vlan_6"
ip ospf interface "Vlan_6" area 0.0.0.0
ip ospf interface "Vlan_6" status enable
ip ospf interface "Vlan_7"
ip ospf interface "Vlan_7" area 0.0.0.0
ip ospf interface "Vlan_7" status enable
ip ospf interface "Vlan_8"
ip ospf interface "Vlan_8" area 0.0.0.0
ip ospf interface "Vlan_8" status enable
ip ospf interface "Vlan_9"
ip ospf interface "Vlan_9" area 0.0.0.0
ip ospf interface "Vlan_9" status enable
ip ospf interface "Vlan_3"
ip ospf interface "Vlan_3" area 0.0.0.0
ip ospf interface "Vlan_3" status enable
ip ospf status enable
ip route-map "rt1" sequence-number 10 action permit
ip redist local into ospf route-map "rt1" status enable
ip redist static into ospf route-map "rt1" status enable

Re: Ospf

Posted: 18 Jan 2012 06:21
by ram
Hi jpissot ,

I have one doubt about this below command can you please explain this...?

ip ospf status enable --> i think this will enable the ospf routing protocol
ip route-map "rt1" sequence-number 10 action permit---> ???
ip redist local into ospf route-map "rt1" status enable---->???

Please tell me why we used that above command.

Regards,
Ram
ip redist static into ospf route-map "rt1" status enable

Re: Ospf

Posted: 24 Jan 2012 15:23
by silvio
Hi Ram,
OSPF does only distribute routes that are learned via OSPF (normaly from other ospf-routers). If you wish that local networks (ip interfaces) and also static-routes (both configured at that router) are also used as OSPF-routes and also where distributed to other ospf routers you need them to redistribute.

I prefere the following commands. I create a map wich included all ip-addresses (0.0.0.0/0). And than I use this map for redistribution of my local and static routes. With other entries than 0.0.0.0 (and also sequencing with permit/deny) its possible to build filters. So you can control which routes are redistributed and which not.

-> ip route-map map_1 sequence-number 10 action permit
-> ip route-map map_1 sequence-number 10 match ip-address 0.0.0.0/0
-> ip redist local into rip route-map map_1 status enable
-> ip redist static into rip route-map map_1 status enable

regards
Silvio

Re: Ospf

Posted: 25 Jan 2012 00:17
by ram
Hi Silvio,

Thanks a lot for this explanation

ip redist local into rip route-map map_1 status enable ---> This is command is used for redistribution local to rip protocol am i right...?

Regards,
Ram

Re: Ospf

Posted: 25 Jan 2012 18:35
by silvio
yes

Ospf

Posted: 06 Mar 2012 07:53
by ram
Hi Silvio ,

I have one doubt let me assume this scenario if i have lab, servers, workstation and i put 2 dist switches for each segment and running vrrp and all dist switches connected in core switches. im terminating my edge level vlans in distribution switches only . and then from dist to core switches im using ospf . for voice my pcx server vlan will be 456 that has terminated in Server distri switches. and in workstation and labs edge level switches will have different vlan for voice .my doubt his how i can reach my pcx server from workstation and lab users for ip phones using ospf.