summaryrefslogtreecommitdiff
path: root/templates/service/snmp
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-12 20:02:10 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-12 20:23:42 -0700
commit496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb (patch)
treed33962e25e43c079ffcf472fcb7d95dee63a0189 /templates/service/snmp
parentab587ce0c92b5aeeb26eb678946a7e1faa6f9db1 (diff)
downloadvyatta-cfg-quagga-496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb.tar.gz
vyatta-cfg-quagga-496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb.zip
Allow configuring/restricting SNMP listen address
Add: service snmp listen-address AAAA [port NNN]
Diffstat (limited to 'templates/service/snmp')
-rw-r--r--templates/service/snmp/listen-address/node.def3
-rw-r--r--templates/service/snmp/listen-address/node.tag/port/node.def3
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/service/snmp/listen-address/node.def b/templates/service/snmp/listen-address/node.def
new file mode 100644
index 00000000..f234edc8
--- /dev/null
+++ b/templates/service/snmp/listen-address/node.def
@@ -0,0 +1,3 @@
+tag:
+type: ipv4,ipv6
+help: Set IP address to listen for incoming SNMP requests
diff --git a/templates/service/snmp/listen-address/node.tag/port/node.def b/templates/service/snmp/listen-address/node.tag/port/node.def
new file mode 100644
index 00000000..5a21b1d8
--- /dev/null
+++ b/templates/service/snmp/listen-address/node.tag/port/node.def
@@ -0,0 +1,3 @@
+type: u32
+default: 161
+help: Set port for SNMP service