Appendix D - Telnet Communication with DGX CPU
257
Enova Digital Media Switchers - Hardware Reference Manual
4.
Press ENTER at the DGX_SHELL> prompt and begin sending commands (see DGX_SHELL commands on page 273 or
the
Basic Control Structure Protocol Programming Guide
at www.amx.com).
NOTE:
You must first enter the BCS command environment before sending BCS commands. At the DGX_SHELL> prompt,
type:
bcs <enter>
and then type the BCS command. The Telnet connection does not allow in-line BCS commands while
in the DGX_SHELL interface (e.g.,
DGX_SHELL> bcs CL1I6O24T {INVALID}
).
Telnet Default Communication
By default, the Telnet session starts in the DGX_SHELL and will immediately accept DGX_SHELL commands (see page 273).
Setting the Telnet Connection to Start in BCS
1.
Launch the Telnet session.
2.
Type the following DGX_SHELL command string:
DGX_SHELL> set shell_start_cmdstr_telnet=bcs
3.
Close the Telnet session.
4.
Open a new Telnet session and press
<enter>
.
5.
Begin entering BCS commands (for BCS commands, see the
Basic Control Structure Protocol Programming Guide
at
www.amx.com).
Setting the Telnet Connection to Start in the DGX_SHELL
1.
Launch the Telnet session.
2.
Press CTRL+C to exit the BCS environment and enter the DGX_SHELL.
3.
Type the following DGX_SHELL command string:
DGX_SHELL> unset shell_start_cmdstr_telnet
4.
Close the Telnet session.
5.
Open the Telnet session and press
<enter>
.
6.
Begin entering DGX_SHELL commands (for DGX_SHELL commands, see page 273).
Confirming the Telnet Session Starting Environment
1.
From the DGX_SHELL, type the following DGX_SHELL command:
DGX_SHELL> set
2.
Scroll through the command's output for the line:
shell_start_cmdstr_telnet=
3.
Confirm that the setting =
<blank>
(which means DGX_SHELL) or
<bcs>
.
Disabling the Telnet Session
The Telnet session (via internal Ethernet port) may be disabled through either NetLinx Studio or through a serial connection
to the DGX. With this port disabled and with auto-setup mode enabled, the DGX consumes one public IP address.
IMPORTANT:
Toggling IP settings (DHCP or Static IP) or enabling/disabling the Telnet internal Ethernet port via a serial
connection requires rebooting the DGX for the change(s) to take effect. Rebooting is not required when adjusting these
settings via NetLinx Studio.
Via NetLinx Studio
1.
Open NetLinx Studio and navigate to the OnLine Tree.
2.
Right-click on the Enova integrated Master (00000 device) and select TELNET Window/Launch TELNET Window via
NetLinx Studio. The terminal opens.
3.
Type the following command string <with appropriate values for your installation>:
If using Static IP –
send_command 5002:1:1, "'IFCONFIG-1,DOWN,S,<Default Gateway>'"
If using DHCP –
send_command 5002:1:1, "'IFCONFIG-1,DOWN,D,gw=<Default Gateway>'"
Via DGX_SHELL Command
1.
Enter the DGX_SHELL terminal interface (see instructions on page 273).
2.
Send the DGX_SHELL command to disable Telnet:
DGX_SHELL> unset mcpu_eth1_enabled
3.
Reboot the Enova DGX.