diff --git a/CLI/actioner/sonic_cli_clear_bgp.py b/CLI/actioner/sonic_cli_clear_bgp.py
index ea506dfc6f..6dfa203571 100755
--- a/CLI/actioner/sonic_cli_clear_bgp.py
+++ b/CLI/actioner/sonic_cli_clear_bgp.py
@@ -83,7 +83,6 @@ def clear_bgp_api(args):
if dampeningIndex != "":
af = ""
- vrfname = ""
pg = ""
external = ""
ifname = ""
diff --git a/CLI/clitree/cli-xml/bgp.xml b/CLI/clitree/cli-xml/bgp.xml
index 076012b0fe..568ff8892c 100644
--- a/CLI/clitree/cli-xml/bgp.xml
+++ b/CLI/clitree/cli-xml/bgp.xml
@@ -188,7 +188,7 @@ limitations under the License.
-
+
sonic_cli_clear_bgp clear_bgp asn=${as-num-dot} n-ipv4=${ipv4-addr} n-ipv6=${ipv6-addr} cleartype=${cleartype} dampopt=${damptype} ${__line}
@@ -215,7 +215,7 @@ limitations under the License.
-
+
sonic_cli_clear_bgp clear_bgp asn=${as-num-dot} n-ipv4=${ipv4-addr} n-ipv6=${ipv6-addr} cleartype=${cleartype} dampopt=${damptype} ${__full_line}
diff --git a/CLI/clitree/macro/bgp_macro.xml b/CLI/clitree/macro/bgp_macro.xml
index 2b7d86a7b5..10d3998910 100644
--- a/CLI/clitree/macro/bgp_macro.xml
+++ b/CLI/clitree/macro/bgp_macro.xml
@@ -84,8 +84,7 @@ limitations under the License.
-
-
+