port

Configures the port number of the Remote syslog server (Rsyslog).

Syntax

port [ 514-530 ]

Parameters

port 514-530
Specifies port numbers between 514-530.

Modes

Host configuration mode

Examples

The following example configures the port number of the Remote syslog server.

device(config-logging-host-H1)# port 514 
Warning: Existing Host configuration changed 
device(config-logging-host-h1)# port 510 
% Unknown command. 

device(config-logging-host-h1)# port abc 
% Unknown command. 

device(config-logging-host-h1)# port 
<514-530>  Remote server port number <514-530> [default:514] 

device(config-logging-host-h1)# port 514 
Host already configured!