Port mirroring configuration for Cisco switches

Source: Internet
Author: User
Tags config switches cisco switch

In order to manage a network, the network grasping the packet Analyzer is essential, but now is no longer the hub era, grab bag is not so easy, but there is always a way to mirror the port, the other port data copy to the port you specify, so you can grab the bag. Today is not about grabbing bags, It is mainly about how to configure the Cisco switch mirroring port to prepare for the grab package.

Connect the switch with the control line, turn on HyperTerminal, and if the switch is configured remotely, you can also direct telnet to the switch for configuration.

For example, I want to grab a f0/1-23 port on the f0/24 port.

The configuration is as follows:

switch#conf T (enter global configuration mode)

Switch (config) #monitor session 1 Destination Interface fastethernet 0/24 (Specify the port on which to connect the grab host)

Switch (config) #monitor session 1 Source Interface F0/1-both (Specify Port 1-23,both is in and out of the packets are caught)

Very simple settings on it, but here is a small problem, is to do the mirror port, connect this port becomes one-way reception mode, then the host will not be able to access the Internet. So, what if you want to connect to a remote connection? Just add a network card on this host to the Internet, you can also remote.

This article from the "Operation and maintenance work Struggle" blog, please be sure to retain this source http://yanghuawu.blog.51cto.com/2638960/682088

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.