
Monitoring and Analyzing Switch Operation
Interface Monitoring Features
Port receiving monitored traffic.
Monitored Ports
Figure B-20. Example of Monitored Port Listing
Configuring the Monitor Port.
Syntax:
[no] mirror-port [< port-num >]
This command assigns or removes a monitoring port, and
must be executed from the global configuration level. Removing
the monitor port disables port monitoring and resets the
monitoring parameters to their factory-default settings.
For example, to assign port A6 as the monitoring port:
HPswitch(config)# mirror-port a6
To turn off monitoring:
HPswitch(config)# no mirror-port
Selecting or Removing Monitoring Source Interfaces. After you con-
figure a monitor port you can use either the global configuration level or the
interface context level to select ports, static trunks, meshed ports, or VLANs
as monitoring sources. You can also use either level to remove monitoring
sources.
Syntax: [no] interface < monitor-list | vlan < vlan-id>> monitor
where: < monitor-list > includes port numbers, static trunk names,
and meshing, such as a4, c7, b5-b8, trk1, and mesh.
Identifies the switch elements to monitor through the currently
configured monitor port. You can monitor either one VLAN or
the port(s), static trunk(s), and any switch mesh available on
the switch.
B-26
Komentarze do niniejszej Instrukcji