Display NAT statistcs in syslog for APV (LLB) traffic

Review Request #21 — Created Aug. 31, 2023 and updated

pradeep
APV10
10.4.0.112.1
83
kdutta, peteryeh, pmurugaiyan, prajesh, timlai

Most of our customers having requirement that, APV (LLB) should send the “NAT table” (show nat table) entries to Syslog server so that, they can make a report using the NAT table output. As it is very much essential data for auditing purpose.

LLB should send “NAT table” output to syslog server, which should include "Static NAT, NAT port and port forwarding".

We need LLB NAT table similar to SLB NAT "#log nat custom <format_string>" which we already have in APV.

sh log b b

INFO 2023 Feb 17 10:42:11 TCP 192.168.90.100 142.250.193.206 182.71.182.17 142.250.193.206

In above example: 192.168.90.100 and 142.250.193.206 are the actual source IP (internal) and destination IP (example google.com). And 182.71.182.17 is the NATed IP.
There are many other fields too that we can log. we can configure what information we need.
Below is the CLI.
AN(config)#log nat custom ?
Format string (%t %s %d ... Plase read APP Guide)
tested EGRESS and INGRESS traffic. Also tested Port forwarding for INGRESS.

Loading...