summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-17 15:02:54 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-17 16:47:04 -0700
commite4bdb07be73465df0ff3cd01efb4e27e4e9c8c64 (patch)
treee71542780ddfed4d8cacb43fe76e4e95ed7a8e4a /templates/protocols/bgp
parent6950793fedd832ccfb8fda0a35214ffec2a352f9 (diff)
downloadvyatta-cfg-quagga-e4bdb07be73465df0ff3cd01efb4e27e4e9c8c64.tar.gz
vyatta-cfg-quagga-e4bdb07be73465df0ff3cd01efb4e27e4e9c8c64.zip
Add support for TTL security hops
Bug 4937 Integrate CLI support for TTL hop count security
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def
new file mode 100644
index 00000000..468ebbb1
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def
@@ -0,0 +1,6 @@
+type: u32
+help: Set number of the maximum number of hops to the BGP peer
+comp_help: possible completions:
+ <1-254> number of hops
+commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $VAR(../../../@) --neighbor $VAR(../../@)"
+syntax:expression: $VAR(@) >=1 && $VAR(@) <= 254; "ttl-security hops must be between 1 and 254"