From f279d69e1d3952de1231ecf56d6ebb3023b96645 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 21 Mar 2008 17:02:29 -0700 Subject: Fix Bug 3027 Unable to configure SNMP community client address - added the following commands: - set protocols snmp community client - set protocols snmp community network --- templates/protocols/snmp/community/node.tag/client/node.def | 3 +++ templates/protocols/snmp/community/node.tag/network/node.def | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 templates/protocols/snmp/community/node.tag/client/node.def create mode 100644 templates/protocols/snmp/community/node.tag/network/node.def (limited to 'templates') diff --git a/templates/protocols/snmp/community/node.tag/client/node.def b/templates/protocols/snmp/community/node.tag/client/node.def new file mode 100644 index 00000000..134698ef --- /dev/null +++ b/templates/protocols/snmp/community/node.tag/client/node.def @@ -0,0 +1,3 @@ +multi: +type: ipv4 +help: IP address of SNMP client allowed to contact system diff --git a/templates/protocols/snmp/community/node.tag/network/node.def b/templates/protocols/snmp/community/node.tag/network/node.def new file mode 100644 index 00000000..1afdb2a1 --- /dev/null +++ b/templates/protocols/snmp/community/node.tag/network/node.def @@ -0,0 +1,4 @@ +multi: +type: ipv4net +help: Subnet of SNMP client(s) allowed to contact system +syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $VAR(@)" -- cgit v1.2.3