mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
vtysh: Add no static-sids
command
Previous commits introduced the `no` form for the `static-sids` command. This change allow users to remove all static SIDs at once. This commit makes the `no static-sids` command available in vtysh. ``` router# config router(config)# segment-routing router(sr)# srv6 router(srv6)# no static-sids ``` Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
ab7a7541a6
commit
96134d1964
|
@ -1708,6 +1708,14 @@ DEFUNSH(VTYSH_MGMTD, srv6_sids, srv6_sids_cmd,
|
|||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUNSH(VTYSH_MGMTD, no_srv6_sids, no_srv6_sids_cmd,
|
||||
"no static-sids",
|
||||
NO_STR
|
||||
"Segment-Routing SRv6 SIDs configuration\n")
|
||||
{
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUNSH(VTYSH_ZEBRA, srv6_locators, srv6_locators_cmd,
|
||||
"locators",
|
||||
"Segment-Routing SRv6 locators configuration\n")
|
||||
|
@ -5543,6 +5551,7 @@ void vtysh_init_vty(void)
|
|||
install_element(SRV6_NODE, &vtysh_end_all_cmd);
|
||||
install_element(SRV6_NODE, &srv6_encap_cmd);
|
||||
install_element(SRV6_NODE, &srv6_sids_cmd);
|
||||
install_element(SRV6_NODE, &no_srv6_sids_cmd);
|
||||
|
||||
install_element(SRV6_SIDS_NODE, &exit_srv6_sids_config_cmd);
|
||||
install_element(SRV6_SIDS_NODE, &vtysh_end_all_cmd);
|
||||
|
|
Loading…
Reference in a new issue