Configuring the ADTRAN (AOS) Switch for Port Mirroring

Complete one of these tasks to configure the ADTRAN Operating System (AOS) Switch for port mirroring, either through the switch CLI or the switch web UI.

Configuration Through the CLI

To configure the device through the CLI

  1. Open a monitor session.
  2. Specify the port to be mirrored (the source port).

    (config)#monitor session 1 source interface ethernet 0/<source_port>

  3. Specify the port that is going to mirror the traffic (the destination port).

    (config)#monitor session 1 destination interface ethernet 0/<destination_port>

    Note: There can be only one monitor session. Therefore, the only available monitor session is "1."

  4. Verify the configuration of the mirrored ports.

    Switch#show monitor session all

Configuration Through the Web UI

To configure the device in the web UI

  1. Go to Utilities > Port Mirroring.
  2. Choose Destination Port and select the proper port from this menu.
  3. (Optional.) Select the No-Tag option so as not to tag virtual local area network (VLAN) traffic.
  4. Select the Source Port to mirror from the menu.
  5. Click Add.

    Note: If you want to add additional source ports to monitor, select another port from the Source Port menu and click Add.

  6. In the command-line interface (CLI), you can verify the configuration of the mirrored ports.

    Switch#show monitor session all

To learn more about configuring port mirroring on AOS switches, refer to the Configuring Port Mirroring on AOS document on the vendor website.