Huawei AR3200 Series Configuration Manual page 75

Enterprise routers
Hide thumbs Also See for AR3200 Series:
Table of Contents

Advertisement

Huawei AR3200 Series Enterprise Routers
Configuration Guide - Device Management
# Create IPv4 ACL 2000 on the Router to match the IPv4 packets with destination address
192.168.1.10.
<Huawei> system-view
[Huawei] acl number 2000
[Huawei-acl-basic-2000] rule permit source 192.168.1.10 0
[Huawei-acl-basic-2000] quit
# Create a traffic classifier named c1 and bind it to ACL 2000.
[Huawei] traffic classifier c1
[Huawei-classifier-c1] if-match acl 2000
[Huawei-classifier-c1] quit
Step 3 Create a traffic behavior named b1 and configure the local flow mirroring action in the traffic
behavior.
[Huawei] traffic behavior b1
[Huawei-behavior-b1] mirroring to observe-port 1
[Huawei-behavior-b1] quit
Step 4 Configure a traffic policy.
# Create a traffic policy named p1 on the Router, bind the traffic behavior and traffic classifier
to the traffic policy, and apply the traffic policy to the inbound direction of Ethernet2/0/0.
[Huawei] traffic policy p1
[Huawei-trafficpolicy-p1] classifier c1 behavior b1
[Huawei-trafficpolicy-p1] quit
[Huawei] interface Ethernet2/0/0
[Huawei-Ethernet2/0/0] traffic-policy p1 inbound
[Huawei-Ethernet2/0/0] quit
Step 5 Verify the configuration.
# View the traffic classifier configuration.
<Huawei> display traffic classifier user-defined c1
User Defined Classifier Information:
# View the traffic policy configuration.
<Huawei> display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
----End
Configuration Files
l
Issue 03 (2011-11-27)
Classifier: c1
Operator: OR
Rule(s) : if-match acl 2000
Classifier: c1
Operator: OR
Behavior: b1
Mirroring to cpu
Configuration file of the Router
#
observe-port 1 interface Ethernet
2/0/1
#
acl number 2000
rule 5 permit source 192.168.1.10
0
#
traffic classifier c1 operator
or
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Mirroring Configuration
67

Advertisement

Table of Contents
loading

Table of Contents