service nat source rule <rule-number> log
Enables logging of entries for matches with a NAT source rule.
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.