diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-17 15:02:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-17 16:47:04 -0700 |
commit | e4bdb07be73465df0ff3cd01efb4e27e4e9c8c64 (patch) | |
tree | e71542780ddfed4d8cacb43fe76e4e95ed7a8e4a /templates | |
parent | 6950793fedd832ccfb8fda0a35214ffec2a352f9 (diff) | |
download | vyatta-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')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/ttl-security/hops/node.def | 6 |
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" |