From: darkcoven Date: Wed, 5 Sep 2012 10:00:00 +0000 (+0200) Subject: CLI: removed printing of PVID string. X-Git-Url: https://git.sur5r.net/?p=ngadmin;a=commitdiff_plain;h=95eb97a9d6fd7614d741964d7ef8eea6de8e725e CLI: removed printing of PVID string. CLI: moved man page. --- diff --git a/cli/com_vlan.c b/cli/com_vlan.c index 9f9331b..90bbfca 100644 --- a/cli/com_vlan.c +++ b/cli/com_vlan.c @@ -355,7 +355,6 @@ bool do_vlan_pvid_show (int nb UNUSED, const char **com UNUSED, struct ngadmin * } - printf("PVID: \n"); printf("Port\t"); for (i=1; i<=sa->ports; ++i) { printf("%i\t", i); diff --git a/cli/doc/ngadmin.1 b/cli/doc/ngadmin.1 deleted file mode 100644 index fe70912..0000000 --- a/cli/doc/ngadmin.1 +++ /dev/null @@ -1,46 +0,0 @@ - -.TH NGADMIN "1" "December 2011" "NgAdmin 0.0.2" "User Commands" -.SH NAME -ngadmin \- cli tool for GS10[58]E administration - -.SH SYNOPSIS -ngadmin [\fIOPTIONS\fR] - -.SH DESCRIPTION - -.PP -This is a cli tool intended for administration of Netgear switches that use NSDP. -Currently, only the GS105E and GS108E are concerned. - -.TP -\fB-b\fR -Keep broadcasting even when talking with a particular switch. -By default, once you login on a switch, NgAdmin talks with it using unicast. -This prevents the password from being sent to all your network. The switch -still replies using broadcast, but the password is not included in the -replies. This function allows you to disable this feature and do like the -official Windows application that always use broadcast packets. -This also allows to configure a switch which is not on your network range -without forcing the interface. -When you enable this option, you must be aware that on every modification -you make, your password is broadcasted in cleartext to all your network. - - - -.SH COMMANDS - - -.SH BUGS -Currently, firmware uptade is not implemented, because it would require much -more work in the library (and a TFTP client). -.br -And overvall, it is quite dangerous, as it is not sure that the switch checks -whatever you send to it. - - -.SH AUTHOR -Written by Hervé Boisse (h.boisse@orange.fr). - - - - diff --git a/cli/man/ngadmin.1 b/cli/man/ngadmin.1 new file mode 100644 index 0000000..fe70912 --- /dev/null +++ b/cli/man/ngadmin.1 @@ -0,0 +1,46 @@ + +.TH NGADMIN "1" "December 2011" "NgAdmin 0.0.2" "User Commands" +.SH NAME +ngadmin \- cli tool for GS10[58]E administration + +.SH SYNOPSIS +ngadmin [\fIOPTIONS\fR] + +.SH DESCRIPTION + +.PP +This is a cli tool intended for administration of Netgear switches that use NSDP. +Currently, only the GS105E and GS108E are concerned. + +.TP +\fB-b\fR +Keep broadcasting even when talking with a particular switch. +By default, once you login on a switch, NgAdmin talks with it using unicast. +This prevents the password from being sent to all your network. The switch +still replies using broadcast, but the password is not included in the +replies. This function allows you to disable this feature and do like the +official Windows application that always use broadcast packets. +This also allows to configure a switch which is not on your network range +without forcing the interface. +When you enable this option, you must be aware that on every modification +you make, your password is broadcasted in cleartext to all your network. + + + +.SH COMMANDS + + +.SH BUGS +Currently, firmware uptade is not implemented, because it would require much +more work in the library (and a TFTP client). +.br +And overvall, it is quite dangerous, as it is not sure that the switch checks +whatever you send to it. + + +.SH AUTHOR +Written by Hervé Boisse (h.boisse@orange.fr). + + + +