From e4bdb07be73465df0ff3cd01efb4e27e4e9c8c64 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 17 May 2010 15:02:54 -0700 Subject: Add support for TTL security hops Bug 4937 Integrate CLI support for TTL hop count security --- .../bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def (limited to 'templates/protocols') 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" -- cgit v1.2.3