CCNA ACL experiment

e28a4287b53d4a79acde1aed20d0776f

21d7d0b271d74432906d3dc01c43ad3c

f03811a7aba94006b77e6772c0380d97

d62af16ddb934aaeb7fd12e9ec28e367

59d44c678ca74d7f967c82050e989532

875a0a25b53a45c6abc3bf3dd26dc8c4

41c830a72fed4b3c9e54acbeadc44a37

In the CCIE exam, the original ACL entry cannot be deleted but can only be modified

39f5f895cdb64c5398f32e5c0459795e

8b68e82f3f2e42cfac99d19d8acd91f6

c24f73ea26f44fd58c7d93ac68c6cfd5

32650f5da2b842a18ff4628e30827732

75100698eebd4456894ceaa1c4d3a9ab

2c587ef277ed498cb0ee60c480459e98

5c815eb9672e4ae0a3e1d4ba44d87fbb

39a74e3abc1a4167b153cfde7b2d320d

Experimental topology

e8d866742a9441449dabaf9e8075a8a9

cf4f272e4a7943149981d8b513be80e5

Make sure that the interface and routing protocol are connected

The requirements are as follows

ab4b341270f74f31b3c60cb54fdf1563

7aa21e60e835452e8fea46233c228616

R4(config)#access-list 1 deny host 192.168.12.1

R4(config)#access-list 1 permit any

fc03f8b12ffb4d758574d84303785d3b

result of sh run

Apply the condition to port e0/2

R4(config)#int e0/2

R4(config-if)#ip access-group 1 in

R4(config-if)#end

R1 5 lost packets

7c0dff38b2bb4e378920bf220dfcc4cc

It's easy to delete

R4(config-if)#no ip access-group 1 in

The first method wastes a lot of bandwidth, the second method does on R2

R2(config)#access-list 100 deny ip host 192.168.12.1 host 4.4.4.4

R2(config)#access-list 100 permit ip any any

c43ec84a40224fd19eb978f107ed5241

applied to the interface

R2(config-if)#ip access-group 100 in

R1 can no longer access R4

50e806124a484c258bc36d3d2ef0e660

The edit method is as follows

R2(config)#ip access-list extended 100

R2(config-ext-nacl)#do show access-list

Extended IP access list 100

10 deny ip host 192.168.12.1 host 4.4.4.4 (15 matches)

20 permit ip any any (15 matches)

simply no

R2(config-ext-nacl)#no 10

R2(config-ext-nacl)#do show access-list

Extended IP access list 100

20 permit ip any any (17 matches)

When adding back, remember to be lower than the permit number

R2(config-ext-nacl)#5 deny ip host 192.168.12.1 host 4.4.4.4

R2(config-ext-nacl)#do show access-list

Extended IP access list 100

5 deny ip host 192.168.12.1 host 4.4.4.4

20 permit ip any any (21 matches)

R2(config-ext-nacl)#

6c9269e956974565b3af059b1b1d70c5

naming method

R4(config)#ip access-list standard CCIE

R4(config-std-nacl)#deny 192.168.12.1

R4(config-std-nacl)#permit any

45d90c17d69e4b7cb81d96c3cf8e3904

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326106873&siteId=291194637
ACL