diff options
author | paul <paul> | 2003-03-01 15:44:10 +0000 |
---|---|---|
committer | paul <paul> | 2003-03-01 15:44:10 +0000 |
commit | 338a99166f59e474c522d2eb7417b0de57f598d2 (patch) | |
tree | 77bfebd0360bf0d35c534d3d84aaabde22a98d37 /vtysh | |
parent | 448ed4a23fb37009e30f79bf179cc1f65a9c67d1 (diff) |
Add the interface node 'description' command.
Diffstat (limited to 'vtysh')
-rw-r--r-- | vtysh/vtysh.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 5e21504c..01fb520e 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -1134,6 +1134,12 @@ DEFUNSH (VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_OSPFD, 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 @@ vtysh_init_vty () 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); |