Command Syntax
The VMware telnet extension defines a telnet proxy option for sending notification of vSphere vMotion events to a virtual serial port proxy. A VMware telnet extension command sequence uses the following general format:
IAC telnet-command VMWARE-TELNET-EXT [ext-command [parameters] IAC SE]
Where
- IAC is the telnet escape character prefix (Interpret as Command).
- telnet-command is one of the following telnet commands: WILL, WON’T, DO, DON’T, and SB.
- VMWARE-TELNET-EXT is the VMware telnet extension command.
- ext-command is a VMware telnet extension command that indicates one of the extension suboption commands. A suboption command sequence begins with the VMWARE-TELNET-EXT command and is enclosed within IAC SB ... IAC SE telnet subnegotiation commands.
- parameters indicates one or more parameter values.
- IAC SE is the telnet sequence for completing a subnegotiation command sequence.
The following sections contain tables of VMware telnet extension commands. A table entry shows the command, the corresponding integer code, a description, and the command and code sequences. A code sequence for a VMware telnet extension command has the following characteristics.
- The code sequence begins with code 255, the telnet escape character prefix IAC (Interpret as Command).
- VMware telnet extension commands use two- or three-byte code sequences.
- The VMWARE-TELNET-EXT command code is 232.
- Subnegotiation command sequences include begin (SB) and end (SE) codes (250 and 240).
For example, the DO-PROXY command requires the following code sequence with embedded arguments for direction (“S” for server) and URI:
IAC SB VMWARE-TELNET-EXT DO-PROXY direction uri IAC SE 255 250 232 70 "S" "telnet://example.com" 255 240 [R]VM