File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ icmp 192.168.20.4:16 192.168.40.2:16 192.168.10.2:16 192.168.10.2:16
1491491 . 建立 ACL
150150 1 . ` RC(config)#access-list 100 deny icmp host 192.168.10.4 host 192.168.60.2 `
151151 2 . ` RC(config)#access-list 100 permit icmp any any `
152+ 3 . ` RC(config)#access-list 100 permit ospf any any `
1521532 . 应用 ACL
153154 1 . ` RC(config)#interface g0/0/0 `
154155 2 . ` RC(config-if)#ip access-group 100 in `
Original file line number Diff line number Diff line change @@ -264,6 +264,8 @@ RD#show ip nat translations
264264```
265265RC(config)#access-list 100 deny icmp host 192.168.10.4 host 192.168.60.2
266266RC(config)#access-list 100 permit icmp any any
267+ RC(config)#access-list 100 permit ospf any any
268+
267269RC(config)#interface g0/0/0
268270RC(config-if)#ip access-group 100 in
269271```
You can’t perform that action at this time.
0 commit comments