cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1016
Views
0
Helpful
3
Replies

How can I display an access list log?

s.debenito
Level 1
Level 1

Hi,

I have used the IOS command:

access-list 9 permit any log

But now how can I display the log's content?

Thanks !

3 Replies 3

network.king
Level 4
Level 4

Hi

you can see the loggings mentioned in the access-list ( if applied somewhere ) using

the " show log " command

regards

vanesh k

you can configure a syslog server also

and receive and parse logs

rate if it helps

Sergio

If you have an access list which uses the log parameter then where you can see the log depends on how you have configured logging (both destination and severity level). If you configure the logging severity level at informational (level 6) or debugging (level 7) you should see the access list logging but if you configure the severity level at anything above these levels then the access list logging will not be included. If you have enabled logging to the console (which is enabled by default on most platforms) at an appropriate level the access list log messages would be displayed on the console. If you have enabled logging buffered at an appropriate level then you can display the log messages by using the show log command. If you have enabled logging monitor at an appropriate level and have entered the terminal monitor command then the access list log messages will be displayed in your remote session. If you have enabled logging host (to a syslog server) at an appropriate level then the access list log messages are sent to the syslog server and you can see them on the server using appropriate tools and commands on the server.

HTH

Rick

HTH

Rick