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