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.
The objective of this document is to explain how to mirror ports and VLANs on Sx500 Series Stackable Switches.
• Sx500 Series Stackable Switches
• 1.3.0.62
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 the 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. (Optional) Choose the destination unit, slot, and port from the Unit/Slot and Port drop-down lists. 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 type, and choose the interface from the drop-down list(s). The available options are:
• Unit/Slot and Port — The unit identifies whether the switch is active or member in the stack (unit 1 is active and unit 2 is member). The slot identifies what type of switch is used (slot 1 is SF500 and slot 2 is SG500). 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. If you are unfamiliar with the terms used, check out Cisco Business: Glossary of New Terms.
• 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 same physical network, regardless of their location.
Note: The Source Interface cannot be the same as the Destination Port.
Step 4. If Unit/Slot and Port are 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 of outgoing packets.
• Rx — This option allows port mirroring of incoming packets.
• Tx and Rx — This option allows port mirroring of incoming and outgoing packets.
Step 5. Click Apply.
Step 1. Check the check box for the desired entry to be edited from the Port and VLAN Mirroring Table.
Step 2. Click Edit. The Edit Port and VLAN Mirror page opens:
Note: If VLAN is chosen as the source interface it cannot be edited.
Step 3. Click the desired Type from the available options:
• Tx — This option allows port mirroring of outgoing packets.
• Rx — This option allows port mirroring of incoming packets.
• Tx and Rx — This option allows port mirroring of incoming and outgoing packets.
Step 4. Click Apply.
Step 1. Check the check box for the desired entry to be deleted from the Port and VLAN Mirroring Table.
Step 2. Click Delete.