Port Mirroring is a method used to monitor network traffic. With Port Mirroring, copies of incoming and outgoing packets at the ports (Source Ports) of a network device are forwarded to another port (Target Port) where the packets are studied. This is used as a diagnostic tool by the network administrator.
This article explains how to mirror ports and VLAN on the ESW2-550X stackable managed switch.
• ESW2-550X
• ESW2-550X-DC
• 1.2.9.44
Step 1. Log in to the web configuration utility and choose Administration > Diagnostic > Port and VLAN Mirroring. The Port and VLAN Mirroring page opens:
Step 2. Check the Destination Port check box to enable filter. This option allows you to filter the Port and VLAN Mirroring Table based on the destination port manually.
Step 3. Choose the destination port from the Destination Port drop-down list.
Step 4. Click Go.
Step 1. Click Add to add a new port or VLAN mirror. The Add Port and VLAN Mirroring page opens:
Step 2. Choose the destination port from the Unit/Slot and Port drop-down list. This is the port to which packet copies are sent. If a port is identified as an analyzer destination port, it remains the analyzer destination port until all entries are removed.
Step 3. Click the radio button for the desired source interface. and choose from the drop-down list. The available options are:
• Unit/Slot and Port — The unit identifies the switch whether it is active or a member in the stack, unit 1 is active and unit 2 is a member. If you are unfamiliar with the terms used, check out Cisco Business: Glossary of New Terms. The slot identifies whether the switch is ESW2-550 or ESW2-550X, slot 1 is ESW2-550 and slot 2 is ESW2-550X. Choose the desired option from the Unit/Slot drop-down list. Choose which port to set as the source port from the Port drop-down list.
• VLAN — Choose the desired VLAN to monitor from the VLAN drop-down list. A VLAN helps a group of hosts to communicate as if they are on the physical network, regardless of their location.
Note: The Source Interface port cannot be the same as the Destination Port.
Step 4. If Unit/Slot and Port is clicked in Step 3, click the desired Type radio button for the type of traffic to monitor. The available options are:
• Tx — This option allows port mirroring on outgoing packets.
• Rx — This option allows port mirroring on incoming packets.
• Tx and Rx — This option allows port mirroring on incoming and outgoing packets.
Step 5. Click Apply.
Step 1. Check the check box for the desired entry from the Port and VLAN Mirroring Table to be edited.
Step 2. Click Edit. The Edit Port and VLAN Mirror page opens:
Step 3. Click the desired Type from the available options:
• Tx — This option allows port mirroring on outgoing packets.
• Rx — This option allows port mirroring on incoming packets.
• Tx and Rx — This option allows port mirroring on incoming and outgoing packets.
Note: If VLAN is chosen as the source interface it cannot be edited.
Step 4. Click Apply.
Step 1. Check the check box for the desired entry from the Port and VLAN Mirroring Table to be deleted.
Step 2. Click Delete.