Example For Configuring Local Vlan 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 Procedure
1.
2.
3.
4.
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
observe-port 1 interface Ethernet0/0/24
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
port-mirroring to observe-port 1 inbound
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10
#
return

8.17.2 Example for Configuring Local VLAN Mirroring

Issue 01 (2011-07-15)
Create a VLAN on the Switch and add interfaces to the VLAN in trunk mode.
# Add Ethernet 0/0/1 and Ethernet 0/0/3 to a same VLAN in trunk mode. The following is
the configuration of Ethernet 0/0/1. The configuration of Ethernet 0/0/3 is the same as the
configuration of Ethernet 0/0/1 and is not mentioned here.
<Switch> system-view
[Switch] vlan 10
[Switch-vlan10] quit
[Switch] interface ethernet 0/0/1
[Switch-Ethernet0/0/1] port link-type trunk
[Switch-Ethernet0/0/1] port trunk allow-pass vlan 10
[Switch-Ethernet0/0/1] quit
Configure an observing port.
# Configure Ethernet 0/0/24 as the observing port.
<Switch> system-view
[Switch] observe-port 1 interface ethernet 0/0/24
Configure a mirrored port.
# Configure Ethernet 0/0/1 as a mirrored port.
[Switch] interface ethernet 0/0/1
[Switch-Ethernet0/0/1] port-mirroring to observe-port 1 inbound
[Switch-Ethernet0/0/1] quit
Verify the configuration.
# Run the display port-mirroring command, and you can view the configurations on the
observing port and mirrored port.
[Switch] display port-mirroring
Port-mirror:
----------------------------------------------------------------------
Mirror-port
----------------------------------------------------------------------
Ethernet0/0/1
----------------------------------------------------------------------
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Direction
Observe-port
Inbound
Ethernet0/0/24
8 Mirroring
106

Advertisement

Table of Contents
loading

Table of Contents