Reset Search
 

 

Article

ERS 4900 How to configure Many to Many port-mirroring

« Go Back

Information

 
TitleERS 4900 How to configure Many to Many port-mirroring
Objective
Port mirroring configuration for BOSS switches.
Environment
ERS 4900
ERS 4800
BOSS
Procedure
Displaying port-mirroring
  1. Enter Privileged EXEC mode: enable
  2. Display port mirroring: show port-mirroring

Configuring port-mirroring
  • Enter Global Configuration mode: 
enable
configure terminal
  • Configure port-mirroring example:
port-mirroring 2 mode XrxorYtx monitor-port 1/10 mirror-port-X 1/11 mirror-port-Y 2/14 mirror-vlan 20 rspan-vlan 200

Variable definitions:
VariableValue
<1-4>Port-mirroring instance number. Default is 1.
allow-trafficEnables bi-direction Monitor Port.
Note:
You cannot use this parameter to configure
RSPAN sessions, because the local monitoring
port allows traffic by default during an RSPAN
session. If the allow-traffic parameter is
used with the rspan-vlan <VID> parameter,
an error message is displayed.
AdstMirror packets with destination MAC address A.
AsrcMirror packets with source MAC address A.
AsrcBdstMirror packet with source MAC address A and destination MAC address B.
AsrcBdstOrBsrcAdstMirror packets with source MAC address A and destination MAC address B or packets with source MAC address B and destination MAC address A.
AsrcOrAdstMirror packet with source or destination MAC address A.
ManyToOneRxMirror many to one port mirroring on ingress and egress packets.
ManytoOneRxTxMirror many to one port mirroring ingress and egress traffic.
ManyToOneTxMirror many to one port mirroring on egress packets.
XrxMirror packets received on port X.
XrxOrXtxMirror packets received or transmitted on port X.
XrxOrYtxMirror packets received on port X or transmitted on port Y.
XrxYtxMirror packets received on port X and transmitted on port Y.
XrxYtxOrYrxXtxMirror packets received on port X and transmitted on
port Y, or packets received on port Y and transmitted
on port X.
XtxMirror packets received on port X .
mirror-vlan <VID>Enables VLAN port-mirroring and specifies the source/destination VLAN for mirrored traffic.
rspan-vlan <VID>Enables remote port-mirroring and specifies the VLAN for mirrored traffic.
Additional notes
Many-to-Many Port Mirroring limitations and restrictions

You can use many-to-many port mirroring on both pure stacks and standalone boxes. 

You cannot configure a monitor port (MTP) that is a mirrored port for another MTP. Frames mirrored to one MTP are not taken into account in MAC address-based mirroring on another MTP.

If you configure a port to be egress-mirrored in one instance, then that port cannot be egress-mirrored in another instance (to another MTP). Similarly, if you configure a port to be ingress-mirrored, then the system prohibits that port to be ingress-mirrored in another instance. The system allows a port to be ingress-mirrored in one instance and egress-mirrored in another.

The ports you configure as monitor ports may be allowed to participate in normal frame switching operation or be used as management ports, provided that you enable port mirroring with the allow traffic option.

You can configure up to four monitor ports.

You can configure multiple instances by using the existing interface in CLI or EDM. The system attaches one monitor port (MTP) to each instance. In some cases a monitor port can be used in more than one instance.

You cannot configure a port as a monitor port if it exists as part of an MLT group.

For MAC base modes: Asrc, Adst, AsrcBdst, AsrcBdstOrBsrcAdst, AsrcOrAdst and port based modes: XrxYtx, XrxYtxOrYrxXtx port-mirroring, you need to install filters to enable port mirroring. The application may not function in these modes if platform resource limits are reached.

Note:
Each of the XrxorXtx, XrxOrYtx, ManyToOneRxTx modes needs twice the hardware resources of a usual port mirroring instance. This means whenever you use one or more of these modes, instead of configuring up to four port-mirroring instances, you can only configure up to:
  • two instances, if both instances are of type XrxOrYtx or ManyToOneRxTx, in any combination
  • three instances if one, and only one, of these instances is of type XrxorXtx or XrxOrYtx or ManyToOneRxTx
  • four instances can be configured if two of these instances are of type XrxorXtx.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255