R2511-HP MSR Router Series Terminal Access Command Reference(V5)
59
Use undo listen port to remove the listening port of the service.
Syntax
listen port port-number
undo listen port
Views
IP terminal access service view
Default command level
2: System level
Parameters
port-number: Specifies a listening port, in the range of 1024 to 50000.
Usage guidelines
No listening port is specified for an IP terminal access service.
The setting only affects new connections.
Examples
# Configure listen port 3000 for the cunkuan service.
<Sysname> system-view
[Sysname] ipta service cunkuan
[Sysname-ipta-service-cunkuan]listen port 3000
reset ipta statistics
Use reset ipta statistics to clear IP terminal access statistics.
Syntax
reset ipta statistics { service [ service-name ] | terminal ttyid [ service service-name ] }
Views
User view
Default command level
1: Monitor level
Parameters
service [ service-name ]: Clears the IP terminal access statistics of the specified service. The service name
is a string of 1 to 15 case-insensitive characters and can include spaces.
ttyid: Specifies a terminal by its number, in the range of 0 to 255.
terminal ttyid [ service service-name ]: Clears IP terminal access statistics for the specified terminal. A
ttyid is a terminal number in the range of 0 to 255. The option terminal ttyid service service-name clears
IP terminal access statistics for the specified service on the specified terminal.
Examples
# Clear IP terminal access statistics for Terminal 1.
<Sysname> reset ipta statistics terminal 1
# Clear IP terminal access statistics for service cunkuan.
<Sysname> reset ipta statistics service cunkuan










