Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-102
707B-901-01 Rev. A / August 2010
Usage
state = lan.config.dns.verify
lan.config.dns.verify = state
state
DNS hostname verification state:
•
lan.ENABLE
or
1
: DNS host name verification enabled
•
lan.DISABLE
or
0
: DNS host name verification disabled
Details
When this is enabled, the instrument performs DNS lookups to verify that the DNS host name matches the value
specified by
lan.config.dns.hostname
.
Example
print(lan.config.dns.verify)
Returns the present DNS host name verification
state.
If it is enabled, the return is:
1.000
Also see
(on page 7-101)
lan.config.gateway
This attribute describes the LAN default gateway address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
"0.0.0.0"
Usage
gatewayAddress = lan.config.gateway
lan.config.gateway = gatewayAddress
gatewayAddress
LAN default gateway address. Must be a string specifying the default
gateway’s IP address in dotted decimal notation.
Details
This attribute specifies the default gateway IP address to use when manual or DLLA configuration methods are
used to configure the LAN. If DHCP is enabled, this setting is ignored.
This attribute does not indicate the actual setting currently in effect. Use the
lan.status
attributes to determine
the current operating state of the LAN.
The IP address must be formatted in four groups of numbers each separated by a decimal.
Example
print(lan.config.gateway)
Returns the default gateway address. For example,
you might see the output:
010.060.008.001