cc/td/doc/product/rtrmgmt/sw_ntman/cwsimain/cwsi2/cwsiug2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Using Command-Line Utilities

Using Command-Line Utilities

You can launch all TrafficDirector executable files and utilities directly from the command line. This chapter lists each executable file and utility, along with a short description. To list the arguments for an executable file or utility, enter its name at the command prompt, followed by a space, and press Enter. TrafficDirector lists the arguments, if any.

About Command-Line Utilities

Command-line utilities are an alternative way to launch applications, graphs, daemons, and other utilities from outside the TrafficDirector Graphical User Interface (GUI). Most of the command-line utilities in this chapter have a direct counterpart you can use in the GUI. The functionality is the same, whether you launch from the GUI or from a command-line utility.

Keep in mind that each utility has separate arguments that you can use. For more information about exact syntax and arguments to use with a command-line utility, See the on-line man pages.

Locating Command-Line Utilities

Command line utilities are useful in many different situations. Table 51-1 lists all command-line utilities in alphabetical order and describes each one.

This table lists all command line utilities in alphabetical order, describes the type of each utility, and directs you to the page where you will find the description. After the table, you will find a brief description of each utility, categorized by function, starting on page 49-4.

Utility Description Location
dvadmin Non-interactive utility page 49-4
dvattach Non-interactive utility page 49-5
dvcl Non-interactive utility page 49-5
dvclean Non-interactive utility page 49-5
dvdcap Non-interactive utility page 49-5
dvdeinst Non-interactive utility page 49-5
dvdetach Non-interactive utility page 49-5
dvdomid Non-interactive utility page 49-6
dvdump Non-interactive utility page 49-6
dvevlog Non-interactive utility page 49-6
dvfdstn Non-interactive utility page 49-6
dvftp Non-interactive utility page 49-6
dvget Non-interactive utility page 49-6
dvhelp Non-interactive utility page 49-6
dvhist Non-interactive utility page 49-7
dvhl Non-interactive utility page 49-7
dvinst Non-interactive utility page 49-7
dvlist Non-interactive utility page 49-7
dvlearn Non-interactive utility page 49-7
dvnext Non-interactive utility page 49-7
dvreport Non-interactive utility page 49-7
dvset Non-interactive utility page 49-8
dvsnap Non-interactive utility page 49-8
dvtime Non-interactive utility page 49-8
dvtrsr Non-interactive utility page 49-8
dvwalk Non-interactive utility page 49-8
grconv Graphical utility page 49-8
grdommon Graphical utility page 49-8
grhist Graphical utility page 49-9
grhl Graphical utility page 49-9
grhost Graphical utility page 49-9
grhz Graphical utility page 49-9
grpktmon Graphical utility page 49-9
grreport Graphical utility page 49-9
grstat Graphical utility page 49-9
grsz Graphical utility page 49-9
instlic License installation utility page 49-4
nsaltmon Textual utility page 49-9
nscl Textual utility page 49-10
nsdcap Textual utility page 49-10
nsdomed Textual utility page 49-10
nsdommgr Textual utility page 49-10
nsfdrsl Textual utility page 49-10
nsfilted Textual utility page 49-10
nshl Textual utility page 49-10
nshz Textual utility page 49-10
nslogin Textual utility page 49-11
nsman Textual utility page 49-11
nspdec Textual utility page 49-11
nsproped Textual utility page 49-11
nsrepted Textual utility page 49-11
nsresmon Textual utility page 49-11
nsshell Textual utility page 49-11
nssz Textual utility page 49-11
nstosnif Packet capture conversion utility page 49-4
nstrend Textual utility page 49-11
nstrrsl Textual utility page 49-11
nstrsr Textual utility page 49-12

Miscellaneous Utilities

The following utilities are standalone programs that perform various functions:.

instlic Installs the temporary and permanent TrafficDirector licenses included with your software.
nstosnif Converts a TrafficDirector-format packet capture file to Sniffer format.

Noninteractive Utilities

Noninteractive utilities are tools that you can use "behind the scenes" of the TrafficDirector GUI to administer database tables, event logs, and perform several advanced functions that do not have a GUI. The following noninteractive utilities are available:

dvadmin Maintains the trap destination "admin" table that the specified agent uses to determine which hosts that receive Simple Network Management Protocol (SNMP) trap as the result of a Trap Manager event. Also use dvadmin to add or delete entries or list the contents of this table.
dvattach .Attaches a port or slot as a monitor port for a switch you specify.
dvcl Lists all or some of the contents of the conversation table for the agent and domain you specify.
dvclean Deletes some or all of the Management Information Base (MIB) tables from the agent you specify. You can specify certain types of tables to delete, or not specify any table type to delete all tables (this is the same as a soft reset on the agent).

Note If you use this utility for a multi-interface agent, it deletes MIB tables for all interfaces, not just the interface associated with the specified agent!
dvdcap .In the agent, captures packets associated with a given filter, stops data capture, uploads captured packets from the agent to a file, and deletes data capture in an agent. You can also use this utility as part of a shell script that is executed when a Trap Manager-defined alert is received.
dvdeins tDeinstalls some or all MIB tables associated with a specific domain from the agent specified. You can specify certain types of domain tables to delete, or not specify any table type to delete all domain tables. If you deinstall a domain on an Remote Monitoring 2 (RMON2) probe, it frees agent resources without deleting the domain however, if you deinstall a domain on an RMON probe, the domain is deleted.
dvdetach .Detaches a port or slot as a monitor port for the specified switch you.
dvdomid Gets the agent channel number (instance) associated with a specific domain and writes the result to stdout (if the result is 0, the specified domainis not installed). Use this utility to launch non-TrafficDirector applications that might require the instance of tables associated with a specific domain.
dvdump Dumps agent information or agent MIB tables. Use this utility to troubleshoot by looking at the details of the raw agent MIB tables or by looking at agent information, including IP address, IFN, IFTYPE, and MAC address. If you use this utility to dump agent MIB table information, you can specify to dump certain types of MIB tables or all MIB table types.
dvevlog Dumps internal agent event logs associated with a specific domain (event logs usually correspond to alarms the agent sends when a threshold set in Trap Manager is reached or exceeded).
dvftp .Downloads DLCI configuration information into a specified agent.
dvfdstn Manages and monitors the ring station list of Fiber Distributed Daya Interface (FDDI) agent. Use this utility when you need to create or delete a ring station table that a specific FDDI agent maintains. You can also use this utility to list the status for all stations on the ring or get configuration information for an individual station.
dvge tGets and displays the value of a specified SNMP variable.
dvhelp Provides help with the syntax and arguments for any dv command.
dvhist Lists contents of the agent history table for a specified domain. Use this utility to get the segment statistics history that the agent maintains for a specified domain. You can get either long- or short-term history. For Token Ring agents, you can get either the default promiscuous or non-promiscuous, MAC-level history.
dvhl Lists some or all of the contents of the host table for the specified agent and domain.
dvinst Installs domains at a specified agent. This utility can be used instead of the interactive Domain Manager application on TrafficDirector main window.
dvlearn .Autodiscovers complex devices on a network segment, such as ports on a switch and Frame Relay agent DLCI ports. The results of this command line utility may automatically create files, such as the x.swp files (for learned switch ports) and x.frp files (for learned Frame Relay DLCI ports).
dvlist Lists the domains installed at an agent, including the host mode that the domain uses for host and conversation tables, and the yes/no flags that indicate which tables are installed that are associated with the domain. If you redirect the displayed output when you use the dvlist utility to a file, you can use it as the configuration file for the dvinst utility.
dvnex tGets and displays the next SNMP variable defined in the MIB table after the one you specify with the dvnext utility.
dvreport Generates reports noninteractively. Use this utility at the command line or from a script to generate tabular and CSV reports noninteractively.
dvset Sets the value of an SNMP variable you specify to an OID type (-i for integer, -s for string, -h for MAC address, and -o for object identifier) and a corresponding value. Use this utility to change the type and value of an SNMP variable.
dvsnap Provides a snapshot of domain activity for a short-term period. Use this utility to display segment, host, or conversation statistics for a specified interval.
dvtime Converts time intervals to timestamps suitable for use with the dvreport utility. Use this utility to help generate daily, weekly, or monthly reports noninteractively. You can pass the output of dvtime as start time and end time timestamp command-line arguments to the dvreport utility.
dvtrsr Manages and monitors the source routing table aToken Ring agent. Use this utility to create or delete the source routing table maintained by a Token Ring agent. You can also use this utility to list the contents of the table.
dvwalk Gets and displays all SNMP variables defined in an MIB table, starting from a variable you specify.

Graphical Utilities

The following applications feature graphical displays that you can launch from the command line:

grconv Displays a real-time graph of a domain-based conversation between two hosts. Corresponds to the Conversation Stats graph GUI.
grdommon Displays a simultaneous domain activity graph for multiple agents and domains in bar or pie chart format. Corresponds to the Protocol Monitor GUI.
grhist Displays a historical graph of segment statistics for a specified domain; you can display either a short-term or long-term history graph. Corresponds to the Segment History graph GUI.
grhl Displays a bar chart of the top 20 hosts that meet the sort criteria you define for the specified domain. Corresponds to the Host List graph GUI.
grhost Displays a graph of domain-based traffic for a selected host. Corresponds to the Host Stats graph GUI.
grhz Displays a bar chart of the top 16 host conversations that meet the sort criteria you define. Corresponds to the Host Zoom graph GUI.
grpktmon Displays the segment activity for multiple agents and domains in bar or pie chart format. Corresponds to the Traffic Monitor GUI.
grreport Generates graph-based reports non-interactively. Corresponds to the Trend Reporter GUI.
grstat Displays a graph of segment statistics for the agent and domain you specify. Corresponds to the Segment Details graph GUI.
grsz Displays graphs for multiple domain statistics you specify. Corresponds to Segment Zoom graph GUI.

Textual Utilities

The following applications feature textual displays that you can launch from the command line:

nsaltmon Displays SNMP traps collected from TrafficDirector probes. Corresponds to the Alert Monitor GUI.
nscl Displays cumulative conversation traffic for all hosts in a specified domain. Corresponds to the Conversation List GUI.
nsdcap Lets you configure an agent data capture session by specifying filter information, buffer and slice size, among others. Also lets you upload captured data from the agent buffer to a disk file; you can analyze this later using Protocol Decode. Corresponds to the Data Capture GUI.
nsdomed Lets you create, edit, or view a domain definition or get a list of all defined domains. Corresponds to the Domain Editor GUI.
nsdommgr Lets you view installed domains for a single agent or a group of agents. Also gives a summary of the current domain activity for scoped agents and domains. Corresponds to the Domain Discovery GUI.
nsfdrsl Displays a list of stations on the agent FDDI ring you specify, including the ring status and configuration information for each station. Corresponds to the FDDI Ring Station List GUI.
nsfilted Lets you create, edit, or view a filter definition. Also lets you get a list of all defined filters. Corresponds to the Filter Editor GUI.
nshl Displays a list of cumulative inbound and outbound traffic for all hosts in the domain you specify. Corresponds to the Host List GUI.
nshz Displays the current domain-based traffic activity for the host you specify, including a list of top conversations with other hosts. Corresponds to the Host Zoom GUI.
nslogin Gives you remote access to the SwitchProbe configuration menu, without requiring a local serial port connections. Corresponds to the Remote Login GUI.
nsman Starts the main TrafficDirector window that you use to configure switches, agents, and agent groups. Also lets you launch other GUI tools.
nspdec Decodes packets that are captured and uploaded from an agent using the Data Capture application. Corresponds to the Protocol Decode GUI.
nsproped Lets you edit the agent Settings files.
nsrepted Launches the Report Editor.
nsresmon Configures an agent you specify to perform proxy IP pings or proxy SNMP polls. Corresponds to the Round Trip Delay GUI.
nsshell For model 9450 (Windows platform) only, provides a command-line execution environment for non-GUI applications. Most command line tools are part of the shell and run within the shell context. Corresponds to the Command Shell.
nssz Displays a tabular-form summary of segment traffic for a specified domain. Corresponds to the Segment Zoom GUI.
nstrend Lets you generate frontier-defined reports. Corresponds to the Trend Reporter GUI.
nstrrsl Displays a list of stations on the specified agent Token Ring ring, including ring status and configuration information for each station. Corresponds to the Token Ring Station List GUI.
nstrsr Displays source routing information for the specified agent Token Ring. Corresponds to the Source Route Monitor GUI.

TrafficDirector Background Daemons

The following TrafficDirector daemons are started automatically when you run the software:.

dbautod Database autoreporter daemon.
dbextrad Database extraction daemon.
dbrolld Database rollup daemon.
dbsnapd Database snapshot daemon.
dvconfd Agent configuration daemon.
dvtrapd SNMP trap daemon.
dbchckd Process that checks to make sure that all other daemons are running.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.