![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
perl ospfviz.pl --help
for command line help.
-d <#> | Set the debug level. The higher the level the more output OSPFviz will dump on the screen. |
-f <format> | create graph with this format (e.g. graphviz or hypergraph) |
-r <file> | Read the network topology from file |
-w <file> | Store the discovered OSPF topology in a file. Usefull when finetuning the graph layout without rediscovering the entire network for every try |
-s <StartDevice> | Explore the OSPF network starting from this device. Overwrites the device specified in the config file. Can be an IP address or hostname. |
-a | Run the OSPF analyser on the topology. |
-D <device> | discover a single device. This works only for devices that already exist in the topology file, so use it in conjunction with -r and -w only. For new devices use -s |
-C <file> | use an alternate config file. By default the file ospfviz.conf is used |
-l <file> | Log all debug messages to this file |
-b | Do not check the configuration file for syntax errors |
-v | print version and revision of core files |
ospfviz.conf
. This config file is divided into four categories:
DebugLevel = 0,1,2
@DEBUGNAMES
variable inside ospfviz.pl
to learn which topic fits to which level.Logging = 0
PathToLogFile = /var/log/ospfviz.log
NetdiscoLink = http://netdiscohost/netdisco/
StartRouter = 212.17.39.65
SNMPcommunity = public
SNMPversion = 2,3
SNMPretries = 1
SNMPtimeout = 2
SNMPusername = stubbim,admin
SNMPauthkey =
SNMPauthpassword = testmeme,adminpwd
SNMPauthprotocol = md5,md5
SNMPprivkey =
SNMPprivpassword =
SNMPprivprotocol =
SNMPprivkey
blank but the second assigned, use the form SNMPprivkey = ,mysecretkey
QueryDelay = 1
discover_no = 10.0.0.0/8,155.19.3.17
GraphFormat = hypergraph
GraphSizeWidth = 800
GraphSizeHeight = 600
IncludeAnalyser = true
PerformCheck01 = 0
PerformCheck02 = 1
PerformCheck03 = 1
PerformCheck04 = 1
PerformCheck05 = 1
PerformCheck06 = 1
PerformCheck07 = 1
PerformCheck08 = 1
PerformCheck09 = 1
PerformCheck10 = 1
DebugLevel = 0,1,2