The nat port-block syslog host command configures the syslog server for the port range.
The undo nat port-block syslog host command clears the previous configuration.
nat port-block syslog host host-address [ host-port ] source source-name source-address source-port
undo nat port-block syslog host host-address [ host-port ] source source-name source-address source-port
| Parameter | Description | Value |
|---|---|---|
| host-address | Specifies the IP address of the syslog server. | - |
| host-port | Specifies the port of the syslog server. | The value is an integer ranging from 1 to 65535. The default value is 514. |
| source-name | Specifies the name of the device that sends syslogs to the syslog server. | The value is a string of 1 to 31 characters. |
| source-address | Specifies the address of the device that sends syslogs to the syslog server. | - |
| source-port | Specifies the port of the device that sends syslogs to the syslog server. | The value is an integer ranging from 1 to 65535. |