cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
185
Views
0
Helpful
5
Replies
Highlighted

Access-list

Hi All,

In one of the distribution switch I could see the below permit statement are added. Could you please explain the difference between the below  2 lines?

 

IP access-list extended  XXX  

21 permit icmp X.X.X.X X.X.X.X any

22 permit icmp any X.X.X.X X.X.X.X

 

Thanks.

 

Everyone's tags (1)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Frequent Contributor

Re: Access-list

21 permit icmp X.X.X.X X.X.X.X any - Is permitting ICMP being sourced FROM x.x.x.x x.x.x.x TO any
22 permit icmp any X.X.X.X X.X.X.X - Is permitting ICMP FROM any TO x.x.x.x x.x.x.x
VIP Advisor

Re: Access-list

21 permit icmp X.X.X.X X.X.X.X any   - FROM (source to ANY)

22 permit icmp any X.X.X.X X.X.X.X  - ANY to Destination XX

BB
*** Rate All Helpful Responses ***
5 REPLIES 5
Frequent Contributor

Re: Access-list

21 permit icmp X.X.X.X X.X.X.X any - Is permitting ICMP being sourced FROM x.x.x.x x.x.x.x TO any
22 permit icmp any X.X.X.X X.X.X.X - Is permitting ICMP FROM any TO x.x.x.x x.x.x.x

Re: Access-list

Thanks a lot Grant. I got it.
VIP Advisor

Re: Access-list

21 permit icmp X.X.X.X X.X.X.X any   - FROM (source to ANY)

22 permit icmp any X.X.X.X X.X.X.X  - ANY to Destination XX

BB
*** Rate All Helpful Responses ***

Re: Access-list

Thanks Balaji for the solution.
VIP Advisor

Re: Access-list

You welcome and happy that answer helped you.

 

BB
*** Rate All Helpful Responses ***
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards