Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

track ip address

Hi Experts

how can i monitor and track  an ip address coming to my router and going to another destination,i need to block it in such a way

thanks

jamil

3 REPLIES

track ip address

Jamil,

Are you wanting to drop traffic from it completely? You could use an acl to do this...

access-list 101 deny ip host 5.5.5.5  host 192.168.1.5

access-list 101 permit ip any any

int fa0/0 (WAN)

ip access-group 101 in

If this isn't what you need, please let us know...

John

HTH, John *** Please rate all useful posts ***

track ip address

Hi ibrahim,

Since you also want to track/monitor the traffic from specific Source/Destinatiion IP you could use the log option at the end of the AList. For instance the example (based on the j.blakley post) could be as follows

access-list 101 deny ip host 5.5.5.5  host 192.168.1.5 log

access-list 101 permit ip any any

Then, all these logs can be stored either locally to the buffer of the router or sent to a Syslog server.

Newer versions of IOS also provide the log-input keyword, which adds information about the interface from which the packet was received, and the MAC address of the host that sent it.

Either option causes an informational logging message about the matching packet to be sent to console/Syslog.

Hope that helps,

Vasilis

Re: track ip address

Hi Jamil,

You can enable IP accounting and then create an ACL once you know the IP addresses you want to filter.

Sent from Cisco Technical Support iPhone App

214
Views
0
Helpful
3
Replies