17-Network Management and Monitoring Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C SecPath M9000 Configuration Guide(V7)(R9153P39 R9001P39)-6W40017-Network Management and Monitoring Configuration Guide
15-Mirroring configuration
Title Size Download
15-Mirroring configuration 66.85 KB

 

 

Configuring flow mirroring

About flow mirroring

Flow mirroring copies packets matching a class to a designated port for packet analyzing and monitoring. It is implemented through QoS.

To implement flow mirroring through QoS, perform the following tasks:

·     Define traffic classes and configure match criteria to classify packets to be mirrored. Flow mirroring allows you to flexibly classify packets to be analyzed by defining match criteria.

·     Configure traffic behaviors to mirror the matching packets to the specified destination.

For more information about QoS policies, traffic classes, and traffic behaviors, see ACL and QoS Configuration Guide.

Restrictions and guidelines: Flow mirroring configuration

For information about the configuration commands except the mirror-to command, see QoS policy commands in ACL and QoS Command Reference.

The number of flow mirroring configurations supported on an interface module varies by interface module type. A flow mirroring configuration mirrors the inbound or outbound traffic of one or more source interfaces to a designated destination interface. The destination interface is configured by using the mirror-to command in a traffic behavior used by a QoS policy. The source interfaces are the interfaces to which the QoS policy is applied.

A maximum of four flow mirroring configurations are supported on the following interface modules:

·     NSQM1MBFEA0.

·     NSQM2MBFDA0.

·     NSQM1TGS32QSSG0.

·     NSQ1CGC2SE0.

·     NSQM2QGS4SC0.

·     NSQ1QGS4SF0.

·     NSQ1TGS32SF0.

·     NSQM2TGS16SF0.

·     NSQ1TGS8EA0.

·     NSQM2GP24TSSC0.

A maximum of four inbound flow mirroring configurations plus a maximum of four outbound flow mirroring configurations are supported on the following interface modules:

·     NSQ1GP24TXEA0.

·     NSQ1TGX4EA0.

·     NSQ1GP48EB0.

·     NSQ1GT48EA0.

Flow mirroring tasks at a glance

To configure flow mirroring, perform the following tasks:

1.     Configuring a traffic class

A traffic class defines the criteria that filters the traffic to be mirrored.

2.     Configuring a traffic behavior

A traffic behavior specifies mirroring destinations.

3.     Configuring a QoS policy

4.     Applying a QoS policy

Choose either of the following tasks:

¡     Applying a QoS policy to an interface

¡     Applying a QoS policy globally

Configuring a traffic class

1.     Enter system view.

system-view

2.     Create a class and enter class view.

traffic classifier classifier-name [ operator { and | or } ]

3.     Configure match criteria.

if-match [ not ] match-criteria

By default, no match criterion is configured in a traffic class.

4.     (Optional.) Display traffic class information.

display traffic classifier

This command is available in any view.

Configuring a traffic behavior

1.     Enter system view.

system-view

2.     Create a traffic behavior and enter traffic behavior view.

traffic behavior behavior-name

3.     Mirror traffic to an interface.

mirror-to interface interface-type interface-number

By default, no mirroring actions exist to mirror traffic to interfaces.

 

 

 

 

 

 

 

 

 

 

 

 

4.     (Optional.) Display traffic behavior configuration.

display traffic behavior

This command is available in any view.

Configuring a QoS policy

1.     Enter system view.

system-view

2.     Create a QoS policy and enter QoS policy view.

qos policy policy-name

3.     Associate a class with a traffic behavior in the QoS policy.

classifier classifier-name behavior behavior-name

By default, no traffic behavior is associated with a class.

4.     (Optional.) Display QoS policy configuration.

display qos policy

This command is available in any view.

Applying a QoS policy

Applying a QoS policy to an interface

Restrictions and guidelines

You can apply a QoS policy to an interface to mirror the traffic of the interface.

A policy can be applied to multiple interfaces.

In one traffic direction of an interface, only one QoS policy can be applied.

Procedure

1.     Enter system view.

system-view

2.     Enter interface view.

interface interface-type interface-number

3.     Apply a policy to the interface.

qos apply policy policy-name { inbound | outbound }

4.     (Optional.) Display the QoS policy applied to the interface.

display qos policy interface

This command is available in any view.

Applying a QoS policy globally

Restrictions and guidelines

You can apply a QoS policy globally to mirror the traffic on all ports.

Procedure

1.     Enter system view.

system-view

2.     Apply a QoS policy globally.

qos apply policy policy-name global { inbound | outbound } enhancement

3.     (Optional.) Display global QoS policies.

display qos policy global

This command is available in any view.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网