Index: /branches/rel_apv_10_7/usr/click/bin/backend/sys_cmd.c
===================================================================
--- /branches/rel_apv_10_7/usr/click/bin/backend/sys_cmd.c	(revision 39453)
+++ /branches/rel_apv_10_7/usr/click/bin/backend/sys_cmd.c	(working copy)
@@ -4208,6 +4208,11 @@
 
 void cloud_aws_remove_eniconfig(char *index)
 {
+    printf("Type \"YES\" to confirm remove the eni configuration for index \"%s\" : ", index);
+    if (!challange_user("YES\n")) {
+        exit(1);
+    }
+
 	FILE *fp;
 	char path[1035];
 	char cmd[1024];
Index: /branches/rel_apv_10_7/usr/click/tools/aws/AWSConfigManager.py
===================================================================
--- /branches/rel_apv_10_7/usr/click/tools/aws/AWSConfigManager.py	(revision 39453)
+++ /branches/rel_apv_10_7/usr/click/tools/aws/AWSConfigManager.py	(working copy)
@@ -26,7 +26,7 @@
             ProxyAWSLogger.info(f"Successfully add pair "
                                 f"ENI configuration of {src_eni_id} {dest_eni_id}")
         except Exception as e:
-            err_msg = (f"Failed to remove ENI configuration. "
+            err_msg = (f"Failed to add ENI configuration. "
                 f"{str(e)}")
             ProxyAWSLogger.error(err_msg)
             print(err_msg)
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/network/cloud/aws/eni.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/network/cloud/aws/eni.html	(revision 39453)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/network/cloud/aws/eni.html	(working copy)
@@ -421,6 +421,11 @@
             }),
             success: function(res) {
                 $('#addModal').modal('hide');
+                if (typeof(res["code"]) != "undefined" && typeof(res["msg"]) != "undefined") {
+                    if (res["code"] != 1) {
+                        alert(res["msg"]);
+                    }
+                }
                 setTimeout(function() {
                     refreshPage();
                 }, 400);
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/hive/cloud/aws/aws_eni_view.py
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/hive/cloud/aws/aws_eni_view.py	(revision 39453)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/hive/cloud/aws/aws_eni_view.py	(working copy)
@@ -6,6 +6,9 @@
 
 from hive.utils import aninfo, anerror, cmd_direct
 
+class CODE():
+    SUCCESS = 1
+    ERROR = 0
 
 def validate_input(data, required_keys):
     """Validates if the required keys are present in the input data."""
@@ -63,9 +66,16 @@
         )
     )
     try:
-        run_command(command)
-        aninfo("hive.debug", "Succeeded to add eni configuration")
-        return create_json_response({"msg": "Succeed"}, 200)
+        result = run_command(command)
+        msg = "Succeed"
+        log = "Succeeded to add eni configuration"
+        code = CODE.SUCCESS
+        if "Failed to" in result:
+            msg = result.strip()
+            log = result.strip()
+            code = CODE.ERROR
+        aninfo("hive.debug", log)
+        return create_json_response({"msg": msg, "code": code}, 200)
     except RuntimeError:
         return create_json_response({"message": "error while running aws tools"}, 500)
 
