diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-12 20:02:10 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-12 20:23:42 -0700 |
commit | 496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb (patch) | |
tree | d33962e25e43c079ffcf472fcb7d95dee63a0189 /templates/service | |
parent | ab587ce0c92b5aeeb26eb678946a7e1faa6f9db1 (diff) | |
download | vyatta-cfg-system-496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb.tar.gz vyatta-cfg-system-496c5f68ebdeb33ca75fac65f0c6f0ae29b781bb.zip |
Allow configuring/restricting SNMP listen address
Add:
service snmp listen-address AAAA [port NNN]
Diffstat (limited to 'templates/service')
-rw-r--r-- | templates/service/snmp/listen-address/node.def | 3 | ||||
-rw-r--r-- | templates/service/snmp/listen-address/node.tag/port/node.def | 3 |
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 |