R2511-HP MSR Router Series Terminal Access Command Reference(V5)

61
Examples
# On IP terminal access service service1, set the screen to display up to 25 lines and 132 columns of
characters.
<Sysname> system-view
[Sysname] ipta service service1
[Sysname-ipta-service-service1] screen-size height 25 width 132
server ip
Use server ip to specify the IP address, port number and priority of the server providing a service.
Use undo server priority to remove the configuration of the server with the specified priority.
Syntax
server ip ip-address port port-number [ priority priority-level ]
undo server priority priority-level
Views
IP terminal access service view
Default command level
2: System level
Parameters
ip ip-address: Specifies the IP address of the server, in dotted decimal notation.
port port-number: Specifies the port number of the server, in the range of 1 to 65535.
priority priority-level: Specifies the priority of the server, in the range of 0 to 2. A smaller value represents
a higher priority.
Usage guidelines
A server can have only one priority configured. You cannot configure multiple servers with the same
priority.
Examples
# Configure the server with IP address 1.1.1.2 and port 6000 to have the highest priority for the cunkuan
service.
<Sysname> system-view
[Sysname] ipta service cunkuan
[Sysname-ipta-service-cunkuan] server ip 1.1.1.2 port 6000 priority 0
service type
Use service type to specify a terminal access type.
Use undo service type to restore the default.
Syntax
service type { etelnet index | ssh | tty }
undo service type