JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

Port Mirroring Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

Port Mirroring Overview

Port Mirroring Description

Supported CLI Commands

Configuring Port Mirroring

Example Configuration

Configuring Port Mirroring

Configure Port Mirroring

Show Commands

Common Erroneous Configuration

Common Errors

Configure Port Mirroring

  1. Assign the mirroring source interface.

    Enables packet forwarding for this interface.

    SEFOS-01# configure terminal
    SEFOS-01(config)# monitor session 1 source interface extreme-ethernet 0/1 both
    SEFOS-01(config)# end

    Note - The command allows to mirror either rx/tx or both packets. In this case we enable both ingress and egress packets to be forwarded.


  2. Assign the mirroring destination interfaces.

    These are the interfaces to which packets are forwarded.

    SEFOS-01# configure terminal
    SEFOS-01(config)# monitor session 1 destination interface extreme-ethernet 0/3 secondary interface extreme-ethernet 0/4 vlan 100
    SEFOS-1 (config)# end

    Note - The use of the secondary interface is optional. You could use monitor session 1 destination interface Ex 0/3, and Ex 0/3 would be the only destination interface.



    Note - A maximum of three secondary destination interfaces are allowed per session.



    Note - You must assign a VLAN when you configure a secondary interface.


  3. Disable spanning tree on the primary destination interface.

    Note - This is only required when you configure a secondary destination interface.


    SEFOS-1 # configure terminal
    SEFOS-1 (config) # interface extreme-ethernet 0/3
    SEFOS-1 (config-if) # spanning-tree disable
    SEFOS-1 (config)# end
  4. (Optional) Create multiple sessions (maximum 4).
    SEFOS-1 # configure terminal
    SEFOS-1 (config) # monitor session 2 destination interface extreme-ethernet 0/10
    SEFOS-1 (config) # monitor session 2 source interface extreme-ethernet 0/12 rx
    SEFOS-1 (config)# end

    Source or destination ports of one session cannot be used in another session.