Aw: define command is not working ?

Kai kai_pf at gmx.de
Tue Jul 14 12:04:45 CEST 2015


Hi!

If I remember correctly, I tried this as well. And again, if my memory serves me well, you cannot use a defined constant with the "router id"-directive. (Don't know the reason.)
But you should be able to use constants in pretty much of all other cases.

Best regards, Kai


> Gesendet: Dienstag, 14. Juli 2015 um 11:50 Uhr
> Von: "Peter Hudec" <phudec at cnc.sk>
> An: bird-users at network.cz
> Betreff: define command is not working ?
>
> Hi,
> 
> I'm trying to make the configuration more template and variable based.
> but I'm fighting with this .. Am I using the define command wrong? I
> seen few examples how to use define command ..
> 
> ---
> log stderr all;
> log syslog all;
> 
> define bgp_router_id = 192.168.93.104;
> 
> # Override router ID
> router id bgp_router_id;
> ....
> ---
> 
> On the line with 'router id' I've got 'syntax error'.
> 
> os: debian jessie
> bird: 1.4.5
> 
> 	best regards
> 		Peter
> 
> -- 
> *Peter Hudec*
> Infraštruktúrny architekt
> phudec at cnc.sk <mailto:phduec at cnc.sk>
> 
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100
> 
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
> 
>



More information about the Bird-users mailing list