A service definition provides a mapping between a service defined in application layer terms and the protocol and ports used. A number of services are pre-defined in the file /opt/SUNWconn/ba/lib/services.def. You do not need to carry out any configuration to use these services. "Configuration Examples" shows the pre-defined classes.
The Services Lists in the left hand column display all the currently configured services. The configurable parameters for user defined services are:
Service Name
New services are created with the temporary name new. To change this name, type a new name in the Service Name field and click Apply.
Protocol
Choose one of TCP, UDP, Other or Any.
Local and Remote Port.
Other
Specify the protocol you want to use here.
You need only complete this field if you specified Other in the Protocol field.
To add port information:
From the Services List, select the service you want to add port information to.
The service is highlighted. The ports currently used by the service are displayed in the TCP/UDP panel.
In the TCP/ UDP panel, double-click in the empty line below the last address entry. Complete both the Local and Remote port columns.
The text editing mode starts, indicated by a cursor in the empty line.
Type the ports you want to include in the Service.
Use an asterisk (*) to indicate any port.
Click Apply.
The port information is added to the service.