local-address
This command specifies the local address over which log events are transmitted to a remote recipient.
Syntax
local-address address
Parameters
- address
- Specifies the IP address of the interface.
Guidelines
The local-address specifies the local address over which syslog log events are transmitted to a remote recipient.
- For an SMTP log target, the local-address command is required. The log target uses TCP port 25.
- For a syslog-based log target, the local-address command
is optional.
- For syslog via UDP, the log target uses port 25.
- For syslog via TCP, the log target uses port 514.
For all other log types, the local-address command is not used.
Example
Specify the local interface used
to transmit log messages to an SMTP server.
# type smtp
# local-address 10.10.13.4