Network Commands
These commands configure the Ethernet and USB-C network interfaces. Write commands take effect immediately.
Ethernet Interface
:SYSTem:NETwork:ETHernet:MODE
Query or set the Ethernet operating mode.
Short form: :SYST:NET:ETH:MODE
| Mode | Description |
|---|---|
static |
Static IP address |
dhcp_client |
Obtain IP from a DHCP server |
dhcp_client_fallback |
Try DHCP; fall back to static after timeout |
Examples:
:SYSTem:NETwork:ETHernet:IPADdress
Query or set the configured Ethernet IP address.
Short form: :SYST:NET:ETH:IPAD
Examples:
:SYSTem:NETwork:ETHernet:SMASk
Query or set the Ethernet subnet mask.
Short form: :SYST:NET:ETH:SMAS
Examples:
:SYSTem:NETwork:ETHernet:GATEway
Query or set the Ethernet default gateway.
Short form: :SYST:NET:ETH:GATE
Examples:
:SYSTem:NETwork:ETHernet:DHCPTimeout
Query or set the DHCP fallback timeout in seconds. Used in dhcp_client_fallback mode.
Short form: :SYST:NET:ETH:DHCPT
Examples:
:SYSTem:NETwork:ETHernet:DHCP:STARt
Query or set the DHCP server pool start address.
Short form: :SYST:NET:ETH:DHCP:STAR
Examples:
:SYSTem:NETwork:ETHernet:DHCP:END
Query or set the DHCP server pool end address.
Short form: :SYST:NET:ETH:DHCP:END
Examples:
:SYSTem:NETwork:ETHernet:DHCP:LEASetime
Query or set the DHCP lease time.
Short form: :SYST:NET:ETH:DHCP:LEAS
Examples:
:SYSTem:NETwork:ETHernet:LIVeip?
Query the live IP address currently active on the Ethernet interface. Read-only.
Short form: :SYST:NET:ETH:LIV?
Example:
:SYSTem:NETwork:ETHernet:MAC?
Query the Ethernet MAC address. Read-only.
Short form: :SYST:NET:ETH:MAC?
Example:
USB-C Gadget Interface
:SYSTem:NETwork:USB:MODE
Query or set the USB-C networking mode.
Short form: :SYST:NET:USB:MODE
| Mode | Description |
|---|---|
static |
Static IP address |
dhcp_host |
Run DHCP server for connected host |
disabled |
Interface is brought down |
Examples:
:SYSTem:NETwork:USB:IPADdress
Query or set the configured USB-C IP address.
Short form: :SYST:NET:USB:IPAD
Examples:
:SYSTem:NETwork:USB:SMASk
Query or set the USB-C subnet mask.
Short form: :SYST:NET:USB:SMAS
Examples:
:SYSTem:NETwork:USB:ENABled
Query or set the USB-C interface enabled state.
Short form: :SYST:NET:USB:ENAB
Examples:
:SYSTem:NETwork:USB:DHCP:STARt
Query or set the USB-C DHCP server pool start address.
Short form: :SYST:NET:USB:DHCP:STAR
Examples:
:SYSTem:NETwork:USB:DHCP:END
Query or set the USB-C DHCP server pool end address.
Short form: :SYST:NET:USB:DHCP:END
Examples:
:SYSTem:NETwork:USB:DHCP:LEASetime
Query or set the USB-C DHCP lease time.
Short form: :SYST:NET:USB:DHCP:LEAS
Examples:
:SYSTem:NETwork:USB:LIVeip?
Query the live IP address currently active on the USB-C interface. Read-only.
Short form: :SYST:NET:USB:LIV?
Example:
:SYSTem:NETwork:USB:MAC?
Query the USB-C MAC address. Read-only.
Short form: :SYST:NET:USB:MAC?
Example:
Network Reset
:SYSTem:NETwork:RESet
Restore factory default network configuration and apply immediately.
Short form: :SYST:NET:RES
Example:
Quick Reference
Ethernet
| Command | Short Form | R/W | Description |
|---|---|---|---|
:SYSTem:NETwork:ETHernet:MODE |
:SYST:NET:ETH:MODE |
R/W | Ethernet operating mode |
:SYSTem:NETwork:ETHernet:IPADdress |
:SYST:NET:ETH:IPAD |
R/W | Configured IP address |
:SYSTem:NETwork:ETHernet:SMASk |
:SYST:NET:ETH:SMAS |
R/W | Subnet mask |
:SYSTem:NETwork:ETHernet:GATEway |
:SYST:NET:ETH:GATE |
R/W | Default gateway |
:SYSTem:NETwork:ETHernet:DHCPTimeout |
:SYST:NET:ETH:DHCPT |
R/W | DHCP fallback timeout (seconds) |
:SYSTem:NETwork:ETHernet:DHCP:STARt |
:SYST:NET:ETH:DHCP:STAR |
R/W | DHCP pool start |
:SYSTem:NETwork:ETHernet:DHCP:END |
:SYST:NET:ETH:DHCP:END |
R/W | DHCP pool end |
:SYSTem:NETwork:ETHernet:DHCP:LEASetime |
:SYST:NET:ETH:DHCP:LEAS |
R/W | DHCP lease time |
:SYSTem:NETwork:ETHernet:LIVeip? |
:SYST:NET:ETH:LIV? |
R | Live IP address |
:SYSTem:NETwork:ETHernet:MAC? |
:SYST:NET:ETH:MAC? |
R | MAC address |
USB-C
| Command | Short Form | R/W | Description |
|---|---|---|---|
:SYSTem:NETwork:USB:MODE |
:SYST:NET:USB:MODE |
R/W | USB-C operating mode |
:SYSTem:NETwork:USB:IPADdress |
:SYST:NET:USB:IPAD |
R/W | Configured IP address |
:SYSTem:NETwork:USB:SMASk |
:SYST:NET:USB:SMAS |
R/W | Subnet mask |
:SYSTem:NETwork:USB:ENABled |
:SYST:NET:USB:ENAB |
R/W | Enabled state (0/1) |
:SYSTem:NETwork:USB:DHCP:STARt |
:SYST:NET:USB:DHCP:STAR |
R/W | DHCP pool start |
:SYSTem:NETwork:USB:DHCP:END |
:SYST:NET:USB:DHCP:END |
R/W | DHCP pool end |
:SYSTem:NETwork:USB:DHCP:LEASetime |
:SYST:NET:USB:DHCP:LEAS |
R/W | DHCP lease time |
:SYSTem:NETwork:USB:LIVeip? |
:SYST:NET:USB:LIV? |
R | Live IP address |
:SYSTem:NETwork:USB:MAC? |
:SYST:NET:USB:MAC? |
R | MAC address |