summaryrefslogtreecommitdiff
path: root/lib/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memory.c')
-rw-r--r--lib/memory.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/memory.c b/lib/memory.c
index 28b3d896..f5d0cba6 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -444,6 +444,16 @@ DEFUN (show_memory_isis,
void
memory_init (void)
{
+ install_element (RESTRICTED_NODE, &show_memory_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_all_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_lib_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_rip_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_ripng_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_bgp_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_ospf_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_ospf6_cmd);
+ install_element (RESTRICTED_NODE, &show_memory_isis_cmd);
+
install_element (VIEW_NODE, &show_memory_cmd);
install_element (VIEW_NODE, &show_memory_all_cmd);
install_element (VIEW_NODE, &show_memory_lib_cmd);