Networking

How to Setup Port Mirroring on Dell Nseries switch

How to Setup Port Mirroring on Dell Nseries switch

The ability to mirror a port is a very crucial part of troubleshooting especially when you need to see traffic that is ingressing and egressing from a specific port that a host is connected to. ย The best way to see that traffic is to setup a port mirror on that port. ย A port mirror can be described basically as a window into the traffic on a particular port. ย A couple of things to keep in mind when you setup a port mirror:

  • The traffic to and from the workstation or laptop you are using to “sniff” the traffic on the port mirror is basically disconnected as its entire purpose in life is now to simply see the traffic coming in and out of the port you are monitoring. ย So you won’t be able to do any “remote” port mirror operations ๐Ÿ™‚
  • Also, you don’t have to worry about IP addressing on the workstation/laptop you are sniffing with as it doesn’t need an address to see the traffic

Most switches have a means to enable port mirroring either in a web interface or commandline and usually both. ย With the Nseries, the easiest way is to use the web interface to flag on port mirroring.

In the example, we are using an N2048 switch to demonstrate the mirror.

  • Navigate to the Switching >> Ports >> Traffic Mirroring >> Port Mirroring menu in the web interface.

mirror01

Notice below that theย Admin Modeย is set toย Disable. ย This means that the port mirroring functionality is not turned on. ย And obviously we don’t have a destination setup or source port(s) defined.

mirror02

Below we have added a destination port which is the port that the monitoring workstation will be plugged into. ย This would be the port you would plug into with a workstation or laptop for instance running wireshark.

mirror03

 

To add a source port for the port mirror, simply click the Add button at the top of the Port Mirroring window and you will see theย Port Mirroring: Add box to select your source port.

mirror04

 

After you have defined the source port(s) for monitoring, simply flag theย Admin Modeย toย Enable

mirror05

At this point you should have successfully setup a port mirror from a source port(s) over to a destination port for a monitoring workstation to be able to see traffic.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.