310
Do not configure a port of an existing mirroring group as a monitor port.
Examples
# Create local mirroring group 1 and configure GigabitEthernet 1/0/1 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 monitor-port gigabitethernet 1/0/1
# Create remote destination group 2 and configure GigabitEthernet 1/0/2 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
[Sysname] mirroring-group 2 monitor-port gigabitethernet 1/0/2
Related commands
mirroring-group
mirroring-group reflector-port
Use
mirroring-group reflector-port
to configure the reflector port for a remote source group.
Use
undo mirroring-group reflector-port
to remove the reflector port from a remote source group.
Syntax
In system view:
mirroring-group
group-id
reflector-port
interface-type interface-number
undo mirroring-group
group-id
reflector-port
interface-type interface-number
In interface view:
mirroring-group
group-id
reflector-port
undo mirroring-group
group-id
reflector-port
Default
No reflector port is configured for a mirroring group. A port does not act as the reflector port for a
mirroring group.
Views
System view, interface view
Predefined user roles
network-admin
mdc-admin
Parameters
group-id
: Specifies a mirroring group by its number in the range of 1 to 4. The specified mirroring
group must already exist.
interface-type interface-number
: Specifies a port by its type and number.
Usage guidelines
You can configure reflector ports only for remote source groups.
The port to be configured as a reflector port must be a port not in use. Do not connect a network
cable to a reflector port.
When a port is configured as a reflector port, the port restores to the factory default settings. You
cannot configure other features on a reflector port.