246
Port mirroring commands
The port mirroring commands are available on Layer 2 Ethernet interfaces, Layer 3 Ethernet
interfaces, and FC interfaces. The term "interface" in this chapter collectively refers to these types of
interfaces. You can use the
port link-mode
command to configure an Ethernet port as a Layer 2 or
Layer 3 interface (see
Layer 2—LAN Switching Configuration Guide
).
display mirroring-group
Use
display mirroring-group
to display mirroring group information.
Syntax
display mirroring-group
{
group-id
|
all
|
local
|
remote-destination
|
remote-source
}
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-id
: Specifies a mirroring group by its number in the range of 1 to 4.
all
: Specifies all mirroring groups.
local
: Specifies local mirroring groups.
remote-destination
: Specifies remote destination groups.
remote-source
: Specifies remote source groups.
Usage guidelines
Mirroring group information includes the type, status, and content of a mirroring group. It is sorted by
mirroring group number.
Examples
# Display information about all mirroring groups.
<Sysname> display mirroring-group all
Mirroring group 1:
Type: Local
Status: Active
Mirroring port:
FortyGigE1/0/1 Inbound
Monitor port: FortyGigE1/0/2
Mirroring group 3:
Type: Local
Status: Active
Mirroring port:
FortyGigE1/0/1 Inbound
FortyGigE1/0/2 Both
Monitor port: FortyGigE1/0/3