<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 3e5ac8cc1d3bed7fe392ba052f9f037f16441f6f Mon Sep 17 00:00:00 2001
From: James Davidson &lt;james.davidson@vyatta.com&gt;
Date: Wed, 6 Mar 2013 10:01:33 -0800
Subject: Sync up SNMPv3 support

SNMP-100 Implement high-level vyatta CLI
SNMP-135 change 'show snmp', add 'show snmp v3 certificates'
SNMP-142 'sh snmp v3 cert' error/warning messages
SNMP-143 show CLI implementation
SNMP-152 Hide 'No such file or directory' error message
SNMP-143 show CLI implementation
SNMP-154 user friendly error message on 'show snmp'
SNMP-157 Run Perltidy for all Perl scripts
SNMP-158 change output of 'sh snmp v3 trap-target'
---
 templates/show/snmp/v3/certificates/node.def | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 templates/show/snmp/v3/certificates/node.def

(limited to 'templates/show/snmp/v3/certificates/node.def')

diff --git a/templates/show/snmp/v3/certificates/node.def b/templates/show/snmp/v3/certificates/node.def
new file mode 100644
index 0000000..e66fc0d
--- /dev/null
+++ b/templates/show/snmp/v3/certificates/node.def
@@ -0,0 +1,7 @@
+help: Show TSM certificates
+run: files=`sudo ls /etc/snmp/tls/certs/ 2&gt; /dev/null`;
+  if [ -n "$files" ]; then
+    sudo /usr/bin/net-snmp-cert showcerts --subject --fingerprint
+  else
+    echo "You don't have any certificates. Put it in '/etc/snmp/tls/certs/' folder."
+  fi
-- 
cgit v1.2.3

</pre></body></html>