R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)
169
Configuring remote port mirroring
To configure remote port mirroring by using the mirror command:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Mirror the traffic on the
interface to a remote host.
mirror number number { all | in | out } to
remote-ip ip-address [ port port ]
By default, the traffic on an
interface is not mirrored.
Displaying and maintaining port mirroring
Task Command Remarks
Display mirroring group
information.
display mirroring-group { group-id | all |
local } [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Local port mirroring configuration example
Network requirements
As shown in Figure 56, Device A connects to the marketing department through Ethernet 1/1 and to the
technical department through Ethernet 1/2. It connects to the server through Ethernet 1/3.
Configure local port mirroring in source port mode to enable the server to monitor the bidirectional traffic
of the marketing department and the technical department.










