home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service nat source rule <rule-number> log

Enables logging of entries for matches with a NAT source rule.

set service nat source rule rule-number log
delete service nat source rule rule-number log
show service nat source rule rule-number log

Log entries are not generated for matched rules.

rule-number
The numeric identifier of a rule. The identifier ranges from 1 through 9999.

Configuration mode

service {
    nat {
        source {
            rule rule-number {
                log 
            }
        }
    }
}

Use care when enabling this feature because it can create very large log files and quickly fill a disk.

Use the set form of this command to enable logging of entries for matches with a NAT source rule.

Use the delete form of this command to restore the default NAT logging, that is, the logging of NAT source entries is not generated.

Use the show form of this command to view the state of NAT logging.