EasyManua.ls Logo

Huawei AR150 series - Page 96

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...
3. Configure the observing server on RouterA to copy the mirrored packets to the observing
device through the IP network.
4. Create a traffic classifier to match the IPv4 packets with source address 10.1.1.2/24.
5. Create a traffic behavior and bind it to the remote flow mirroring action.
6. Create a traffic policy and bind it to the traffic classifier and traffic behavior.
7. Apply the traffic policy to Ethernet1/0/0.
Data Preparation
To complete the configuration, you need the following data:
l Observing server index, 1
l Type and number of the mirrored interface
l IP addresses of mirrored interface and observing device
l GRE tunnel interfaces and interface addresses
l Traffic classifier, c1
l Traffic behavior, b1
l Traffic policy, p1
Procedure
Step 1 Configure IP addresses for interfaces.
# Assign an IP address to each interface on the Router. This example describes the configuration
on RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface ethernet 1/0/0
[RouterA-Ethernet1/0/0] ip address 192.168.1.1 24
[RouterA-Ethernet1/0/0] quit
# Configure a default route for RouterA.
[RouterA] ip route-static 0.0.0.0 0.0.0.0 20.1.1.1
Step 2 Configure the GRE tunnel.
# Configure a tunnel interface on RouterA.
[RouterA] interface tunnel 0/0/1
[RouterA-Tunnel0/0/1] tunnel-protocol gre
[RouterA-Tunnel0/0/1] ip address 10.1.1.1 24
[RouterA-Tunnel0/0/1] source 20.1.1.1
[RouterA-Tunnel0/0/1] destination 30.1.1.1
[RouterA-Tunnel0/0/1] quit
# Configure a tunnel interface on RouterB.
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] interface tunnel 0/0/1
[RouterB-Tunnel0/0/1] tunnel-protocol gre
[RouterB-Tunnel0/0/1] ip address 10.1.1.2 24
[RouterB-Tunnel0/0/1] source 30.1.1.1
[RouterB-Tunnel0/0/1] destination 20.1.1.1
[RouterB-Tunnel0/0/1] quit
# Configure a static route from RouterA to the observing device.
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.
87

Table of Contents

Other manuals for Huawei AR150 series

Related product manuals