EasyManua.ls Logo

Huawei AR150 series - Page 97

Huawei AR150 series
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[RouterA] ip route-static 192.168.2.0 255.255.255.0 tunnel 0/0/1
# Configure a static route from RouterB to the mirrored interface.
[RouterB] ip route-static 192.168.1.0 255.255.255.0 tunnel 0/0/1
Step 3 Configure the observing server.
# Configure the observing server on RouterA.
<RouterA> system-view
[RouterA] observe-server destination-ip 192.168.2.2 source-ip 192.168.1.1
Step 4 Configure the traffic classifier c1.
# Create IPv4 ACL 2000 on RouterA to match the IPv4 packets with source address 10.1.1.2/24.
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule permit source 192.168.1.2 0
[RouterA-acl-basic-2000] quit
# Create a traffic classifier named c1 and bind it to ACL 2000.
[RouterA] traffic classifier c1
[RouterA-classifier-c1] if-match acl 2000
[RouterA-classifier-c1] quit
Step 5 Configure the traffic behavior b1 and configure Ethernet 1/0/0 as the mirrored interface.
[RouterA] traffic behavior b1
[RouterA-behavior-b1] mirror to observe-server
[RouterA-behavior-b1] quit
Step 6 Configure the traffic policy and apply it to the interface.
# Create a traffic policy p1 on RouterA, bind the traffic behavior and traffic classifier to the
traffic policy, and apply the traffic policy to the inbound direction of Ethernet1/0/0.
[RouterA] traffic policy p1
[RouterA-trafficpolicy-p1] classifier c1 behavior b1
[RouterA-trafficpolicy-p1] quit
[RouterA] interface ethernet 1/0/0
[RouterA-Ethernet1/0/0] traffic-policy p1 inbound
[RouterA-Ethernet1/0/0] quit
Step 7 Verify the configuration.
# View the traffic classifier configuration.
<RouterA> display traffic classifier user-defined c1
User Defined Classifier Information:
Classifier: c1
Operator: OR
Rule(s) : if-match acl 2000
# View the traffic policy configuration.
<RouterA> display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
Classifier: c1
Operator: OR
Behavior: b1
mirror to observe-server
----End
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Device Management 4 Mirroring Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
88

Table of Contents

Other manuals for Huawei AR150 series

Related product manuals