
119
Port mirroring configuration commands
NOTE:
Both bridge mode (Layer 2) and route mode (Layer 3) Ethernet ports support port mirroring. The term
interface in this chapter collectively refers to these two types of ports. You can use the
port
link-mode
command to set an Ethernet port to operate in bridge or route mode (see
Layer 2—LAN Switching
Configuration Guide).
display mirroring-group
Syntax
display mirroring-group
{
group-id
|
all
|
local
|
remote-destination
|
remote-source
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
2: System level
Parameters
group-id
: Number of the mirroring group to be displayed, ranging from 1 to 4.
all
: Displays all mirroring groups.
local
: Displays local mirroring groups.
remote-destination
: Displays remote destination groups.
remote-source
: Displays remote source groups.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display mirroring-group
command to display information about the specified mirroring groups,
such as the types, status, and content of a mirroring group.
The output varies by mirroring group types and is sorted by mirroring group numbers.
Examples
# Display information about all the mirroring groups.
<Sysname> display mirroring-group all
mirroring-group 1: