Section 7: Command reference
lan.status.gateway
This attribute reads the LAN default gateway address.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
gatewayAddress = lan.status.gateway
gatewayAddress
Details
The value of gatewayaddress is a string that indicates the IP address of the default gateway in dotted decimal
notation.
Example
print(lan.status.gateway)
Also see
lan.config.gateway
lan.status.ipaddress
This attribute reads the LAN IP address currently in use.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
ipAddress = lan.status.ipaddress
ipAddress
Details
The IP address is a character string that represents the IP address assigned to the instrument.
Example
print(lan.status.ipaddress)
Also see
lan.config.ipaddress
7-110
Affected by
Not applicable
LAN default gateway address
(on page 7-102)
Affected by
Not applicable
LAN IP address specified in dotted decimal notation
(on page 7-104)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Not applicable
Not applicable
Returns the gateway address, such as:
10.60.8.1
Where saved
Default value
Not applicable
Not applicable
Returns the LAN IP address currently in use, such
as:
10.60.8.83
707B-901-01 Rev. A / August 2010