[Xorp-users] Changing OSPF routes/costs/any part in the OSPF routing table
Ben Greear
greearb at candelatech.com
Thu Jan 26 11:28:29 PST 2012
On 01/25/2012 05:05 PM, Alexandru Blidaru wrote:
> Hey Ben,
>
> Thanks for the pointer! I took a look around the configuration mode, but i wasn't able to see something that i'd recognize as useful. Since I'm not too familiar
> with networks and stuff I did have quite a bit of stuff to look up, but I still couldn't really find anything that'd be of use. Do you know any more specific
> under what category i could find those options?
Here's an example that changes some things.
Each ' -c ' option starts a new command that you could also interactively type into
a xorpsh session.
xorpsh -c configure -c delete interfaces interface rddVR9 vif rddVR9 -c set interfaces interface rddVR9 vif rddVR9 address 12.1.1.3 prefix-length 24 -c delete
protocols ospf4 area 0.0.0.0 interface rddVR9 vif rddVR9 -c set protocols ospf4 area 0.0.0.0 interface rddVR9 vif rddVR9 address 12.1.1.3 interface-cost 1 -c
commit -c exit discard -c exit
Your commands would have to match your network and existing xorp configuration of course...
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Xorp-users
mailing list