[Xorp-hackers] AW: [Xorp-users] Does xorp latest CVS have some problem with the export command?
Patrick Preuss
deathdealer@gmx.net
Thu, 3 Nov 2005 19:37:23 +0100
Hi,
I have seen some smaller and bigger rewrites in the way xorp will or would
be configured, is it possible for the next release to add a way rtrmgr do
Not die when the configuration is "wrong" and to show this to the user only
for the startup config?
May be add a functionality to rewrite old config into new one. And to
provide help in the configure mode so the user would notify, that this way
is obsolete, maybe for the next releases until Version 2.0?
It would make the system more user friendly. And we can build this into
The workflow for all changes how the System is configured.
;-)
Regards
Patrick
-----Ursprüngliche Nachricht-----
Von: xorp-users-admin@xorp.org [mailto:xorp-users-admin@xorp.org] Im Auftrag
von Atanu Ghosh
Gesendet: Donnerstag, 3. November 2005 17:21
An: riccardo.sciaccaluga@tin.it
Cc: xorp-users@xorp.org
Betreff: Re: [Xorp-users] Does xorp latest CVS have some problem with the
export command?
Hi,
Previously RIP was using its one mechanism to import and export routes,
it now uses the unified policy framework.
It is now necessary to define a policy statement to capture what you
want to export.
To export the static routes:
----------------------------------------
First a policy statment:
policy {
policy-statement export_static {
term static {
from {
protocol: "static"
}
}
}
Also:
protocols {
rip {
export: "export_static"
...
----------------------------------------
To export the connected routes:
----------------------------------------
First a policy statment:
policy {
policy-statement export_connected {
term rib {
from {
protocol: "rib"
}
}
}
Also:
protocols {
rip {
export: "export_connected,export_static"
...
----------------------------------------
Atanu.
>>>>> "riccardo" == riccardo <riccardo.sciaccaluga@tin.it> writes:
riccardo> I upgraded my current xorp version at the latest CVS file
riccardo> and i tried to configure xorp with the same config.boot
riccardo> file i used with xorp.1-1. It was a file configuring a
riccardo> totally rip working network but the lateste CVS look like
riccardo> if it didn't accept the export command giving to me the
riccardo> following error message and killing the booting of xorp:
riccardo> [ 2005/11/04 00:46:13 INFO xorp_rtrmgr:1195 RTRMGR +240
riccardo> master_conf_tree.cc execute ] Changed modules: interfaces,
riccardo> fea, rib, policy, rip [ 2005/11/04 00:46: 13 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +484 module_manager.cc run ]
riccardo> Running module: interfaces
riccardo> (/root/Andrea/xorp/fea/xorp_fea) [ 2005/11/04 00:46: 13
riccardo> INFO xorp_fea MFEA ] MFEA enabled [ 2005/11/04 00:46:13
riccardo> INFO xorp_fea MFEA ] CLI enabled [ 2005/11/04 00:46:13
riccardo> INFO xorp_fea MFEA ] CLI started [ 2005/11/04 00:46:15
riccardo> INFO xorp_rtrmgr:1195 RTRMGR +484 module_manager.cc run ]
riccardo> Running module: fea (/root/Andrea/xorp/fea/xorp_fea) [
riccardo> 2005/11/04 00:46:21 INFO xorp_rtrmgr:1195 RTRMGR +484
riccardo> module_manager.cc run ] Running module: rib
riccardo> (/root/Andrea/xorp/rib/xorp_rib) [ 2005/11/04 00:46:23
riccardo> INFO xorp_rtrmgr:1195 RTRMGR +484 module_manager.cc run ]
riccardo> Running module: policy
riccardo> (/root/Andrea/xorp/policy/xorp_policy) [ 2005/11/04
riccardo> 00:46:25 INFO xorp_rtrmgr:1195 RTRMGR +484
riccardo> module_manager.cc run ] Running module: rip
riccardo> (/root/Andrea/xorp/rip/xorp_rip) [ 2005/11/04 00:46:27
riccardo> WARNING xorp_policy:1198 XrlPolicyTarget +513
riccardo> policy_base.cc handle_policy_0_1_export ] Handling method
riccardo> for policy/0.1/export failed: XrlCmdError 102 Command
riccardo> failed Export of rip failed: exports: Protocol rip unknown
riccardo> [ 2005/11/04 00:46:27 ERROR xorp_rtrmgr:1195 RTRMGR +671
riccardo> master_conf_tree.cc commit_pass2_done ] Commit failed: 102
riccardo> Command failed Export of rip failed: exports: Protocol rip
riccardo> unknown [ 2005/11/04 00:46:27 ERROR xorp_rtrmgr:1195
riccardo> RTRMGR +252 master_conf_tree.cc config_done ]
riccardo> Configuration failed: 102 Command failed Export of rip
riccardo> failed: exports: Protocol rip unknown [ 2005/11/04
riccardo> 00:46:27 INFO xorp_rtrmgr:1195 RTRMGR +2225 task.cc
riccardo> run_task ] No more tasks to run [ 2005/11/04 00:46:27 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +247 module_manager.cc terminate ]
riccardo> Terminating module: fea [ 2005/11/04 00: 46:27 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +247 module_manager.cc terminate ]
riccardo> Terminating module: interfaces [ 2005/11/04 00:46:27 INFO
riccardo> xorp_rtrmgr: 1195 RTRMGR +300 module_manager.cc terminate
riccardo> ] Killing module: interfaces (pid = 0x4ac) [ 2005/11/04
riccardo> 00:46:27 INFO xorp_rtrmgr:1195 RTRMGR +247
riccardo> module_manager.cc terminate ] Terminating module: policy [
riccardo> 2005/11/04 00:46:27 INFO xorp_rtrmgr:1195 RTRMGR +300
riccardo> module_manager. cc terminate ] Killing module: policy
riccardo> (pid = 0x4ae) [ 2005/11/04 00:46: 27 INFO xorp_rtrmgr:1195
riccardo> RTRMGR +247 module_manager.cc terminate ] Terminating
riccardo> module: rib [ 2005/11/04 00:46:27 INFO xorp_rtrmgr:1195
riccardo> RTRMGR +300 module_manager.cc terminate ] Killing module:
riccardo> rib (pid = 0x4ad) [ 2005/11/04 00:46:27 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +247 module_manager.cc terminate ]
riccardo> Terminating module: rip [ 2005/11/04 00: 46:27 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +300 module_manager.cc terminate ]
riccardo> Killing module: rip (pid = 0x4af) [ 2005/11/04 00:46:27
riccardo> INFO xorp_rtrmgr:1195 RTRMGR +664 module_manager.cc killed
riccardo> ] Module killed during shutdown: policy [ 2005/11/04
riccardo> 00:46:27 INFO xorp_rtrmgr:1195 RTRMGR +664
riccardo> module_manager.cc killed ] Module killed during shutdown:
riccardo> rib [ 2005/11/04 00:46:27 INFO xorp_rtrmgr:1195 RTRMGR
riccardo> +664 module_manager.cc killed ] Module killed during
riccardo> shutdown: interfaces [ 2005/11/04 00:46:27 INFO
riccardo> xorp_rtrmgr:1195 RTRMGR +664 module_manager. cc killed ]
riccardo> Module killed during shutdown: rip
riccardo> Is there a different syntax for export rip managed route
riccardo> or could it be a bug?
riccardo> _______________________________________________ Xorp-users
riccardo> mailing list Xorp-users@xorp.org
riccardo> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
_______________________________________________
Xorp-users mailing list
Xorp-users@xorp.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users