
124
monitor-egress-port
: Port to be configured as the egress port. It takes the form of
interface-type
interface-number
, where
interface-type
specifies the port type and
interface-number
specifies the port
number.
Description
Use the
mirroring-group monitor-egress
command to configure a port as the egress port of a remote
source group.
Use the
undo mirroring-group monitor-egress
command to remove the egress port of the mirroring
group.
By default, no egress port is configured for a mirroring group.
You can configure an egress port only for a remote source group, not for other types of mirroring groups.
Related commands:
mirroring-group
.
Examples
# Create remote source group 1, and configure port GigabitEthernet 1/0/1 as its egress port in system
view.
<Sysname> system-view
[Sysname] mirroring-group 1 remote-source
[Sysname] mirroring-group 1 monitor-egress GigabitEthernet 1/0/1
# Create remote source group 2, and configure port GigabitEthernet 1/0/2 as its egress port in
interface view.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] mirroring-group 2 monitor-egress
mirroring-group monitor-port
Syntax
mirroring-group
group-id
monitor-port
monitor-port-id
undo mirroring-group
group-id
monitor-port
monitor-port-id
View
System view
Default level
2: System level
Parameters
group-id
: Number of a local or remote destination group, ranging from 1 to 4. 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.
Description
Use the
mirroring-group monitor-port
command to assign a port to a local or remote destination group
as the monitor port.