DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
370
Chapter 44
Mirror Command List
config mirror port
<port> {[add | delete] source ports <portlist> [rx | tx | both]}
enable mirror
disable mirror
show mirror
44-1
config mirror port
Description
This command is used to configure
a mirror port − source port pair on the Switch. Traffic from any source port to a
target port can be mirrored for real-time analysis. A logic analyzer or an RMON probe then can be attached to
study the traffic crossing the source port in a completely unobtrusive manner. When mirroring port traffic, please
note that the target port must be configured in the same VLAN and operates at the same speed as the source port.
If the target port is operating at a lower speed, the source port will be forced to drop its operating speed to match
that of the target port.
Format
config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]}
Parameters
<port>
- Enter the port number that will receive the packets duplicated at the mirror port..
add
- (Optional) Specifies the mirror entry to be added.
delete
- (Optional) Specifies the mirror entry to be deleted.
source ports
- (Optional) Specifies the port that will be mirrored. All packets entering and leaving the source port
can be duplicated in the mirror port.
<portlist>
- Enter the list of ports to be configured here.
rx
- (Optional) Specifies to allow the mirroring packets received (flowing into) the port or ports in the port list.
tx
- (Optional) Specifies to allow the mirroring packets sent (flowing out of) the port or ports in the port list.
both
- (Optional) Specifies to mirror all the packets received or sent by the port or ports in the port list.
Restrictions
Only Administrators and Operators can issue this command.
Example
To add the mirroring ports:
DGS-1510-28XMP/ME:admin# config mirror port 3 add source ports 7-12 both
Command: config mirror port 3 add source ports 7-12 both
Success.
DGS-1510-28XMP/ME:admin#
Содержание DGS-1510/ME Series
Страница 1: ......