background image

 

13 

vty

 

vty-number

 

rtc-server remote

 i

p-address

 

terminal-number 

After this configuration, the template cannot be configured with any RTC client VTYs. 

The 

terminal-number

 argument of the 

vty rtc-server remote

 command configured 

on the RTC server must be the same as the 

terminal-number

 argument of the 

rta 

terminal

 command configured on the RTC client. Otherwise, no TCP connection can be 

established. 

Each VTY of the RTC server must correspond to a different RTC client. 

4. 

(Optional.) Configure the timer for the TCP RTC server VTY. 

 

Configure the automatic link teardown time. 

auto-close

 

time 

By default, the automatic link teardown time is 0 seconds, which indicates that no automatic 
link teardown is performed. 

 

Configure the TCP connection idle timeout time. 

idle-timeout seconds 

By default, the TCP connection idle timeout time is 0 seconds, which indicates that the 
connection never times out. 

5. 

(Optional.) Bind a VPN instance to the template. 

bind vpn-instance vpn-instance-name 

By default, the template is not bound with any VPN instance. 

6. 

(Optional.) Configuring the terminal buffer. 

 

Configure the router to not clear the terminal buffer after a TCP connection is established. 

driverbuf

 

save 

By default, the router clears the terminal receive buffer after a TCP connection is 
established.  

 

Configure the terminal receive buffer size. 

driverbuf

 

size

 

size 

By default, the terminal receive buffer size is 8 KB. 

 

Configure the maximum size of data sent to a terminal at one time. 

sendbuf bufsize

 

size 

By default, the maximum size of data sent to a terminal at one time is 500 bytes. 

 

Configure the terminal send buffer threshold. 

sendbuf threshold value 

By default, no terminal send buffer threshold is configured. 

7. 

(Optional.) Configure TCP parameters. 

tcp

 

{

 

recvbuf-size

 

recvsize

 

|

 

sendbuf-size

 

sendsize

 

|

 

nodelay

 

|

 

keepalive

 

time count

 

By default: 

 

The receive buffer size is 2048 bytes. 

 

The send buffer size is 2048 bytes. 

 

Delay is enabled. 

 

The keepalive interval is 50 seconds. 

 

The keepalive number is 3. 

This command takes effect only after a TCP connection is re-established. 

8. 

(Optional.) Configure the password for VTY authentication. 

vty

 

vty-number

 

password

 

{

 

simple

 

|

 

cipher

 

}

 

string 

Summary of Contents for MSR810

Page 1: ...H3C MSR 810 2600 3600 Routers Comware 7 Terminal Access Configuration Guide New H3C Technologies Co Ltd http www h3c com Software version MSR CMW710 R0809 Document version 6W400 20200823...

Page 2: ...H3C Technologies Co Ltd any trademarks that may be mentioned in this document are the property of their respective owners Notice The information in this document is subject to change without notice A...

Page 3: ...s enclose a set of required syntax choices separated by vertical bars from which you select one x y Square brackets enclose a set of optional syntax choices separated by vertical bars from which you s...

Page 4: ...s a Layer 2 or Layer 3 switch or a router that supports Layer 2 forwarding and other Layer 2 features Represents an access controller a unified wired WLAN module or the access controller engine on a u...

Page 5: ...Documentation feedback You can e mail your comments about product documentation to info h3c com We appreciate your comments...

Page 6: ...elay server TCP_N1_Server 15 Configuring the synchronous UDP RTC one to one initiator UDP_11_Client 16 About the synchronous UDP RTC one to one initiator 16 Enabling terminal access on the router 16 C...

Page 7: ...ata received from an initiator is forwarded to other initiators in the same group NOTE In an actual network the receiver and the relay server are not both deployed Connections between an initiator and...

Page 8: ...on can ensure high reliability of the data transmitted but it has a certain forwarding delay Because voice service does not require high reliability the UDP RTC transparent transmission is mainly appl...

Page 9: ...the following TCP_11_Client RTC TCP one to one client TCP_11_Server RTC TCP one to one server TCP_N1_Server relay server UDP_11_Client RTC UDP one to one client UDP_11_Server RTC UDP one to one serve...

Page 10: ...nfigured to correspond to a service which is also known as an application On a terminal you can press the hotkey to bring up the VTY switching menu and select a VTY Connection idle timeout The initiat...

Page 11: ...al in a VPN instance to access a remote terminal that is in the same VPN instances TCP NODELAY In TCP many to one or TCP one to one transparent transmission mode the RTC client and the RTC server use...

Page 12: ...ous serial interface Terminal emulation type VT100 and VT200 Terminal baud rate 300 bps to 115200 bps Access types supporting asynchronous terminals TCP_11_Client Access types supporting synchronous t...

Page 13: ...SR810 LMS MSR810 LUS No MSR810 LMS EA MSR810 LME No MSR2600 6 X1 MSR2600 10 X1 No MSR 2630 Yes MSR3600 28 MSR3600 51 Yes MSR3600 28 SI MSR3600 51 SI No MSR3600 28 X1 MSR3600 28 X1 DP MSR3600 51 X1 MSR...

Page 14: ...tion RTC terminal access tasks at a glance To configure RTC terminal access configure the initiator and the receiver as required To configure RTC terminal access perform the following tasks Configurin...

Page 15: ...he router rta server enable By default terminal access on the router is disabled 3 Optional Configure the global source IP address for TCP connections rta source ip ip address By default no global sou...

Page 16: ...n is established driverbuf save By default the router clears the terminal receive buffer after a TCP connection is established Configure the terminal receive buffer size driverbuf size size By default...

Page 17: ...er system view system view 2 Enter TTY user line view line first num1 last num1 tty first num2 last num2 For more information about the line command see Fundamentals Command Reference 3 Disable termin...

Page 18: ...nfiguring a TTY user line 4 Applying the terminal template to an interface Enabling terminal access on the router 1 Enter system view system view 2 Enable terminal access on the router rta server enab...

Page 19: ...y default the template is not bound with any VPN instance 6 Optional Configuring the terminal buffer Configure the router to not clear the terminal buffer after a TCP connection is established driverb...

Page 20: ...ble the terminal service for the current user line before applying the terminal template to an interface For more information about the shell command see Fundamentals Command Reference 4 Enable softwa...

Page 21: ...buffer size for TCP connections are 2048 bytes As a best practice use the default values An improper send buffer size or receive buffer size affects data forwarding efficiency and might cause system...

Page 22: ...emplate template name 3 Create a UDP RTC client VTY vty vty number rtc client remote ip address remote port remote port number udp local port local port number source source ip address After this conf...

Page 23: ...ent RTC client Applying the terminal template to an interface 1 Enter system view system view 2 Enter the view of the primary interface interface interface type interface number 3 Configure the protoc...

Page 24: ...address port number After this configuration you cannot configure VTYs of other types of in the template 5 Configure the client list rtc multipeer vty number remote ip address port number By default n...

Page 25: ...tatistics Disconnect client connections from a relay server rta relay disconnect server id client id all RTC terminal access configuration examples Example Configuring asynchronous TCP RTC one to one...

Page 26: ...0 rtc client remote 10 111 95 10 9000 Sysname rta template rtcclient vty 0 password simple 123 Sysname rta template rtcclient quit Apply the template to the interface Sysname interface async 2 2 0 Sys...

Page 27: ...terminal rtcserver 1 Sysname Serial2 2 0 quit 2 Configure the RTC client Enable terminal access Sysname system view Sysname rta server enable Create a terminal template and enter terminal template vi...

Page 28: ...Configure MPLS L3VPN For more information see MPLS Configuration Guide Bind Loopback 1 to VPNA PEB system view PEB interface loopback 1 PEB LoopBack1 ip binding vpn instance vpna PEB LoopBack1 ip addr...

Page 29: ...ce vpna PEA rta template rtcc quit Configure interface async 2 2 0 PEA interface async 2 2 0 PEA Async2 2 0 async mode flow PEA Async2 2 0 rta terminal rtcc 2 PEA Async2 2 0 quit Verifying the configu...

Page 30: ...inal access Sysname system view Sysname rta server enable Create a terminal template and enter terminal template view Sysname rta template rtcclient Configure the VTY Sysname rta template rtcclient vt...

Page 31: ...1 Configure TCP_11_Client Router A Enable terminal access Sysname system view Sysname rta server enable Create a terminal template and enter terminal template view Sysname rta template rtcclient Confi...

Page 32: ...shown in Figure 9 Router A acts as a UDP_11_Client and Router B acts as a UDP_11_Server Router A is connected to Terminal A through synchronous serial interface Serial 2 1 0 and Terminal B through syn...

Page 33: ...rtcserver Configure the VTY Sysname rta template rtcserver vty 0 rtc server remote 10 111 0 12 remote port 3001 udp local port 3000 source 10 111 21 13 Sysname rta template rtcserver quit Apply the t...

Page 34: ...template rtcclient Configure the VTY Sysname rta template rtcclient vty 0 rtc client remote 10 111 21 13 remote port 3000 udp local port 3001 source 10 111 0 12 Sysname rta template rtcserver quit Ap...

Page 35: ...protocol stlp Sysname Serial2 1 0 rta terminal rtcserver 1 Sysname Serial2 1 0 quit Verifying the configuration Send data from Terminal B to Terminal A and Terminal C Check that both Terminal A and T...

Page 36: ...of a powered terminal is Down Analysis The asynchronous serial interface is configured with the undo modem command Terminal cable or converter failure occurs Solution Verify that the asynchronous ser...

Reviews: