3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
501
<Sysname> system-view
[Sysname] mirroring-group 3 local
[Sysname] interface pos 5/1
[Sysname-Pos5/1] mirroring-group 3 mirroring-port both
# Add CPOS 6/1 to local port mirroring group 4.
<Sysname> system-view
[Sysname] mirroring-group 4 local
[Sysname] controller cpos 6/1
[Sysname-Cpos6/1] mirroring-group 4 mirroring-port both
monitor-port
Syntax [ mirroring-group groupid ] monitor-port
undo [ mirroring-group groupid ] monitor-port
View Interface view
Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and
BSR 30 series routers and 1 to 10 for MSR 50 series routers.
Description Use the
monitor-port command to add the current port to a port mirroring
group as the destination mirroring port.
Use the
undo monitor-port command to remove the configuration.
If you do not specify the mirroring-group groupid keyword-argument
combination, the monitor-port command adds the current port to port mirroring
group 1.
Note that:
Depending on device models, you can add ports/interfaces to local port
mirroring groups as destination mirroring ports in Layer 2 Ethernet port view,
Layer 3 Ethernet interface view, and tunnel interface view.
Member ports of an existing port mirroring group cannot be destination ports.
Example # Add port Ethernet 1/1 to port mirroring group 1 (a local port mirroring group) as
the destination port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] monitor-port