Index: /branches/rel_apv_10_7/usr/click/bin/backend/backend.c
===================================================================
--- /branches/rel_apv_10_7/usr/click/bin/backend/backend.c	(revision 39003)
+++ /branches/rel_apv_10_7/usr/click/bin/backend/backend.c	(working copy)
@@ -955,6 +955,13 @@
 		return -1;
 	}
 
+	/* Skip WebUI port sync */
+
+        if (strstr(cli, "webui port") != NULL) {
+                syslog(LOG_INFO, "Skipping sync for webui port command: %s\n", cli);
+                return 0; /* Return success without syncing */
+        }
+
 	for (cli_index = 0; cli_index < MAX_SYN_CMD; cli_index ++) {
 		if (is_matched_cmd(ha_sync_file_command[cli_index].cmd, cli, NULL)) {
 			break;
@@ -4353,6 +4360,12 @@
 		return ;
 	}
 
+	/* Skip synchronization for WebUI port changes */
+        if (strstr(cli, "webui port") != NULL) {
+                syslog(LOG_INFO, "Skipping sync for webui port command: %s\n", cli);
+                return ;
+        }
+
 	if (is_need_realtime_synchronization_cmd(cli) == 0) {
 		return ;
 	}
Index: /branches/rel_apv_10_7/usr/click/bin/sync/sc_status
===================================================================
--- /branches/rel_apv_10_7/usr/click/bin/sync/sc_status	(revision 39003)
+++ /branches/rel_apv_10_7/usr/click/bin/sync/sc_status	(working copy)
@@ -170,10 +170,14 @@
 			sed -f /ca/sync/stripfile /ca/conf/uconf/segment/$8.conf | sort > /tmp/my_$$.conf
 			sed -i "s/@@$8//g; /^$/d" /tmp/my_$$.conf
 		fi
+
+		sed -i '/webui port/d' /tmp/my_$$.conf
+		sed -i '/webui port/d' /tmp/other_$$.conf
+
 		diff -u /tmp/my_$$.conf /tmp/other_$$.conf | awk '
 		/^\+/ {
 			if ($1 != "+++" && $1 != "+#Last") {
-				if ($0 ~ /[a-z]/) {
+				if ($0 ~ /[a-z]/ && $0 !~ /webui_port/) {
 					sep = substr($0, 2, 100);
 					# huangkai 11/18/2004 Bug: 7255, add below 1 line.
                     if (sep != "")
@@ -184,7 +188,7 @@
         	}
 		/^-/ {
 			if ($1 != "---" && $1 != "-#Last") {
-				if ($0 ~ /[a-z]/) {
+				if ($0 ~ /[a-z]/ && $0 !~ /webui_port/) {
 					sep = substr($0, 2, 100);
 					# huangkai 11/18/2004 Bug: 7255, add below 1 line.
                     if (sep != "")
Index: /branches/rel_apv_10_7/usr/click/lib/libhalib/ha_lib.c
===================================================================
--- /branches/rel_apv_10_7/usr/click/lib/libhalib/ha_lib.c	(revision 39003)
+++ /branches/rel_apv_10_7/usr/click/lib/libhalib/ha_lib.c	(working copy)
@@ -1130,6 +1130,7 @@
 		"no vlan",
 		"clear vlan",
 		"webui ip",
+		"webui port",
 		"xmlrpc ip",
 		"restapi ip",
 		"clear webui ip",
