Several common Cisco switch port listening configurations

Source: Internet
Author: User
Tags cisco switch

Catalyst 2900xl/3500xl/2950 Series switch Port listening configuration

The following command configures Port sniffing:

Port Monitor

For example, F0/1 and F0/2, F0/2 are VLAN1,F0/1 listening F0/2, F0/2 ports:

Interface FASTETHERNET0/1

Port Monitor FASTETHERNET0/2

Port Monitor FASTETHERNET0/5

Port Monitor VLAN1

2. Catalyst 4000,5000,and 6000 Series switch Port listening configuration

The following command configures Port sniffing:

Set span

For example, Port 1 and Port 2 in Module 6 are VLAN1, Port 3 is in VLAN2, ports 4 and 5 are in VLAN2, Port 2 listens on ports 1 and 3, 4, 5,

Set span 6/1,6/3-5 6/2

The following command prohibits port sniffing:

Set span disable [Dest_mod/dest_port|all]

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.