Manuals

Manuals
Mirror Port Commands: Dell PowerConnect Switch User's Guide

Back to Contents Page

Mirror Port Commands:
Dell PowerConnect Switch User's Guide

port monitor

show port monitor

This section describes how to mirror traffic from a source port to a target port.


port monitor

Use this command to configure a mirror session. Use the no form to clear a mirror session.

Syntax

port monitor interface [rx | tx | both]
no port monitor interface

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
  • rx - Mirror received packets.
  • tx - Mirror transmitted packets.
  • both - Mirror both received and transmitted packets.

Default Setting

No mirror session is defined. When enabled, the default mirroring is for both received and transmitted packets.

Command Mode

Interface Configuration (Ethernet, destination port)

Command Usage

  • You can mirror traffic from any source port to a destination port for real-time analysis. You can then attach a logic analyzer or RMON probe to the destination port and study the traffic crossing the source port in a completely unobtrusive manner.
  • The destination port is set by specifying an Ethernet interface.
  • When mirroring port traffic, the destination port must be included in the same VLAN as the source port. See VLAN Commands.
  • There are some differences in the mirror implementation for the PowerConnect switches:
    • PowerConnect 3248: You can create up to nine sessions, each with one or more source ports and one destination port. However, you should avoid sending too much traffic to the destination port from multiple source ports. Also, the source and destination port have to be either both in the port range 1-24 or 49 or both in the port range 25-48 or 50.
    • PowerConnect 5224: You can create a single session, with one source port and one destination port. Also, the source and destination port have to be either both in the port range 1-12 or both in the port range 13-24.

Example

The following example configures the switch to mirror all packets from port 5 to port 6:

Console(config)#interface ethernet 1/6
Console(config-if)#port monitor ethernet 1/5 both
Console(config-if)#

Related Commands

show port monitor


show port monitor

Use this command to display mirror information.

Syntax

show port monitor [interface]

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.

Default Setting

Shows all defined sessions.
(For maximum number of sessions, see port monitor.)

Command Mode

Privileged Exec

Command Usage

This command displays the currently configured source port, destination port, and mirror mode (i.e., RX, TX, RX/TX).

Example

The following shows mirroring configured from port 6 to port 1:

Console(config)#interface ethernet 1/1
Console(config-if)#port monitor ethernet 1/6
Console(config-if)#end
Console#show port monitor
Port Mirroring
-------------------------------------
 Destination port(listen port):Eth1/ 1
 Source port(monitored port)  :Eth1/ 6
 Mode                         :RX/TX

Console#

Related Commands

port monitor


Please read all restrictions and disclaimers.


 Back to Contents Page

© 2012 Dell | About Dell | Terms of Sale | Unresolved Issues | Privacy | About Our Ads and Emails | Dell Recycling | Contact | Site Map | Visit ID | Feedback

snWEB1