Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    VLAN Discovery Text Mode

    VLAN Discovery task is also available from the command line interface. This scripted version is useful in situations where the IP/MPLSView application is running on a different machine than the machine used to poll the layer 2 devices. Some additional polling configuration options are also available only to the text mode. Note that the text mode is an advanced feature of VLAN discovery requiring a separate license.

    To run VLAN discovery, a parameter file is used for SNMP polling, which provides the IP addresses or IP address range(s) and the corresponding SNMP community string.

    The following collect.sh script can be placed in the /u/wandl/bin directory:

    #!/bin/sh
    # Please check 3 important prerequisites: #
    1) do you have java? Verify by "java -version
    # 2) env variable WANDL_HOME
    # 3) DO NOT FORGET to set a dummy -spec_dir
    WANDL_HOME=/u/wandl
    export WANDL_HOME
    
    WLIB=$WANDL_HOME/lib/wandl TLIB=$WANDL_HOME/lib/thirdparty LD_LIBRARY_PATH=$WANDL_HOME/thirdparty/ucdsnmp/lib:$WANDL_HOME/lib/wandl/:$LD_LI BRARY_PATH
    export LD_LIBRARY_PATH /u/wandl/java/bin/java -Xmx512M -Xms512M -classpath $WLIB/bki.jar:$WLIB/beans.jar:$WLIB/event. jar:$WLIB/tmng.jar:$TLIB/commons-collections-3.1.jar:$TLIB/commons-configuration -1.1.jar:$TLIB
    /commons-lang-2.0.jar:$TLIB/commons-logging.jar -DWANDL_HOME=$WANDL_HOME taskobj.VLANDiscoveryTask $1

    The script should be run with a parameter file with the following syntax:

    Usage: ./collect.sh <param_file>

    Modified: 2016-11-08