R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

158
Examples
# Create local mirroring group 1 and configure port GigabitEthernet 2/0/1 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 monitor-port gigabitethernet 2/0/1
# Create remote destination group 2 and configure port GigabitEthernet 2/0/2 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
[Sysname] mirroring-group 2 monitor-port gigabitethernet 2/0/2
Related commands
mirroring-group
mirroring-group remote-probe vlan
Use mirroring-group remote-probe vlan to specify a VLAN as the remote probe VLAN for a remote
source or destination mirroring group.
Use undo mirroring-group remote-probe vlan to remove the remote probe VLAN from the remote source
or destination mirroring group.
Syntax
mirroring-group group-id remote-probe vlan rprobe-vlan-id
undo mirroring-group group-id remote-probe vlan rprobe-vlan-id
Default
No remote probe VLAN is configured for a mirroring group.
Views
System view
Default command level
2: System level
Parameters
group-id: Specifies the number of a remote source or destination mirroring group, in the range of 1 to 4.
The mirroring group specified by group-id must already exist.
rprobe-vlan-id: Specifies the ID of the VLAN to be configured as the remote probe VLAN. This VLAN must
be a static VLAN that already exists.
Usage guidelines
For a remote source or destination mirroring group, you must configure and can configure only one
remote probe VLAN to carry mirrored packets. You cannot configure the remote probe VLAN for a local
mirroring group.
Only a static VLAN that already exists can be configured as a remote probe VLAN. A VLAN can serve
as the remote probe VLAN for only one mirroring group.
To delete a VLAN that is configured as a remote probe VLAN, remove the remote probe VLAN
configuration first.