set interface ethernet-switching-options analyzer input


Port mirroring, is the duplication of traffic from a set of source ports onto a destination port. User can configure port mirroring to monitor and analyze source port traffic.

The set interface ethernet-switching-options analyzer input command configures source port, traffics of which need to be monitored. User can use the set interface ethernet-switching-options analyzer output command configure destination port.


Command Syntax

set interface ethernet-switching-options analyzer <string> input <ingress | egress> <port>

delete interface ethernet-switching-options analyzer <string> input <ingress | egress> <port>


Parameter

Parameter

Description

<string> 

Specifies the name of a mirror, should consist of letters and/or numerals.

<ingress | egress>

Specifies the traffic direction of a source port.

<port>

 Specifies ethernet switching port identifier of the source port.

NOTE:

  • For Tomahawk platform switches, port mirroring can not be applied on both direction of the same source interface, that is, you can configure either ingress or egress traffic on the same source interface.
  • One chassis switch supports a maximum of four input rules. For example, the following configurations are two input rules of analyzer 111 for the same source interface ge-1/1/3 of two different directions, ingress and egress.

    admin@XorPlus# set interface ethernet-switching-options analyzer 111 input ingress ge-1/1/3

    admin@XorPlus# set interface ethernet-switching-options analyzer 111 input egress ge-1/1/3

 


Example
• Configure ge-1/1/3 as the mirrored port, and ge-1/1/4 as the observing port.

admin@XorPlus# set interface ethernet-switching-options analyzer 111 input ingress ge-1/1/3
admin@XorPlus# set interface ethernet-switching-options analyzer 111 input egress ge-1/1/3
admin@XorPlus# set interface ethernet-switching-options analyzer 111 output ge-1/1/4
admin@XorPlus# commit 
 
 

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.