307
Typically, a port can act as a source port for only one mirroring group. On the switch, a port can be a
source port for multiple mirroring groups that have different monitor ports.
A source port cannot be used as a reflector port, monitor port, or egress port.
Examples
# Create local mirroring group 1 to monitor the bidirectional traffic of GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 both
# Create remote source group 2 to monitor the bidirectional traffic of GigabitEthernet 1/0/2.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] mirroring-group 2 mirroring-port gigabitethernet 1/0/2 both
Related commands
mirroring-group
mirroring-group monitor-egress
Use
mirroring-group monitor-egress
to configure the egress port for a remote source group.
Use
undo mirroring-group monitor-egress
to remove the egress port from a remote source
group.
Syntax
In system view:
mirroring-group
group-id
monitor-egress
interface-type interface-number
undo mirroring-group
group-id
monitor-egress
interface-type interface-number
In interface view:
mirroring-group
group-id
monitor-egress
undo mirroring-group
group-id
monitor-egress
Default
No egress port is configured 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 egress ports only for remote source groups.
For port mirroring to work correctly, disable the following features on the egress port of a mirroring
group:
Содержание FlexNetwork 7500 Series
Страница 238: ...229 Sysname ...
Страница 420: ...411 Related commands packet capture ...
Страница 430: ...421 U url 78 username 79 user role 249 V version 80 vpn instance 81 W Websites 415 X xml 227 ...