170
2. Configure the monitor port
mirroring group.
mirroring-group
group-id
monitor-port
interface-type
interface-number
By default, no monitor port is
configured for a local mirroring
group.
Configure the monitor port in interface view
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure
monitor port for the specified
local mirroring group.
mirroring-group
group-id
monitor-port
By default, a port does not act as
the monitor port for any local
mirroring group.
Displaying and maintaining port mirroring
Execute display commands in any view.
Display mirroring group information.
display mirroring-group
{ group-id
|
all
|
local
|
|
}
Port mirroring configuration examples
Local port mirroring configuration example
Network requirements
As shown in Figure 63, configure local port mirroring so the server can monitor the bidirectional traffic
of the Marketing department and the Technical department.