From a97e069788dfb85ff972af584f6de6eac902b892 Mon Sep 17 00:00:00 2001 From: Christian Ramseyer Date: Sat, 16 Mar 2019 14:08:07 +0100 Subject: [PATCH] Improve netdisco-do doc (related to #540) * mention how to dumpconfig device_auth * explain ANSI_COLORS_DISABLED --- bin/netdisco-do | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/netdisco-do b/bin/netdisco-do index 9396f61f..f24da01f 100755 --- a/bin/netdisco-do +++ b/bin/netdisco-do @@ -388,6 +388,11 @@ Set the PoE on/off status on a device port. Requires the C<-d> parameter Will dump the loaded and parsed configuration for the application. Pass a specific configuration setting name to the C<-e> parameter to dump only that. +Some configuration items like device_auth are evaluated against the ACL first. +Pass a device in C<-d> to display them: + + ~/bin/netdisco-do dumpconfig -d 192.0.2.1 -e device_auth + =head1 DEBUG OPTIONS The flag "C<-R>" will cause any changes to the database to be rolled back @@ -416,4 +421,7 @@ L trace enabled =back +In case of issues with the colored output, setting the environment variable +C can be used to suppress it. + =cut