Amer Networks WLO220T CLI User Manual

Page 77

Advertising
background image

C O M M A N D D E S C R I P T I O N S

service

2

74

CLI Reference Guide

protocol

- Defines the service by IP protocol.

- Defines a protocol for the specified service.



tcp specifies a TCP-based service.



udp specifies a UDP-based service.

Example

The following command sets a service named “ipsec” that uses protocol 50:

set service ipsec protocol 50

src-port | dst-port

set service

svc_name

protocol

{ ... }

[

src-port

number

-

number ] [

dst-port

number

-

number

]

src-port

Defines a range of source port numbers valid for the service and protocol.

dst-port

Defines a range of destination port numbers valid for the service and protocol.

Example

The following command sets a service named “test1” that uses destination tcp port 1001:

set service test1 protocol tcp src-port 0-65535 dst-port 1001-1001

timeout

get service timeout

{

other

|

tcp

|

udp

} ]

set service svc_name timeout

{

number

|

never

}

unset service svc_name timeout

timeout

Sets or displays the timeout value for session sessions created on a port for TCP, UDP, or other
protocols. You can specify session timeout value (<number>) in minutes, or as never.

user

get service user

user

Displays all user-defined services.

Defaults

The default timeout for TCP connections is 30 minutes.

Advertising
This manual is related to the following products: