R2511-HP MSR Router Series Terminal Access Command Reference(V5)
44
Examples
# Create a VTY for SSH terminal access, setting the FEP IP address to 1.1.1.1, listening port to 9010, and
source IP address to 2.2.2.2.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 ssh remote 1.1.1.1 9010 source 2.2.2.2
vty telnet remote
Use vty telnet remote to create a VTY for Telnet terminal access.
Use undo vty to remove the specified VTY.
Syntax
vty vty-number telnet remote ip-address [ port-number ] [ source source-ip ]
undo vty vty-number
Views
Terminal template view
Default command level
2: System level
Parameters
vty-number: Specifies a VTY by its number, in the range of 0 to 7.
ip-address: Specifies the FEP IP address.
port-number: Specifies the listening Telnet port on the FEP. It ranges 1 to 50000 and defaults to 23.
source source-ip: Specifies the source IP address.
Usage guidelines
After this configuration, no more RTC client VTYs or RTC server VTYs can be configured in the template
of the VTY.
Examples
# Create a VTY for Telnet terminal access, setting the FEP IP address to 1.1.1.1.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 telnet remote 1.1.1.1
vty tty remote
Use vty tty remote to create a VTY for TTY terminal access.
Use undo vty to remove the specified VTY.
Syntax
vty vty-number tty remote ip-address port-number [ source source-ip ]
undo vty vty-number
Views
Terminal template view










