Creating A Mirroring Session - Alcatel-Lucent OmniSwitch 9900 Series Network Configuration Manual

Omniswitch aos release 8
Table of Contents

Advertisement

Diagnosing Switch Problems

Creating a Mirroring Session

Before port mirroring can be used, it is necessary to create a port mirroring session. The
source destination
CLI command can be used to create a mirroring session between a mirrored (active)
port and a mirroring port. Two (2) port mirroring sessions are supported in a standalone switch. In
addition, "N-to-1" port mirroring is supported, where up to 128 source ports can be mirrored to a single
destination port.
To create a mirroring session, enter the port-mirroring source destination command and include the port
mirroring session ID number and the source and destination slot/ports, as shown in the following example:
-> port-mirroring 6 source 2/3 destination 2/4
This command line specifies mirroring session 6, with the source (mirrored) port located in slot 2/port 3,
and the destination (mirroring) port located in slot 3/port 4.
To create a remote port mirroring session, enter the port-mirroring source destination command and
include the port mirroring session ID number, the source and destination slot/ports, and the remote port
mirroring VLAN ID as shown in the following example:
-> port-mirroring 8 source 1/1 destination 1/2 rpmir-vlan 1000
This command line specifies remote port mirroring session 8, with the source (mirrored) port located on
slot 1/port 1, the destination (mirroring) port on slot 1/port 2, and the remote port mirroring VLAN 1000.
Creating an "N-to-1" port mirroring session is supported, where up to 128 source ports can be mirrored to
a single destination port. In the following example, port 1/2, 2/1, and 2/3 are mirrored on destination port
2/4 in session 1:
-> port-mirroring 1 source 1/2 destination 2/4
-> port-mirroring 1 source 2/1 destination 2/4
-> port-mirroring 1 source 2/3 destination 2/4
As an option, you can specify a range of source ports and/or multiple source ports. In the following
example, ports 1/2 through 1/6 are mirrored on destination port 2/4 in session 1:
-> port-mirroring 1 source 1/2-6 destination 2/4
In the following example, ports 1/9, 2/7, and 3/5 are mirrored on destination port 2/4 in session 1:
-> port-mirroring 1 source 1/9 2/7 3/5 destination 2/4
In the following example, 1/2 through 1/6 and 1/9, 2/7, and 3/5 are mirrored on destination port 2/4 in
session 1:
-> port-mirroring 1 source 1/2-6 1/9 2/7 3/5 destination 2/4
Note. Ports can be added after a port mirroring session has been configured.
OmniSwitch AOS Release 8 Network Configuration Guide
December 2017
Port Mirroring
port-mirroring
page 34-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents