Fortinet black logo

CLI Reference

Listen on interface/port

Listen on interface/port

The listen port means the port used for communication for GLB and SLB server. The GLB listen port is 5858 by default. User can change to other port from 1 to 65535.

Syntax

config global-load-balance setting

set listen-on-all-interfaces <enable/disable}

set ipv4-accessed-status <enable/disable>

set ipv6-accessed-status <enable/disable?

set port <integer>

end

listen-on-all-interfaces

Enable or disable IPv4/IPv6 network accessed status on all interfaces.

port

listen-on-port

ipv4-accessed-status

Enable/disable listening for DNS requests on the interface IPv4 address.

ipv6-accessed-status

Enable/disable listening for DNS requests on the interface IPv6 address.

Example

FortiADC-VM (setting) # get

ipv6-accessed-status: enable

ipv4-accessed-status: enable

listen-on-all-interface : enable

port : 5858

FortiADC-VM (setting) # set port 5858

FortiADC-VM (setting) # end

Listen on interface/port

Listen on interface/port

The listen port means the port used for communication for GLB and SLB server. The GLB listen port is 5858 by default. User can change to other port from 1 to 65535.

Syntax

config global-load-balance setting

set listen-on-all-interfaces <enable/disable}

set ipv4-accessed-status <enable/disable>

set ipv6-accessed-status <enable/disable?

set port <integer>

end

listen-on-all-interfaces

Enable or disable IPv4/IPv6 network accessed status on all interfaces.

port

listen-on-port

ipv4-accessed-status

Enable/disable listening for DNS requests on the interface IPv4 address.

ipv6-accessed-status

Enable/disable listening for DNS requests on the interface IPv6 address.

Example

FortiADC-VM (setting) # get

ipv6-accessed-status: enable

ipv4-accessed-status: enable

listen-on-all-interface : enable

port : 5858

FortiADC-VM (setting) # set port 5858

FortiADC-VM (setting) # end