R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

167
Ste
p
Command
Remarks
2. Create a local mirroring
group.
mirroring-group group-id local
No local mirroring group
exists by default.
NOTE:
A
local mirrorin
g
g
roup takes effect only after you confi
g
ure a monitor port and source port for i
t
.
The following matrix shows the feature and router compatibility:
Feature MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30 MSR50 MSR1000
Creating a
local
mirroring
group
Yes
Value
range for
the
number: 1
to 5.
Yes
Value
range for
the
number: 1
to 5.
Yes
Value
range for
the number:
1 to 5.
Yes
Value
range for
the
number: 1
to 5.
Yes
Value
range for
the
number: 1
to 5.
Yes
Value
range
for the
number:
1 to 10.
Yes
Value
range for
the number:
1 to 5.
Configuring source ports for the local mirroring group
Either you can configure a list of source ports for a mirroring group in system view, or you can assign only
the current port to the mirroring group as a source port in interface view. The two methods lead to the
same result.
Configuration restrictions and guidelines
When you configure source ports for a local mirroring group, follow these restrictions and guidelines:
A mirroring group can contain multiple source ports.
A port can belong to only one mirroring group. On devices that support mirroring groups with
multiple monitor ports, a port can serve as a source port for multiple mirroring groups, but the port
cannot be a monitor port at the same time.
Configuring source ports
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure source ports.
(Method 1) In system view:
mirroring-group group-id
mirroring-port
mirroring-port-list { both |
inbound | outbound }
(Method 2) In interface view:
a. interface interface-type
interface-number
b. mirroring-group group-id
mirroring-port { both |
inbound | outbound }
Use either method.
By default, no source port is
configured for a local mirroring
group.
By default, a port is not a source
port of any local mirroring group.