Checking the mirroring configuration on an S series switch

1

For an S series switch (except the S1700), you can run the following commands to check the mirroring configuration:
- Run the display current-configuration command to check the mirroring configuration in the configuration file of the switch.
- Run the display observe-port command to check the observing port configuration.
- Run the display port-mirroring command to check the configuration of port mirroring, traffic mirroring, VLAN mirroring, and MAC address mirroring.
- Check the MQC-based traffic mirroring configuration and its application.
1. Run the display traffic behavior user-defined [ behavior-name ] command to check the traffic behavior configuration.
2. Run the display traffic classifier user-defined [ classifier-name ] command to check the traffic classifier configuration.
3. Run the display traffic policy user-defined command to check the traffic policy configuration.
4. Run the display traffic policy user-defined policy-name [ classifier classifier-name ] command to check the traffic policy configuration.
5. Run the display traffic-policy applied-record [ policy-name ] command to check the application record of a specified traffic policy.
- Check the ACL-based traffic mirroring application.
Run the following commands to check statistics on the packets matching rules. Before running these commands, run the traffic-statistic command in the system view or the traffic-statistic command in the interface view to configure the ACL-based traffic statistics collection function.
1. display traffic-statistics interface inbound
2. display traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound
3. display traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound acl { bas-acl | adv-acl | user-acl | acl-name | l2-acl } [ rule rule-id ]
4. display traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound acl ipv6 { bas-acl | adv-acl | acl-name } [ rule rule-id ]
5. display traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound acl { acl-name | l2-acl } [ rule rule-id ] acl { bas-acl | adv-acl | acl-name } [ rule rule-id ]

Other related questions:
Checking configurations of an S series switch
You can run the following commands to check configuratio of an S series switch (except the S1700): 1. Run the display current-configuration command to check the current valid configurations. This command does not display parameters that use default settings. 2. Run the display saved-configuration command to check the configuration file to be used for the next startup. 3. Run the display startup command to check the system software, backup system software, configuration file, license file, patch file, and voice file for the current and next startup.

How to check whether mirroring is configured successfully on S series switches
For S series switches, you can use either of the following methods to check whether mirroring is configured successfully: - Run the display interface brief command to check whether the observing port usage is increased. - Check whether the monitoring and packet capture software (such as Wireshark) on the monitoring device directly connected to observing ports have successfully capture packets.

Do S series switches support N:1 or 1:N mirroring
S series switches all support N:1 mirroring, in which packets are copied from N mirrored ports to one observing port, and there is no limit on the number specified by N. 1:N mirroring copies packets on one mirrored port to N observing ports. M:N mirroring copies packets on M mirrored ports to N observing ports. In M:N mirroring, the number of mirrored ports is not limited, and the number of observing ports is the same as that in 1:N mirroring. The observing ports supported by S series switches are different. For details, see: - S1720&S2700&S5700&S6720 series switches 1:N Mirroring Specifications - S7700&S9700 series switches 1:N Mirroring Specifications - S12700 series switches 1:N Mirroring Specifications - S9300&S9300E&S9300X series switches 1:N Mirroring Specifications

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top