The firewall log source command sets the source IP address and port number that the FW uses to send logs.
The undo firewall log source command cancels the above configuration.
| Parameter | Description | Value |
|---|---|---|
ip-address |
Specifies the source IP address that the FW uses to send logs. NOTE:
The source IP address used for sending logs can be an IPv6 address, which takes effect only when the device connects to a third-party log host. |
|
port |
Specifies the port number that the FW uses to send logs. |
It is an integer that ranges from 1024 to 65535. |
Parameter ip-address is the IP address of an interface of the FW. If ip-address and the IP address of the log host are not on the same network segment, ensure that the route between the FW and the log host are reachable.
If you run the commands repeatedly, the latest configuration overwrites the original one.