Mirroring-Group Monitor-Port (Interface View) - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

interface-list: Specifies a space-separated list of up to eight port items. Each item specifies a single port
or a port range in the form of interface-type interface-number1 to interface-type interface-number2. The
specified interfaces must be of the same type and on the same card. The value for the interface-number2
argument must be equal to or greater than the value for the interface-number1 argument.
both: Mirrors both received and sent packets.
inbound: Mirrors only received packets.
outbound: Mirrors only sent packets.
Usage guidelines
A port can act as a source port for only one mirroring group.
Examples
# Create local mirroring group 1 to monitor the bidirectional traffic of GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port gigabitethernet 2/0/1 both
Related commands
mirroring-group

mirroring-group monitor-port (interface view)

Use mirroring-group monitor-port to configure a port as the monitor port for a mirroring group.
Use undo mirroring-group monitor-port to remove the monitor port from a mirroring group.
Syntax
mirroring-group group-id monitor-port
undo mirroring-group group-id monitor-port
Default
No monitor port is configured for a mirroring group.
Views
Interface view
Predefined user roles
network-admin
Parameters
group-id: Specifies a mirroring group by its number in the range of 1 to 6. The specified mirroring group
must already exist.
Usage guidelines
Use a monitor port only for port mirroring, so the data monitoring device receives and analyzes only the
mirrored traffic.
Do not configure a port of an existing mirroring group as a monitor port.
Examples
# Create local mirroring group 1 and configure GigabitEthernet 2/0/1 as its monitor port.
<Sysname> system-view
359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents