From f38f4f89c5dc66d021938b7a63051c5e601f6eb3 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Fri, 7 Mar 2008 00:06:08 -0800 Subject: bug 2753 --- templates/protocols/bgp/node.def | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/protocols/bgp/node.def') diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index 5e89d91a..c1b84c57 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -1,7 +1,9 @@ tag: type: u32 help: Configure a BGP Autonomous System on this router -# TODO: non-multinode parent syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; "AS number must be between 1 and 4294967294" update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" " +# we need to set default parameters in BGP here since we can't do it in +# startup scripts because we don't know the AS number +update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" -c \"bgp network import-check\" " delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no router bgp $VAR(@)\" " -- cgit v1.2.3