Displaying and maintaining traffic mirroring, Traffic mirroring configuration example, Network requirements – H3C Technologies H3C MSR 50 User Manual

Page 192

Advertising
background image

Step Command

Remarks

interface interface-type
interface-number

Settings in interface view take
effect on the current interface.

465.

Enter Layer 2 interface view.

N/A

466.

Apply a policy to the

interface.

qos apply policy policy-name
{ inbound | outbound }

For more information about the qos

apply policy command, see ACL
and QoS Command Reference
.

Displaying and maintaining traffic mirroring

Task Command

Remarks

display traffic behavior user-defined
[ behavior-name ] [ | { begin | exclude |

include } regular-expression ]

Display user-defined traffic
behavior configuration.

Available in any view.

display qos policy user-defined [ policy-name
[ classifier tcl-name ] ] [ | { begin | exclude |

include } regular-expression ]

Display user-defined QoS policy
configuration.

Available in any view.

For more information about the display traffic behavior and display qos policy commands, see ACL and
QoS Command Reference
.

Traffic mirroring configuration example

Network requirements

As shown in

Figure 57

, different departments of a company use IP addresses on different subnets. The

marketing and technical departments use the IP addresses on subnets 192.168.1.0/24 and

192.168.2.0/24, respectively. The working hours of the company are from 8:00 to 18:00 on weekdays.
Configure traffic mirroring so that the server can monitor the following traffic:

All traffic that the technical department sends to access the Internet.

IP traffic that the technical department sends to the marketing department during working hours.

179

Advertising