Example For Configuring Layer 2 Remote Port Mirroring - Huawei Quidway S9300 Configuration Manual

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management

6.6.2 Example for Configuring Layer 2 Remote Port Mirroring

Networking Requirements
Users access the Internet through GigabitEthernet1/0/2 of SwitchA. SwitchA, SwitchB, and
SwitchC are connected through trunks. A monitoring server is connected to
GigabitEthernet1/0/1 of SwitchC. The server needs to monitor the packets received by users by
using remote port mirroring function.
Figure 6-4 Networking diagram of remote port mirroring configurations
SwitchA
Issue 03 (2011-12-29)
#
vlan batch 2 to 4
#
observe-port 1 interface GigabitEthernet1/0/3
#
interface Vlanif4
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk pvid vlan 2
port trunk allow-pass vlan 2
port-mirroring to observe-port 1 inbound
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk pvid vlan 3
port trunk allow-pass vlan 3
port-mirroring to observe-port 1 inbound
#
interface GigabitEthernet1/0/3
port link-type trunk
port trunk allow-pass vlan 2 to 4
#
return
Internet
VLAN 2
GE1/0/1
GE1/0/1
GE1/0/2
VLAN 3
User
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
SwitchB
VLAN 2
GE1/0/2
GE1/0/2
6 Mirroring Configuration
SwitchC
GE1/0/1
Server
112

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents