R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

153
Port mirroring configuration commands
The Local mirroring commands and Remote mirroring commands is supported by
HSR6802/HSR6804/HSR6808 configured with SAP modules that operate in bridge mode.
display mirroring-group
Use display mirroring-group to display mirroring group information, such as the types, status, and
content of a mirroring group.
Syntax
display mirroring-group { group-id | all | local | remote-destination | remote-source } [ | { begin |
exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
group-id: Specifies the number of the mirroring group, in the range of 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.
Usage guidelines
The output varies by mirroring group types and is sorted by mirroring group numbers.
Examples
# Display information about all mirroring groups.
<Sysname> display mirroring-group all
mirroring-group 3:
type: local
status: active
mirroring port:
GigabitEthernet2/0/1 inbound