Guest User

Untitled

a guest
Jan 12th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. 9.3.2.10
  2.  
  3. R1>
  4. R1>en
  5. R1#conf t
  6. Enter configuration commands, one per line. End with CNTL/Z.
  7. R1(config)#acces
  8. R1(config)#access-list 100 per
  9. R1(config)#access-list 100 permit t
  10. R1(config)#access-list 100 permit tcp 172.22.34.64 0.0.0.31 host 172.22.34.62 eq ftp
  11. R1(config)#access-list 100 permit icmp 172.22.34.64 0.0.0.31 host 172.22.34.62
  12. R1(config)#int g0/0
  13. R1(config-if)#ip ac
  14. R1(config-if)#ip access-group 100 in
  15. R1(config-if)#exit
  16. R1(config)#ip ac
  17. R1(config)#ip access-list e
  18. R1(config)#ip access-list extended HTTP_ONLY
  19. R1(config-ext-nacl)#per
  20. R1(config-ext-nacl)#permit tc
  21. R1(config-ext-nacl)#permit tcp 172.22.34.96 0.0.0.15 host 172.22.34.62 eq www
  22. R1(config-ext-nacl)#permit icmp 172.22.34.96 0.0.0.15 host 172.22.34.62
  23. R1(config-ext-nacl)#exit
  24. R1(config)#int g0/1
  25. R1(config-if)#ip ac
  26. R1(config-if)#ip access-group HTTP_ONLY in
Advertisement
Add Comment
Please, Sign In to add comment