Configuring Redirection Function on Asynchronous Serial Interface(s) 2161c CAUTION:■ If SSH is configured, you must set the authentication mode to scheme usingthe authentication-mode scheme command to guarantee a successful login.The protocol inbound ssh command fails if the authentication mode ispassword or none. For the corresponding configuration, refer to theauthentication-mode command in “User Interface Configuration” on page2155.■ The protocol(s) configured through the protocol inbound command takeseffect next time you log in from that user interface.ConfiguringRedirection Functionon AsynchronousSerial Interface(s)n Currently, this function is supported on the AUX and TTY user interfaces only.With the redirection function, you can let user A, who telnets to router B with aspecific port number, log onto device C which is connected to the asynchronousinterface of router B. The user will see the interface of device C, and operationsunder that view will apply to device C.Follow these steps to configure redirection on asynchronous serial interfaces:To do... Use the command... RemarksEnter system view system-view --Enter VTY user interface view user-interface { first-num1[ last-num1 ] | vty first-num2[ last-num2 ] }--Enable redirection on theasynchronous serial interfaceredirect enable RequiredDisabled by defaultSet the timeout time for theredirected telnet connectionredirect timeout time Optional360 seconds by defaultDisable Telnet optionnegotiation when establishingredirected Telnet connectionredirect refuse-negotiation OptionalEnabled by defaultSpecify a listening port forredirected Telnet connectionsredirect listen-portport-numberOptionalBy default, the port number isequal to the absolute numberof the user interface plus2000.Enable the device thatredirects Telnet connection toprocess the carriage returnsreceived from the Telnet clientredirect return-dealfrom-telnetOptionalDisabled by defaultEnable the device thatredirects Telnet connection toprocess the carriage returnsreceived from the terminalredirect return-dealfrom-terminalOptionalDisabled by defaultManually terminate theredirected Telnet connectionredirect disconnect Optional