Hi,
Can anyone tell me How to add a network in ospf..?
Ospf
-
ram
Re: Ospf
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.
-
jpissot
Re: Ospf
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
! 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
-
ram
Re: Ospf
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
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
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
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
-
ram
Ospf
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.
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.

