R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)

102
[Sysname-ipta-service-duigong] quit
# Configure the chuxu service.
[Sysname] ipta lock-key 27
[Sysname] ipta service chuxu
[Sysname-ipta-service-chuxu] service type tty
[Sysname-ipta-service-chuxu] server ip 2.2.2.2 port 9020 priority 0
[Sysname-ipta-service-chuxu] listen port 2048
[Sysname-ipta-service-chuxu] terminal 1 to 4
[Sysname-ipta-service-chuxu] timer idle-timeout 60 lock
[Sysname-ipta-service-chuxu] encryption algorithm aes
[Sysname-ipta-service-chuxu] tcp recvbuf-size 512
[Sysname-ipta-service-chuxu] tcp sendbuf-size 512
[Sysname-ipta-service-chuxu] tcp keepalive 1800 2
[Sysname-ipta-service-chuxu] set authentication password cipher ipta
[Sysname-ipta-service-chuxu] authentication-mode password
[Sysname-ipta-service-chuxu] source ip 6.6.1.1
[Sysname-ipta-service-chuxu] quit
# Configure the Ethernet interfaces.
[Sysname] interface ethernet 1/2
[Sysname-Ethernet1/2] ip address 1.1.1.1 255.255.0.0
[Sysname-Ethernet1/2] quit
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip address 2.2.2.1 255.255.0.0
[Sysname-Ethernet1/1] quit
2. Configuring the Unix server (receiver):
# Install the ttyd program.
Before configuring the receiver, you must know the operating system and version of the receiver.
In this chapter, Sco openserver Unix 5.0.5 is adopted.
For installing ttyd, ttyadmcmd and ttyadm programs using storage media or FTPs, see "Installing
and configuring FEPs."
# Create the configuration files for the services.
{ Create the configuration file ttyd_duigong.conf on the FEP.
serverport 9010
ttyp50 6.6.1.1 1
ttyp51 6.6.1.1 2
ttyp52 6.6.1.1 3
ttyp53 6.6.1.1 4
{ Create the configuration file ttyd_chuxu.conf on the FEP.
serverport 9020
ttyp31 6.6.1.1 1
ttyp32 6.6.1.1 2
ttyp33 6.6.1.1 3
ttyp34 6.6.1.1 4
# Configure routes.
{ Add the following routes on the FEP.
# route add 6.6.1.0 -netmask 255.255.255.0 2.2.2.1