Protocol Analyzer
Using the protanal Command
5967–9446 405
Using the protanal Command
Many of Protocol Analyzer’s features can be driven from the command
line. This capability, for example, lets you create scripts that start, stop,
and arm packet capture instances on multiple agents.
The protanal command syntax depends on whether you want to access
an RMON agent or use local mode.
RMON Agent protanal –agent agent_host
[–interface ifIndex-n]
[ [–arm | –start | –stop | –remove] –instance instname]
[–setting settingsfile]
[–list]
[–datafile tracefile]
Trace File protanal –datafile file_path
[–interface ifIndex-n]
[ [–start | –stop | –remove] –instance instname]
[–setting settingsfile]
[–list]
[–datafile tracefile]
–agent
agent_host
Runs Protocol Analyzer on the specified RMON agent; specify the agent’s
telemetry IP address or hostname.
–interface ifIndex-
n
Uses the specified interface number. For example, to use Protocol
Analyzer on the second interface, specify the command
protanal –interface ifIndex-2.
–arm
Arms the instance named instname without launching Protocol
Analyzer.
–start
Starts the instance named instname without launching Protocol
Analyzer. For local mode, you can also use the protanald command.
Comments to this Manuals