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 39595)
+++ /branches/rel_apv_10_7/usr/click/bin/backend/sys_cmd.c	(working copy)
@@ -3289,6 +3289,33 @@
     status = system(cmd);
 }
 
+void cloud_az_udr_status()
+{
+    FILE *fp;
+    char path[1035];
+    char cmd[1024];
+
+    fp = popen("python3 /ca/bin/azure/UDRPoller.py -mode 3", "r");
+    if (fp == NULL) {
+        printf("Failed to run command\n");
+        exit(1);
+    }
+    while (fgets(path, sizeof(path)-1, fp) != NULL) {
+        path[strcspn(path, "\n")] = 0;
+
+        // Check if the output is "True"
+        if (strcmp(path, "True\n") == 0 || strcmp(path, "True") == 0) {
+            printf("az udr on");
+        } else if (strcmp(path, "False\n") == 0 || strcmp(path, "False") == 0) {
+            printf("az udr off");
+        } else {
+            printf("Fail");
+
+        }
+    }
+    pclose(fp);
+}
+
 void
 cloud_az_login()
 {
Index: /branches/rel_apv_10_7/usr/click/lib/libparser/commands.pm
===================================================================
--- /branches/rel_apv_10_7/usr/click/lib/libparser/commands.pm	(revision 39595)
+++ /branches/rel_apv_10_7/usr/click/lib/libparser/commands.pm	(working copy)
@@ -514,6 +514,19 @@
 		function_args => [],
 	},
 
+	# cloud az udr status
+
+	{
+		obj_type => "ITEM",
+		name => "status",
+		menu => "root_cloud_azure_udr",
+		help_string => "Show Azure UDR status",
+		cmd_attribute => "CMD_ARRAYOS|CMD_SPROXY|CMD_NORMAL|CMD_KILLABLE|CMD_NON_MORE",
+		user_level => "CLI_LEVEL_CONFIG",
+		function_name => "cloud_az_udr_status",
+		function_args => [],
+	},
+
 	# cloud az login
 
 	{
