Index: /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/detail/setting.controller.js
===================================================================
--- /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/detail/setting.controller.js	(revision 2766)
+++ /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/detail/setting.controller.js	(working copy)
@@ -231,6 +231,13 @@
                     enable_password: settingViewModal.enable_password,
                     device_group: settingViewModal.device_group
                 }
+                if (settingViewModal.snmpv3) {
+                    if (settingViewModal.snmpv3_auth_password.length < 8 || settingViewModal.snmpv3_auth_password.length > 32) {
+                        $rootScope.TipService.setMessage("The SNMPv3 authentication password must be between 8 and 32 characters.");
+                        return;
+                    }
+                }
+
                 // if (document.getElementsByName('choiceFireIP')[0].checked) { // firewall ipv4
                 //     data.firewall_ip = {
                 //         ipv4: settingViewModal.firewall_ip
Index: /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/modal/device.add.controller.js
===================================================================
--- /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/modal/device.add.controller.js	(revision 2766)
+++ /branches/amp_3_7_2/src/webui/webui/htdocs/new/src/client/app/modules/device/modal/device.add.controller.js	(working copy)
@@ -155,6 +155,12 @@
                     }
                     if (isEmpty(addViewModal.console_password)) {
                         addViewModal.failed = $filter('T')("{0} can't be empty!", [$filter('T')('WebUI Console Password')]);
+                        return;
+                    }
+                }
+                if (addViewModal.snmpv3) {
+                    if (addViewModal.snmpv3_auth_password.length < 8 || addViewModal.snmpv3_auth_password.length > 32) {
+                        addViewModal.failed = "The SNMPv3 authentication password must be between 8 and 32 characters.";
                         return;
                     }
                 }
