Configuring mac address mirroring, Figure 3-105, Mac address mirror configuration – LevelOne FGL-2870 User Manual

Page 232

Advertising
background image

Configuring the Switch

3-178

3

Configuring MAC Address Mirroring

You can mirror traffic matching a specified source address from any port on the
switch, except for the target port, to a target port for real-time analysis. You can then
attach a logic analyzer or RMON probe to the target port and study the traffic
crossing the source port in a completely unobtrusive manner.

Command Usage
• When mirroring traffic from a MAC address, ingress traffic with the specified source

address entering any port in the switch, other than the target port, will be mirrored
to the destination port.

• All mirror sessions must share the same destination port.
• Spanning Tree BPDU packets are not mirrored to the target port.
• When mirroring port traffic, the target port must be included in the same VLAN as

the source port when using MSTP (see "Spanning Tree Algorithm Configuration"
on page 3-188
).

Command Attributes
Mirror Sessions – Displays a list of current mirror sessions.
Source MAC Address – MAC address in the form of xx-xx-xx-xx-xx-xx or

xxxxxxxxxxxx.

Destination Port – The port that will mirror the traffic from the source port.

(Range: 1-28/52)

Web – Click Port, MAC Mirror Configuration. Specify the source MAC address and
destination port. Then click Add.

Figure 3-105 MAC Address Mirror Configuration

CLI – Use the interface command to select the monitor port, then use the port
monitor command to specify the source MAC address to be mirrored.

Console(config)#interface ethernet 1/1

4-220

Console(config-if)#port monitor mac-address 11-22-33-44-55-66

4-260

Console(config-if)#port monitor mac-address 11-22-33-44-55-77

4-260

Console(config-if)#

Advertising