From b1a1c48d59d82454676d3b1d78acdb6c94e26189 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 14 Nov 2024 13:09:44 +0200 Subject: [PATCH] bgpd: Drop unsupported commands Signed-off-by: Donatas Abraitis --- bgpd/bgp_vty.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e86d1dc65612..24a035dd9495 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -1472,24 +1472,6 @@ DEFUN_HIDDEN (no_bgp_local_mac, return CMD_SUCCESS; } -DEFUN (no_synchronization, - no_synchronization_cmd, - "no synchronization", - NO_STR - "Perform IGP synchronization\n") -{ - return CMD_SUCCESS; -} - -DEFUN (no_auto_summary, - no_auto_summary_cmd, - "no auto-summary", - NO_STR - "Enable automatic network number summarization\n") -{ - return CMD_SUCCESS; -} - /* "router bgp" commands. */ DEFUN_NOSH (router_bgp, router_bgp_cmd, @@ -20442,10 +20424,6 @@ void bgp_vty_init(void) install_element(CONFIG_NODE, &no_bgp_graceful_restart_rib_stale_time_cmd); - /* Dummy commands (Currently not supported) */ - install_element(BGP_NODE, &no_synchronization_cmd); - install_element(BGP_NODE, &no_auto_summary_cmd); - /* "router bgp" commands. */ install_element(CONFIG_NODE, &router_bgp_cmd);