DGX IFCONFIG
Question:
Is there a way to access the DGX switcher for troubleshooting if the ICSLAN port is inaccessible?
Answer:
NOTE: This interface will consume a second IP on the PUBLIC LAN.
Although the below information is shown as Netlinx code, control a device in Netlinx Studio can be used as well. Responses will show up in Netlinx Studio notifications for 5002:1:<system number>.
- To ENABLE Telnet interface via DHCP method:
- send_command 5002:1:0, "'IFCONFIG-1,UP,D,hn=vDGXShell'" //can’t specify mask or gw for DHCP
- reboot the DGX to get a DHCP address
- To ENABLE Telnet interface via Static IP method:
- send_command 5002:1:0, "'IFCONFIG-1,UP,S,ip=10.35.4.211,gw=10.35.4.1,mask=255.255.255.0'"
- a reboot is not necessary for static IP method
- To query IFCONFIG settings on port 1:
- send_command 5002:1:0, "'?IFCONFIG-1'"
- To DISABLE IFCONFIG settings on port 1:
- send_command 5002:1:0, "'IFCONFIG-1,DOWN,S,gw=10.35.4.1'" //notice the gateway is used, not the static IP
- send_command 5002:1:0, "'IFCONFIG-1,DOWN,D'"
- Once IFCONFIG is enabled port 23 on the specified LAN IP will pass through to the ICSLAN port 23 on the switcher IP.
IFCONFIG is not intended to be left on permanently. Enable IFCONFIG, do what is needed, then disable it.
The DGX logging utility can be used through this connection also.