Add the interface node 'description' command.
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 5e21504..01fb520 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1134,6 +1134,12 @@
return CMD_SUCCESS;
}
+DEFSH (VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_OSPFD,
+ interface_desc_cmd,
+ "description .LINE",
+ "Interface specific description\n"
+ "Characters describing this interface\n")
+
DEFSH (VTYSH_RIPD|VTYSH_BGPD,
set_ip_nexthop_cmd,
"set ip next-hop A.B.C.D",
@@ -1782,6 +1788,7 @@
install_element (KEYCHAIN_KEY_NODE, &vtysh_end_all_cmd);
install_element (RMAP_NODE, &vtysh_end_all_cmd);
+ install_element (INTERFACE_NODE, &interface_desc_cmd);
install_element (INTERFACE_NODE, &vtysh_end_all_cmd);
install_element (INTERFACE_NODE, &vtysh_exit_interface_cmd);
install_element (INTERFACE_NODE, &vtysh_quit_interface_cmd);