Set up and enable a port mirroring session
You can mirror (copy) traffic of multiple physical ports and LAGs to a single destination port (the probe). The mirrored traffic can be incoming, outgoing, or both incoming and outgoing traffic.
To set up and enable a port mirroring session:
- Open a web browser and log in to the device UI using your login details and device admin password.
The Dashboard page displays.
- Select Monitoring > Port Mirroring.
The Port Mirroring page displays the Port Mirroring Sessions section.
- Click the number for a session ID.
The session IDs from 1 through 4 are hyperlinks.
The page displays the Session Configuration and Source Interface Configuration sections.
- In the Source Interface Configuration section, do the following to select the source ports:
- From the Filter By menu, select to display ports only (Ports), LAGs only (LAG), or both ports and LAGs (All).
- Select one or more source ports, LAGs, or both by taking one of the following actions:
- To select a single port or LAG, select the check box associated with the port, or type the port number (for example, xg5) in the Search field and click the Go button.
- To select multiple ports, LAGs, or both, select the check box associated with each port and LAG.
- Click the Edit button.
The Edit Source Interface Configuration pop-up window displays.
- From the Direction menu, select the direction of the traffic that must be mirrored:
- None: No traffic is copied to the destination port. The port is not part of the port mirroring session. This is the default.
- Tx and Rx: Transmitted (Tx) and received (Rx) packets are copied to the destination port.
- Rx: Received packets only are copied to the destination port.
- Tx: Transmitted (Tx) packets only are copied to the destination port.
- Click the Save button.
Your settings are saved. The page displays the Session Configuration and Source Interface Configuration sections again.
- In the Session Configuration section, from the Destination Port menu, select the destination port to which traffic must be copied.
You can select one destination port only.
- In the Session Configuration section, click the Port Mirroring toggle to enable the port mirroring session:
- The toggle is gray and positioned to the left: The port mirroring session is disabled. This is the default setting.
- The toggle is purple and positioned to the right: Port mirroring session is enabled.
- Click the Apply button.
Your settings are saved. The Port Mirroring Sessions section displays again.