22 Dec
2011
22 Dec
'11
10:27 a.m.
On Mon, Dec 19, 2011 at 04:58:01PM +0100, Stefan Jakob wrote:
Hi,
I am looking for a variable like bgp_neighbor_as, which I can use in functions or filters:
define myas = 65123 if bgp_neighbor_as = myas then bgp_path.prepend(myas);
If I have a look at "show protocol all <protocol>" I see
Neighbor AS: 65123
So is this neighbor as number available as variable?
I think there is not. Usually this is handled by an addition argument to the function. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."