Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Port Mirroring
Diagnosing Switch Problems
page 45-18
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Creating a Mirroring Session
Before port mirroring can be used, it is necessary to create a port mirroring session. The 
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 or in a 
stack consisting of two or more switches. In addition, “N-to-1” port mirroring is supported, where up to 24 
(OmniSwitch 6400, 6800, and 6855) or 128 (OmniSwitch 6850 and 9000) source ports can be mirrored to 
a single destination port.
Note. To prevent the mirroring (destination) port from being blocked due to Spanning Tree changes, be 
sure to specify the VLAN ID number (from 1 to 4094) for the port that will remain unblocked (protected 
from these changes while port mirroring is active). This parameter is optional; if it is not specified, 
changes resulting from Spanning Tree could cause the port to become blocked (default). See Unblocking 
Ports (Protection from Spanning Tree)
 below for details.
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.
Note. Neither the mirrored nor the mirroring ports can be a mobile port. See 
 for information on mobile ports.
Creating an “N-to-1” port mirroring session is supported, where up to 24 (OS6800) or 128 (OS6850/
OS9000) 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 exam-
ple, 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