# Port Mirroring using EDM

The following sections describe Port Mirroring.

## Viewing Port Mirroring using EDM

View Port Mirroring to troubleshoot the network.

### Procedure steps

1. From the navigation tree, double-click Edit.

2. In the Edit tree, double-click Diagnostics.

3. In the Diagnostics tree, double-click Port Mirrors.

### Variable definitions

Use the data in the following table to help you understand the Port Mirroring parameters.

Variable | Value
--- | ---
Instance | Specifies the numerical assignment of the port mirroring.
Port Mode | Specifies the port monitoring mode.
Monitor Port | Identifies the monitoring port.
PortListX | Identifies the ports monitored for XrX/Xtx, and manytoOne related mode.
PortListY | Identifies the ports monitored for Yrx/Ytx related mode.
MacAddressA | Specifies the MAC address of the monitored port using Sarc/Adst related mode.
MacAddressB | Specifies the MAC address of the monitored port using Bsrc/Bdst related mode.
AllowTraffic | Indicates whether bi-directional mirroring traffic is enabled.
RspanVlan | Indicates the RSPAN VLAN ID

## Configuring Port Mirroring using EDM

Configure Port Mirroring to troubleshoot the network.

### Procedure steps

1. From the navigation tree, double-click Edit.

2. In the Edit tree, double-click Diagnostics.

3. In the Diagnostics tree, double-click Port Mirrors.

4. In the work area, click Insert

5. In the Instance box, type an instance number.

6. In the PortMode section, click a mode.

7. Click the MonitorPort ellipsis (...).

8. In the MonitorPort list, click a monitor port.

9. Click Ok.

10. If the PortMode is Xrx, Xtx,or both, or manytoOne releated modes, click the PortListX ellipsis (...).

11. In the PortListX list, click a port, ports, or All to add to the list.

12. Click Ok.

13. If the PortMode is Yrx, Ytx, or both related modes, click the PortListY ellipsis (...) .

14. In the PortListY, click a port, ports, or All to add to the list.

15. Click Ok.

16. If the PortMode is Asrc, Adst, or both related modes, in the MacAddressA, type an address.

17. If the PortMode is Bsrc, Bdst, or both related modes, in the MacAddressA, type an address.

18. To enable bi-directional traffic, click the AllowTraffic box.

19. Click the RspanVlan ellipsis (...).

20. In the RspanVLan list, click a VLAN ID.

21. Click Ok.

22. Click Insert.

### Variable definitions

Use the data in the following table to help you understand the Port Mirroring parameters.

Variable | Value
--- | ---
Instance | Indicates the Port Mirroring instance number.
PortMode | Indicates the supported Port Mirroring modes. The modes are: Adst—Mirror packets with destination MAC address A. Asrc—Mirror packets with source MAC address A. AsrcBdst—Mirror packets with source MAC address A and destination MAC address B. AsrcBdstOrBsrcAdst—Mirror packets with source MAC address A and destination MAC address B or packets with source MAC address B and destination MAC address A. AsrcOrAdst—Mirror packets with source or destination MAC address A. manytoOneRx—Many to one port mirroring on ingress packets. manytoOneRxTx—Many to one port mirroring on ingress and egress traffic. manytoOneTx—Many to one port mirroring on egress packets. Xrx—Mirror packets received on port X. XrxOrXtx—Mirror packets received or transmitted on port X. XrxOrYtx—Mirror packets received on port X or transmitted on port Y. XrxYtx—Mirror packets received on port X and transmitted on port Y. This mode is not recommended for mirroring broadcast and multicast traffic. XrxYtxOrXtxYrx—Mirror packets received on port X and transmitted on port Y or packets received on port Y and transmitted on port X. Xtx—Mirror packets transmitted on port X. The default value is Disabled.
MonitorPort | Specifies the monitor port.
PortListX | Indicates the switch port to be monitored by the designated monitor port. This port is monitored according to the value X in the Monitoring Mode field.
PortListY | Indicates the switch port to be monitored by the designated monitor port. This port is monitored according to the value Y in the Monitoring Mode field.
MacAddressA | Specifies the mirroring MAC address A.
MacAddressB | Specifies the mirroring MAC address B.
AllowTraffic | Indicates whether bi-directional traffic is enabled.
RspanVlan | Indicates the RSPAN VLAN ID.