Command Manual â Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-54 
î  Note: 
This command is only applicable to the configuration of S2008, S2016 and S3026 
Ethernet switches on the NMS. 
 
1.3.32  set mirror monitor-port 
Syntax 
set mirror monitor-port monitor-port [ port-list ] 
undo set mirror 
View 
lanswitch view 
Parameter 
monitor-port: Monitor port. 
port-list: List of ports to be mirrored. 
Description 
Use the set mirror monitor -port command to set Ethernet port mirroring. 
Use the undo set mirror command to remove the configuration. 
You cannot specify a trunk port as a monitor port. The existing monitor port is 
automatically removed if you set a new monitor port. But the mirroring port remains 
unchanged. 
Related command: query mirror. 
Example 
# Set the port 1 of the Ethernet switch with a position parameter of 3/1/3-/ to be a 
monitor port. 
[Quidway-lanswitch3/1/3-/] set mirror monitor-port 1 
1.3.33  set port 
Syntax 
set port port-list vlanid vlan-id-list [ tagged | untagged ] 
View 
lanswitch view