[Xorp-hackers] About misc.cmds

杨小帅 eshe168 at gmail.com
Tue Sep 23 20:10:02 PDT 2008


Hi,
     I added a new operational command, telnet, by modify the
misc.cmds. But when I use the telnet in the XORPshell, There is
nothing responsive. And the telnet can be used normally in shell.
     My OS is Debian. And, the complete command is telnet 127.0.0.1.

PS:
misc.cmds:
telnet <host> {
	%command: "telnet $2" %help: "Give an hostname or IP address.";
	%nomore_mode;
}

The information in XORPshell:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

B.R.
Xiaoshuai Yang



More information about the Xorp-hackers mailing list