Starting a port monitoring session (pmon), Starting a port monitoring session (pmon) -63 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 605

Advertising
background image

Port Monitoring

Page 19-63

Starting a Port Monitoring Session (pmon)

You enable a port monitoring session through the

pmon

command. To start a session, enter

pmon

followed by the slot and port number that you want to monitor. For example, to moni-

tor a port that is the first port in the fourth slot of the switch, you would enter

pmon 4/1

You can only monitor Ethernet 10BaseT ports. If a port is already being mirrored (enabled
through the

addvp

or

modvp

command) you cannot monitor it. Also, you cannot set up more

than one monitoring session on the same port.

If the port is currently being monitored, or mirrored, the following message displays:

Port 4/1 is being monitored.
Disable monitoring? (y)

If the port is not being monitored, or mirrored, the following message displays:

Port 4/1 is not being monitored, or mirrored.
Enable monitoring? (y)

Enter a

Y

and press

<enter>

at this prompt. The following screen of options displays:

Slot/Port

: 5/1

RAM disk size

1000 Kilobytes

Capture to filename

: y

Capture filename

: PMONITOR.ENC

Dump to screen

: y

Broadcast frames

: y

Multicast frames

: y

Unicast frames

: y

Change any of the above (y/n)? (n) :

If you want to change any of the values, enter a

Y

and press

<enter>

. You will be prompted

for all of the values in the screen except the

RAM disk size

, which you must change through

the

pmcfg

command before starting the session. The information selected in this screen will

be saved in flash configuration memory.

Enter any new values as prompted. The above screen re-displays to show the new values.
Press

<enter>

to accept the updated values. Messages similar to the following display:

1048576 byte RAM drive /ram already initialized.
Bytes remaining on RAM disk = 1040384

The port monitoring session has begun. What happens at this point depends on whether you
chose the

Dump to screen

option. The sections below describe what happens in each case.

Note

If you change the capture filename from the default,
you must specify

/ram

. Otherwise, the file will be saved

in the flash directory.

Advertising