summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/node.def
blob: f1e60caa65b76580ce5b3643b7d996a3a9554c25 (plain)
1
2
3
4
5
6
7
tag:
type: u32
help: "Configure a BGP Autonomous System on this router"
# TODO: non-multinode parent
syntax: $(@) >= 1 && $(@) <= 65535; "AS number must be between 1 and 65535"
create: "/usr/bin/vtysh -c \"configure terminal\" -c\"router bgp $(@)\" "
delete: "/usr/bin/vtysh -c \"configure terminal\" -c\"no router bgp $(@)\" "