Port Mirror - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - Port
Quidway S2000 Series Ethernet Switches
undo monitor-port { interface_type interface_num | interface_name }
View
System view
Parameter
interface_name: Specified monitor port name, represented with interface_name=
interface_type interface_num. interface_type is port type and interface_num is port
number.
Description
Using monitor-port command, you can configure the monitor port. Using undo
monitor-port command, you can cancel the monitor port.
Note that:
The mirror port cannot be configured until the monitor port configuration is done.
Moreover, the monitor port cannot be canceled, when there is corresponding
mirror port.
The specified monitor port cannot be aggregated port.
When new monitor port is set, the former monitor port will be cancelled
automatically, while the mirror port does not change.
For the related commands, see port mirror, display mirror.
Example
# Configure Ethernet0/1 as monitor port.
[Quidway] monitor-port ethernet0/1

3.1.3 port mirror

Syntax
port mirror { interface_type interface_ num | interface_name } [ to { interface_type
interface_ num | interface_name } ]
undo port mirror { interface_type interface_ num | interface_name } [ to
{ interface_type interface_ num | interface_name } ]
View
System view
Parameter
{ interface_type interface_ num | interface_name } [ to { interface_type interface_ num
| interface_name } ]: Designate the mirror port. You can designate a port using the
command without to, or designate more than one mirror port with it. Here,
Chapter 3 Ethernet Port Mirror Configuration Commands
3-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents