Configuring a User-defined Service and Predefined Service
This section describes how to configure a user-defined service and predefined service.
Creating a User-defined Service
To create a user-defined service, take the following steps:
- Select Objects > Service Book from the menu bar.
- In the Service Book dialog, click New and select Service from the drop-down list.
- In the Service Configuration dialog, type the name for the user-defined service into the Name box.
- If needed, type the description for the service into the Description box.
- Click Add, and configure the options for the service entry in the Add members section.
- Specify a protocol type for the user-defined service. The available options include TCP, UDP, ICMP and Others. The parameters for the protocol types are described as follows:
TCP/UDP
- Dst port: Min specifies the minimum port number of the specified service entry; Max specifies the maximum port number of the specified service entry. The value range is 0 to 65535.
- Src port: Min specifies the minimum port number of the specified service entry; Max specifies the maximum port number of the specified service entry. The value range is 0 to 65535.
- Application type: Specifies a type for the service entry.
- Timeout: Specifies a timeout for the service entry. The value range is 1 to 65535 seconds, or 1 to 100 days. If no timeout is specified, system will use protocol's default value. For TCP, the default value is 1800 seconds; for UDP, the default value is 60 seconds.
ICMP
- Type: Specified a ICMP type for the service entry. The value range is 3 (Destination-Unreachable), 4 (Source Quench), 5 (Redirect), 8 (Echo), 11 (Time Exceeded), 12 (Parameter Problem), 13 (Timestamp) and 15 (Information).
- Min code: Specifies a minimum value for ICMP code. The value range is 0 to 5.
- Max code: Specifies a maximum value for ICMP code. The value range is 0 to 5.
- Timeout: Specifies a timeout for the service entry. The value range is 1 to 65535 seconds. If no timeout is specified, system will use ICMP protocol's default value of 6 seconds.
Others
- Protocol: Specifies a protocol number for the service entry. The value range is 1 to 255.
- Timeout: Specifies a timeout for the service entry. The value range is 1 to 65535 seconds, or 1 to 100 days.
- Click OK to save your settings and add the configured service entry to the service list below.
- If needed, repeat Step 5 to Step 7 to add more service entries. To delete a service entry, select the entry you want to delete from the service list, and click Delete.
- Click OK to save your settings.
Editing/Deleting a User-defined Service
To edit/delete a user-defined service, take the following steps:
- Select Objects > Service Book from the menu bar.
- In the list on the left, select All Userdefined Service, and all the user-defined service will be displayed in the list on the right.
- Select the service you want to edit/delete, and click Edit/Delete.
Editing a Predefined Service
You can view or use all the supported predefined services and edit their TCP timeout, but you cannot delete any of them. To edit a predefined service, take the following steps:
- Select Objects > Service Book from the menu bar.
- In the list on the left, select All Predefined Service, and all the predefined service will be displayed in the list on the right.
- Select a service from the list, and click Edit. In the Edit Service dialog, edit TCP timeout for the predefined service.