Example For Configuring Mac Address-Based Local Mirroring - Huawei Quidway S3700 Series Configuration Manual

V100r006c00
Hide thumbs Also See for Quidway S3700 Series:
Table of Contents

Advertisement

Quidway S3700 Series Ethernet Switches
Configuration Guide - Device Management
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
vlan batch 1 10
#
observe-port 1 interface Ethernet0/0/3
#
vlan 10
mirroring to observe-port 1 inbound
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 10
#
#
return
8.17.3 Example for Configuring MAC Address-based Local
Mirroring
Networking Requirements
As shown in
Ethernet 0/0/4 is connected to a router. Ethernet 0/0/1, Ethernet 0/0/2, and Ethernet 0/0/4 belong
to VLAN 10. Now, incoming traffic with the source or destination MAC as the MAC address
of Ethernet 1/0/1 on the router in VLAN 10 needs to be monitored. In this case, you can configure
local MAC address mirroring on the Switch.
Ethernet 0/0/3 serves as an observing port. The MAC address of Ethernet 1/0/1 is
0001-0001-0001.
Issue 01 (2011-07-15)
[Switch] display port-mirroring
Vlan-mirror:
----------------------------------------------------------------------
Mirror-vlan
----------------------------------------------------------------------
10
----------------------------------------------------------------------
Figure
8-6, Ethernet 0/0/1 is connected to PC1; Ethernet 0/0/2 is connected to PC2;
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Direction
Observe-port
Inbound
Ethernet0/0/3
8 Mirroring
108

Advertisement

Table of Contents
loading

Table of Contents