Cisco router ACL wildcard

Source: Internet
Author: User

Cisco router ACL wildcard

192.168.1.20-192.168.1.50 range of networks

A contiguous address, the form of a wildcard mask must be:

11111111=255

01111111=127

00111111=63

00011111=31

00001111=15

00000111=7

00000011=3

00000001=1

For range 20-50, be sure to use Access-list 1 per 192.168.1.0 0.0.0.63, then go head to tail


0-16 the maximum block address that can be contained is 16:access-list 1 deny 192.168.1.0 0.0.0.15

16-19 The maximum address block that can be contained is 4:access-list 1 deny 192.168.1.16 0.0.0.3

56-63 the maximum block address that can be contained is 8:access-list 1 deny 192.168.1.56 0.0.0.7

52-55 the maximum block address that can be contained is 4:access-list 1 deny 192.168.1.52 0.0.0.3

Only 511 addresses left: Access-list 1 deny host 192.168.1.51


The entire ACL is written as:

Access-list 1 Deny 192.168.1.0 0.0.0.15

Access-list 1 Deny 192.168.1.16 0.0.0.3

Access-list 1 Deny 192.168.1.56 0.0.0.7

Access-list 1 Deny 192.168.1.52 0.0.0.3

Access-list 1 Deny host 192.168.1.51

Access-list 1 per 192.168.1.0 0.0.0.63


Cisco router ACL wildcard

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.