R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
258
mirroring-group monitor-port
Use mirroring-group monitor-port to configure a port for a local or remote destination group as the
monitor port.
Use undo mirroring-group monitor-port to remove the monitor port from the local or remote destination
group.
Syntax
mirroring-group group-id monitor-port monitor-port-id
undo mirroring-group group-id monitor-port monitor-port-id
Default
No monitor port is configured for a mirroring group.
Views
System view
Default command level
2: System level
Parameters
group-id: Specifies the number of a local or remote destination group. The mirroring group specified by
group-id must already exist.
monitor-port-id: Port to be assigned to the specified mirroring group as the monitor port. The argument
takes the form of interface-type interface-number, where interface-type specifies the port type and
interface-number specifies the port number.
Usage guidelines
You cannot assign a source port in an existing mirroring group to another mirroring group as the monitor
port.
All MSR routers support this command. The following matrix shows the value ranges for the group-id
argument:
MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30
MSR50 MSR1000
1 to 5 1 to 5 1 to 5 1 to 5 1 to 5 1 to 10 1 to 5
Examples
# Create local mirroring group 1, and configure port Ethernet 1/1 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 monitor-port ethernet 1/1
Related commands
mirroring-group
mirroring-port
Use mirroring-port to assign the current port to a local or remote source group as a source port.
Use undo mirroring-port to remove the current port from the mirroring group.










