mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 02:22:48 +00:00
Just "write" command without any parameters writes conf to file.
This commit is contained in:
parent
647e4f1fb7
commit
4a6e22577a
@ -1382,6 +1382,11 @@ ALIAS (vtysh_write_memory,
|
||||
"Write running configuration to memory, network, or terminal\n"
|
||||
"Write configuration to the file (same as write memory)\n")
|
||||
|
||||
ALIAS (vtysh_write_memory,
|
||||
vtysh_write_cmd,
|
||||
"write",
|
||||
"Write running configuration to memory, network, or terminal\n")
|
||||
|
||||
ALIAS (vtysh_write_terminal,
|
||||
vtysh_show_running_config_cmd,
|
||||
"show running-config",
|
||||
@ -1849,6 +1854,7 @@ vtysh_init_vty ()
|
||||
install_element (ENABLE_NODE, &vtysh_show_running_config_cmd);
|
||||
install_element (ENABLE_NODE, &vtysh_copy_runningconfig_startupconfig_cmd);
|
||||
install_element (ENABLE_NODE, &vtysh_write_file_cmd);
|
||||
install_element (ENABLE_NODE, &vtysh_write_cmd);
|
||||
|
||||
/* write terminal command */
|
||||
install_element (ENABLE_NODE, &vtysh_write_terminal_cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user