Huawei AR3200 Series Configuration Manual page 71

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

Advertisement

Huawei AR3200 Series Enterprise Routers
Configuration Guide - Device Management
Data Preparation
To complete the configuration, you need the following data:
l
l
l
Procedure
Step 1 Configure an observing interface.
# Configure Ethernet2/0/2 on the Router as an observing interface.
<Huawei> system-view
[Huawei] observe-port 1 interface Ethernet 2/0/2
Step 2 Configure mirrored interfaces.
# Configure Ethernet2/0/0 on the Router as the local mirrored interface to monitor the packets
sent by the R&D department.
[Huawei] interface Ethernet 2/0/0
[Huawei-Ethernet2/0/0] port-mirroring to observe-port 1 inbound
[Huawei-Ethernet2/0/0] quit
# Configure Ethernet2/0/1 on the Router as the local mirrored interface to monitor the packets
sent by the marketing department.
[Huawei] interface Ethernet 2/0/1
[Huawei-Ethernet2/0/1] port-mirroring to observe-port 1 inbound
[Huawei-Ethernet2/0/1] quit
[Huawei] quit
Step 3 Verify the configuration.
# Check the configuration of the observing interface.
<Huawei> display observe-port
---------------------------------------------------------------------------
Index
Interface: Ethernet2/0/2
Used
---------------------------------------------------------------------------
# Check the configuration of mirrored interfaces.
<Huawei> display port-mirroring
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
# View the packet statistics on Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2. The number of
packets on Ethernet2/0/2 equals the sum of the numbers of packets on Ethernet2/0/0 and
Ethernet2/0/1. Alternatively, view all the packets received by Ethernet2/0/0 and Ethernet2/0/1
by using the server. Packets on Ethernet2/0/0 and Ethernet2/0/1 are mirrored by the Router.
<Huawei> display interface Ethernet 2/0/0
Ethernet2/0/0 current state : UP
Description:HUAWEI, AR Series, Ethernet2/0/0 Interface
Switch Port,The Maximum Frame Length is 1628
Issue 03 (2011-11-27)
Type and number of the observing interface
Type and number of the mirrored interface
Index number of the observing interface, that is, 1
: 1
: 2
Mirror-port
1
Ethernet2/0/0
2
Ethernet2/0/1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Direction
Observe-port
Inbound
Ethernet2/0/2
Inbound
Ethernet2/0/2
3 Mirroring Configuration
63

Advertisement

Table of Contents
loading

Table of Contents