Monitoring and Analyzing Switch Operation

Port and Static Trunk Monitoring Features

To turn off monitoring:

HPswitch(config)# no mirror-port

Selecting or Removing Ports and Static Trunks 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 and static trunks as monitoring sources. You can also use either level to remove moni­ toring sources.

Syntax: [no] interface ethernet < monitor-list> monitor

where: < monitor-list> includes port numbers and static trunk names such as a4, c7, b5-b8, and trk1.

Elements in the monitor list can include port numbers and static trunk names at the same time.

For example, with a port such as port A6 configured as the monitoring (mirror) port, you would use either of the following commands to select these ports and static trunks for monitoring:

A1 through A3, and A5

Trunks 1 and 2

Selects the interface context level, then selects the ports as monitoring sources.

From the global config level, selects ports and trunks for monitoring sources.

Figure B-22. Examples of Selecting Ports and Static Trunks as Monitoring Sources

These two commands show how to disable monitoring at the interface context level for a single port or all ports in an interface context level.

These two commands show how to disable monitoring at the global config level for a single port or a group of ports .

Figure B-23. Examples of Removing Ports as Monitoring Sources

B-28