Control the access network of a known IP Address

Source: Internet
Author: User

MAC address-based ACL control ======= mac access-list extended MAC80185 deny host 00e0. 4c90. 01d1 any permit any! Www.2cto.com interface FastEthernet0/4 switchport access vlan 251 no ip address mac access-group MAC80185 in ================ =========================, method 2
Use SNIFFER to check the IP address of the faulty PC and the MAC address 0710-SCM4506-A # sh arp | in 172.27.2.120 Internet 172.27.2.120 1 0002. e348.aba1 ARPA Vlan2000710-SCM4506-A # conf tEnter configuration commands ,. e per line. end with CNTL/Z. run the following command to drop the faulty pc mac address and send the packet 0710-SCM4506-A (config) # mac-address-table static 0002. e348.aba1 vlan 200 dropNO drops the MAC address, and the PC can access www.2cto.com 0710-SCM4506-A (config) # no mac-address-table static 0002. e348.aba1 vlan 200 ======================================== ========================================================== showshow arp | in + ip find the MAC address, then show mac-address-table address MAC finds the corresponding switch port, 0710-SCM4506-A> show cdp neighbors GigabitEthernet3/15 find the device Capability Codes: R-Router, T-Trans Bridge, b-Source Route Bridge S-Switch, H-Host, I-IGMP, r-Repeater, p-PhoneDevice ID Local Intrfce Holdtme Capability Platform Port ID254150 Gig 3/15 166 s I WS-C2950G-Gig 0/2Cisco2924 # show mac-address-table dynamic address 0009.6b8c.64ec author a cat floating in the sky

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.