Cisco port monitoring monitor session

Source: Internet
Author: User


Cisco port monitoring monitor session SW1 (config) # monitor session 1 source interface f0/0 // define the monitored port SW1 (config) # monitor session 1 destination interface f0/12 // connect to the analysis tool's port (PC Packet capture) www.2cto.com SW1 # show monitor session 1 // view monitoring Session 1 session 1 --------- Source Ports: RX Only: NoneTX Only: NoneBoth: fa0/0 Source VLANs: RX Only: NoneTX Only: NoneBoth: NoneDestination Ports: Fa0/12 Filter VLANs: NoneSW2 (config) # monitor session 1 source vlan 10 both // defines two-way monitoring of the information of the specified VLAN SW2 (config) # monitor session 1 destination interface f0/12 // connect to the port of the Analysis Tool (PC Packet capture) SW2 (config) # monitor session 1 source interface f0/0-8 both // bidirectional monitoring of the information of multiple specified ports SW2 (config) # monitor session 1 destination interface f0/12 // connect to the port of the Analysis Tool (PC Packet capture) II. monitoring and Analysis on two vswitches 1. first, create a new VLAN on the SERVER side of The VTP domain without any ports belonging to this VLANSW2 # vlan databaseSW2 (vlan) # vlan 901 VLAN 901 added: Name: VLAN0901SW2 (vlan) # remote-span 2. on the monitored switch, define SW1 (config) # monitor session 1 source interface f0/0 both // define two-way monitoring of the information of the specified interface SW1 (config) # monitor session 1 destination remote vlan 901 Reflestor-port f0/12 // send the monitored information to f0/12 on VLAN 901
3. configure SW2 (config) # monitor session 1 source remote vlan 901 // monitor VLAN 901 information SW2 (config) on the switch with an Analysis Tool) # monitor session 1 destination remote interface f0/1 // send the monitored information to an interface with an Analysis Tool

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.