cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
671
Views
0
Helpful
1
Replies

How to filter DNS entries from NAT Logging using flow-export v9?

kirancisco
Level 1
Level 1

We would like to block/filter all DNS NAT entries on a VRF from reaching the NAT Logger server.

Current Config:

ip nat log translations flow-export v9 udp destination 172.X.X.X 999 source Loopback0

ip nat log translations flow-export v9 vrf XX on

The NAT command reference says:

To enable high speed logging for all or some a Network Address Translation (NAT) translations, use the ip nat log translations flow-export command in global configuration mode. To remove one or more translations from the log, use the no form of this command.

ip nat log translations flow-export v9 {udp destination addr port source interface interface-number | {vrf-name | global-on}}

no ip nat log translations flow-export v9 {udp destination addr port source interface interface-number | {vrf-name | global-on}}

But when I use <no ip nat log translations flow-export v9 udp destination 172.X.X.X  53 source int Loopback0> the logging is disabled completely!

Can any one provide some configs/advice on how this can be done?

Thank You!

1 Reply 1

NickNac79
Level 1
Level 1

Hi Kirancisco,

I think that the documentation may not be worded very well.

You can't filter specific translations as far as I'm aware (happy to be proven wrong though!) - if you need to filter out certain types, you'll need to do this on your Netflow collector.

The only thing that you can filter, is which VRFs you collect the logs for.

Sorry this is not better news.

Nick

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card