Disable forwarding of a specific MAC address on a cisco Switch

Source: Internet
Author: User
Tags cisco switch

Disable forwarding of a specific MAC address on a cisco Switch
It is really annoying to see other illegal DHCP in the LAN. In addition to the dhcp snooping method, you can also directly disable the mac address! The MAC address of machine A is 00-01-02-03-04-05, which is connected to port F0/3 of Switch B, port F0/3 is in VLAN3. Currently, forwarding of A is blocked on port B. You can set the following according to different vswitches: CatOS (v5.5 or above ): set cam permanent 00-01-02-03-04-050/43 clear cam 00-01-02-03-04-05 IOS: 6500/4500/4000/3750/3560/3550: mac address-table static 0001.0203.0405 vlan 3 drop 3500XL/2900XL: mac address-table secure 0001.0203.0405 fastethernet 0/4 vlan 3 2950 (WS-C2950): mac address-table static 0001.0203.0405 vla N 3 interface fastethernet0/4 In addition, you can also bind the MAC address of machine A to the direct port of machine A to achieve this purpose, the method is as follows: 1. show mac-address-table and find the port and VLAN of the MAC. For example, if FA0/3 is found and VALN is 1, MAC: 0001.0203.00XX 2,> enable # configure terminal (config) # mac address-table static 0001.0203.00XX vlan 1 interface fastEthernet 0/4 --- forcibly binds 0001.0203.00XX from VALN1 to fastEthernet 0/4, in this way, you cannot run the 0001.0203.00XX address on fastEthernet 0/3! (Config) # exit becomes!

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.