-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8.3.2015 00:16, Anand Buddhdev wrote: > On 07/03/15 00:35, Ondrej Filip wrote: > > Hi Ondrej,
Hi Anand! Your problem is cause by the fact that definition of unnamed protocol from template is not supported. I added this option to the git repository today. To solve this on 1.4.5 please use: protocol bgp bgp_1 from peers { ... Ondrej > >> I think, this looks good. I have a very similar config on my >> AS112 in NIX.CZ. You may consider to use templates, to make it >> shorter. But that's no necessary. > > I tried using a template, exactly as you have described, but bird > now complains: > > Mar 7 23:11:12 ns1 bird: Reconfiguration requested by SIGHUP Mar > 7 23:11:12 ns1 bird: /etc/bird.conf, line 25: syntax error > > The template is: > > template bgp peers { export filter as112; local 80.249.208.39 as > 112; } > > And line 25 is: > > protocol bgp from peers { > > Just FYI, I'm on version 1.4.5. Has there been a syntax change > somewhere? > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU/iZ4AAoJED82D4RIDoWPE28QAINl6mUH5dnFvnjZrmFDakIU SK2GNO+44Noh/puh19hBqz3Ri6Y3pz/9aPodOdyU8/rtVtA6XrxPuxXnBDH0T4su 8fULsyOtDyTdHiGASy5Fmb5tgPmKEnoE3BVSB9LHTHceC361SLE5SlKmyqLHfax7 FOE6AuVY7s9+jo5y1+CNWMZJcaiFqVnrwnTtUQX0U+gYwivTAqMAo/YtcU2eQtK3 g9jULTMANguVCL8Uh4SA88m42f7JIyGOy5PY85W1PhDDFzIXy0hU/a/hykWjgK4f hNnylKioKd5VRW1Va7CrkKMsw5bvYTrEgALTgtElqWVyU12vCwGkSBjMwHo82+qx MkJhMwwV0U6RCQNkL/3q9cOJPsUOPrj1XJPVg8op29RLSDda+fT2H6BQe8X2f4Go b2yHAVESh9btrj6mIpM20qo9HR09pra8n0bCu7dDaTlqhdQ3dA+iA/iPTMkN6dN7 hnD6wA7uJTZ5FMRNcfE60vfNkcR901rXKlspzXeidI4k1gKDcbUMscJPXRFsVuqL nFZm1Gqkkig9DxeuQ+Z6BI0HHXtBFN6o3Vp3DWEK5xwEFN3GmiqrwmyV9tYNC+y0 tTrTjKP+AL5sKcJKM0n3yP1rEm+Cx2p3pNTRt5hsesJli+9WLzySmd6dI/5mPa1W ms1LlrEjJX4Lg7BlE9+O =MpIk -----END PGP SIGNATURE-----