<RouterA> display mirror-port
---------------------------------------------------------------------------
Mirror-port Direction Observe-dest
---------------------------------------------------------------------------
1 Ethernet1/0/0 Inbound DIP:192.168.2.2 SIP:192.168.1.1 DSCP:0
---------------------------------------------------------------------------
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
observe-sever destination-ip 192.168.2.2 source-ip
192.168.1.1
#
interface Ethernet1/0/0
ip address 192.168.1.1
255.255.255.0
mirror to observe-server inbound
#
interface Ethernet1/0/1
ip address 20.1.1.1
255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 20.1.1.2
ip route-static 192.168.2.0 255.255.255.0 Tunnel0/0/1
#
interface
Tunnel0/0/1
ip address 10.1.1.1
255.255.255.0
tunnel-protocol
gre
source
20.1.1.1
destination
30.1.1.1
#
return
l Configuration file of RouterB
#
sysname RouterB
#
interface Ethernet1/0/0
ip address 192.168.2.1
255.255.255.0
#
interface Ethernet1/0/1
ip address 30.1.1.1
255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 30.1.1.2
ip route-static 192.168.1.0 255.255.255.0 Tunnel0/0/1
#
interface
Tunnel0/0/1
ip address 10.1.1.2
255.255.255.0
tunnel-protocol
gre
source
30.1.1.1
destination
20.1.1.1
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.
85