![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650326.webp)
10-24
Monitoring and Analyzing Switch Operation
Port Monitoring Features
M
oni
to
ri
n
g
and
An
al
yzi
n
g
Sw
itc
h
Op
e
ra
tio
n
Figure 10-19.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 12 as the monitoring port:
SMC6624M(config)# mirror-port 12
To turn off port monitoring:
SMC6624M(config)# no mirror-port
Selecting or Removing Ports or VLANs As Monitoring Sources.
After
you configure a monitor port you can use either the global configuration level
or the interface context level to select ports or VLANs as monitoring sources.
You can also use either level to remove monitoring sources.
Syntax:
[no] monitor [vlan <vlan-id> | interface ethernet <port-list>]
N o t e
For port interface and VLAN commands such as
monitor
, the command line
accepts only one parameter at a time (instead of combining several in one
command).
For example, with a monitoring (mirror) port configured (above), you could
select ports 1 and 2 for monitoring:
SMC6624M> show mirror-port
Network Monitoring Port
Mirror Port: 12
Monitoring sources
------------------
1
2
3
Port receiving monitored traffic.
Monitored Ports