From 496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 12 May 2010 20:02:10 -0700 Subject: Allow configuring/restricting SNMP listen address Add: service snmp listen-address AAAA [port NNN] --- templates/service/snmp/listen-address/node.def | 3 +++ templates/service/snmp/listen-address/node.tag/port/node.def | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 templates/service/snmp/listen-address/node.def create mode 100644 templates/service/snmp/listen-address/node.tag/port/node.def (limited to 'templates/service') 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 -- cgit v1.2.3