Patton electronics SmartNode Series Software Configuration Manual page 148

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide
The following is an example of how the sniffer is normally used:
Step
Command
1
[name] (cfg)# sniff ethernet
0 1 [wrap]
2
3
[name] (cfg)# no sniff ether-
net 0 1]
4
[name] (cfg)# copy
nvram:ethernet-0-0-1.cap
tftp://tftp.mypc.net/
capture.cap
5
[name] (cfg)# erase
nvram:ethernet-0-0-1.cap
6
Note
It is possible to capture packets on multiple Ethernet ports at the same time.
Using the built-in Ethernet sniffer
Enable the sniffer on ethernet port 0 1. (Normally the sniffer stops
capturing, if the capture buffer is full. However, if the 'wrap' option is
specified, the sniffer starts discarding the oldest packets and retains
the newest ones, if the capture buffer is full.)
Now the sniffer is active and will capture the datapackets on the
specified ethernet port.
Disable the sniffer on ethernet port 0 1. (Note, that the captured
data is not stored to flash memory unless you issue this command)
The file in the flash memory will be named as follows:
nvram:ethernet-0-<slot>-<port>.cap
In this example the name will be:
nvram:ethernet-0-0-1.cap
Copy the capture file via TFTP to a workstation.
Erase the capture file on the system to save flash memory.
Now the capture file capture.cap can be viewed on a workstation
with Ethereal for example.
12 • Ethernet port configuration
Purpose
148

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 5.1

Table of Contents