<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, I'm getting the following error when I try to load the attached
xorp config file using xorp_rtrmgr's -b command line switch. The error
occurs somewhere in my policy statements, but I can't for the life of
me see what is wrong. Any quick help will be greatly appreciated. I'm
running xorp 1.6. This happens on both an Ubuntu and Debian
installation of xorp. Note that this is a repost, but I have just included the config.boot file in the email text rather than as an attachment.<br><br>[ 2009/06/18 07:31:52 ERROR xorp_rtrmgr:520 RTRMGR +349 <a target="_blank" href="http://main_rtrmgr.cc"><span class="yshortcuts" id="lw_1245333022_1">main_rtrmgr.cc</span></a> run ] rtrmgr shutting down due to an init error: PARSE ERROR [Config <span class="yshortcuts" id="lw_1245333022_2">File</span> /hosthome/r1.config.boot, line 84]: <span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 0%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1245333022_3">syntax error</span>; Last symbol parsed was "network4-list"<br><br>interfaces { <br> interface "eth0" {
<br> description: "data"<br> disable: false<br> vif "eth0" { <br> disable:
false<br> address 100.100.100.2 { <br> prefix-length:
30<br> broadcast: 100.100.100.2<br> disable:
false<br> }<br> }<br> vif "loopback" {
<br> disable: false<br> address 172.160.1.1 {
<br> prefix-length: 32<br> broadcast:
172.160.1.1<br> disable: false<br>
}<br> }<br> }<br> }<br>fea { <br> unicast-forwarding4 { <br> disable: false<br>
}<br> }<br>protocols { <br> bgp { <br> bgp-id: 172.160.1.1<br> local-as: 300<br> peer 130.0.2.5 { <br> local-ip: 130.0.1.4<br> as:
300<br> next-hop: 130.0.1.4<br> }<br> peer 130.0.3.4 { <br> local-ip: 130.0.1.4<br> as:
300<br> next-hop: 130.0.1.4<br> }<br> peer 100.100.100.1 { <br> local-ip:
100.100.100.0<br> as: 100<br> next-hop: 100.100.100.0<br> }<br> export: "redistpolicy1,exportpolicies"<br> import:
"importpolicies"<br> }<br> static { <br> disable: false<br> route 172.160.0.0/16 { <br> next-hop:
200.200.200.0<br> }<br> }<br> }<br><br><br>policy { <br> network4-list netlist1 { <br> network 0.0.0.0/8<br>
network 10.0.0.0/8<br> network 127.0.0.0/8<br> network 169.254.0.0/16<br> network 172.0.0.0/12<br> network
172.160.0.0/16<br> network 192.0.2.0/24<br> network 192.168.0.0/16<br> network 224.0.0.0/3<br> }<br> policy-statement redistpolicy1 {
<br> term redist1 { <br> from { <br> protocol:
"static"<br> network4: 100.200.0.0/16<br>
}<br> }<br> }<br> <br> policy-statement importpolicies { <br> term
impterm1 { <br> from { <br> neighbor:
100.100.100.1<br> network4-list: netlist1<br>
}<br> then { <br>
reject<br> }<br>
}<br> <br> term impterm2 { <br> from {
<br> nexthop4: 100.100.100.1<br>
}<br> then { <br> localpref:
120<br> accept<br>
}<br> }<br> <br> term impterm3 {
<br> then { <br> localpref:
100<br> accept<br>
}<br> }<br> }<br> <br> policy-statement exportpolicies {
<br> term expterm1 { <br> to { <br>
neighbor: 100.100.100.1<br> network4 != 172.160.0.0/16<br>
}<br> then { <br>
reject<br> }<br>
}<br> <br> term expterm2 { <br> then {
<br> accept<br>
}<br> }<br> }<br> }<br><br></td></tr></table><br>