summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/node.def
blob: c1b84c57b58d8dbb1a2e28c69c22e31d378063fb (plain)
1
2
3
4
5
6
7
8
9
tag:
type: u32
help: Configure a BGP Autonomous System on this router
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(@)\" "