ipaddress
IP
,
ZONE

The ipaddress statement returns the current IP address of the computer, or "" if not connected.


Parameters

This statement has two parameters:

ip – Field or variable to contain the IP address, or 0.0.0.0 if no such address.

zone – specifies whether you want the address on the local network (INTERNAL), or the public address of your router (EXTERNAL). If omitted, the default is INTERNAL.


Description

This statement returns the current IP address of the computer, or "" if not connected. This example displays your computer’s IP address on the local network.

local ip
ipaddress ip
message ip

This example displays your router’s IP address.

local ip
ipaddress ip,"external"
message ip

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama.