beautypg.com

IronPort Systems 4108GL User Manual

Page 410

background image

17-26

Monitoring and Analyzing Switch Operation
Port Monitoring Features

M

o

n

it

o

ri

ng an

d Anal

yz

ing

S

w

it

c

h O

p

e

rat

io

n

You must use the following configuration sequence to configure port monitor-
ing in the CLI:

1.

Assign a monitoring (mirror) port.

2.

Designate the port(s) to monitor.

Displaying the Port Monitoring Configuration.

This command lists the

port assigned to receive monitored traffic and the ports being monitored.

Syntax:

show monitor

For example, if you assign port A6 as the monitoring port and configure the
switch to monitor ports A1 - A3, show monitor displays the following:

Figure 17-20.Example of Monitored Port Listing

Configuring the Monitor Port.

This command assigns or removes a mon-

itoring port, and must be executed from the global configuration level. Remov-
ing the monitor port disables port monitoring and resets the monitoring
parameters to their factory-default settings.

Syntax:

[no] mirror-port [<port-num>]

For example, to assign port A6 as the monitoring port:

HP4108(config)# mirror-port a6

To turn off port monitoring:

HP4108(config)# no mirror-port

Port receiving monitored traffic.

Monitored Ports