[Xorp-users] Question about xorpsh
Adam Greenhalgh
adam@hiddennet.net
16 Jul 2003 16:55:22 +0100
Best to read a cvs tutorial, to understand cvs. but basically cvs
mirrors a copy of the source tree on your machine, cvs can then be used
to keep your source tree in sync with the main tree. cvs info is here
http://www.xorp.org/cvs.html
to run a rtrmgr
cd xorp/rtrmgr
./rtrmgr
this takes the default config.boot, which is for freebsd
if you want to write your own config.boot file , for example
config.linux
then you can run the rtrmgr (try rtrmgr --help for more info)
./rtrmgr -b config.linux
a sample config.linux would be
interfaces {
interface eth0 {
description: "control interface"
vif eth0 {
address 192.168.1.18 {
prefix-length: 25
broadcast: 192.168.1.18
}
}
}
}
Adam
On Wed, 2003-07-16 at 16:34, Liang Qin wrote:
> Hi Adam,
>
> Thanks!
>
> Could you tell me how to run the rtrmgr process?
>
> About the update in cvs, do we have to download every file that
> is different from version 0.3?
>
> Liang Qin
>
>
>
> Adam Greenhalgh wrote:
>
> >Hi
> >
> >Firstly you need to run the rtrmgr before xorpsh.
> >
> >Try getting the latest version from cvs , it fixes a lot of these type
> >of problems on linux.
> >
> >You also need to modify config.boot to specify the linux interfaces
> >rather than the freebsd ones.
> >
> >Adam
> >
> >On Wed, 2003-07-16 at 15:26, Liang Qin wrote:
> >
> >
> >>Hi XORP users,
> >>
> >>I just start to use XORP, and I installed v0.3 on Linux. I ran commands:
> >>./configure
> >>gmke
> >>
> >>according to readme file. After that I ran xorpsh, but the program freezed.
> >>here is the copy:
> >>---------------------
> >> > xorpsh
> >>Loading template file ../etc/templates/bgp.tp
> >>Loading template file ../etc/templates/fea.tp
> >>Loading template file ../etc/templates/ospf.tp
> >>Loading template file ../etc/templates/rib.tp
> >>Loading template file ../etc/templates/snmp.tp
> >>%find_executable: bgp/tools/xorpsh_print_peers
> >>found executable: /home/lqin/xorp-0.3/rtrmgr/../bgp/tools/xorpsh_print_peers
> >>find_executable: bgp/tools/xorpsh_print_routes
> >>found executable:
> >>/home/lqin/xorp-0.3/rtrmgr/../bgp/tools/xorpsh_print_routes
> >>find_executable: rtrmgr/tools/show_interfaces
> >>found executable: /home/lqin/xorp-0.3/rtrmgr/../rtrmgr/tools/show_interfaces
> >>find_executable: rtrmgr/tools/show_interfaces
> >>found executable: /home/lqin/xorp-0.3/rtrmgr/../rtrmgr/tools/show_interfaces
> >>
> >>Operational Command List:
> >> show bgp peers
> >> Command: /home/lqin/xorp-0.3/rtrmgr/../bgp/tools/xorpsh_print_peers
> >> Optional Parameter: detail
> >>
> >> show bgp routes
> >> Command: /home/lqin/xorp-0.3/rtrmgr/../bgp/tools/xorpsh_print_routes
> >> Optional Parameter: summary
> >> Optional Parameter: detail
> >>
> >> show interface $(interfaces.interface.*)
> >> Command: /home/lqin/xorp-0.3/rtrmgr/../rtrmgr/tools/show_interfaces
> >> Optional Parameter: brief
> >> Optional Parameter: detail
> >> Optional Parameter: extensive
> >>
> >> show vif $(interfaces.interface.*.vif.*)
> >> Command: /home/lqin/xorp-0.3/rtrmgr/../rtrmgr/tools/show_interfaces
> >> Optional Parameter: brief
> >> Optional Parameter: detail
> >> Optional Parameter: extensive
> >>----------------------------
> >>
> >>Do I need run other processes before xorpsh? any suggestion?
> >>
> >>Thanks!
> >>
> >>Liang Qin
> >>
> >>_______________________________________________
> >>Xorp-users mailing list
> >>Xorp-users@xorp.org
> >>http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> >>
> >>
> >
> >
> >
>
>