System information
4-56 Adit 3000 CLI - Release 1.6
Global Configuration Mode
service
service
Use the service command to create/modify User-Defined Services on the Adit. To delete a service
policy, see no service command on page 4-47.
Syntax: (config)# service id {service-id|new} name service-name
description text protocol {protocol-number|ah|esp|gre|icmp|tcp
|udp} [server-src-port|open-src-port]
Example: (config)# service id 5 name test description desc1 protocol gre
Supported Platforms: Adit 3104, Adit 3200, Adit 3500
Field Definition
service-id Enter a User-Defined Service number to modify. Suer-Defined Service ID numbers can be
displayed with the show config service command, on page 3-33
new Will create a new User-Defined Service. Note: The system will assign an ID number. This number
will be the next available ID number in sequence (starts with 4, Note: 0-3 are configured by default).
Note: Do not use the new option when using an Automated Provisioning System.
service-name Enter service name, which can also be found on the show config service command, on page 3-33
description text Enter a one word description.
protocol Protocol to apply to this service.
protocol-number - this option allows the user to enter a protocol number to use protocols that are
not listed below.
ah - Authentication Header Protocol.
esp - Encapsulating Security Payload.
gre - Generic Routing Encapsulation.
icmp - Internet Control Message Protocol. Note: The range and a list of common settings are below.
type - Range 0-255
code - Range 0-255
Echo Reply................................................... icmp type 0 code 0
Network Unreachable .................................. icmp type 3 code 0
Host Unreachable......................................... icmp type 3 code 1
Protocol Unreachable................................... icmp type 3 code 2
Port Unreachable..........................................icmp type 3 code 3
Destination Network Unknown ...................icmp type 3 code 6
Destination Host Unknown..........................icmp type 3 code 7
Redirect for Network ...................................icmp type 5 code 0
Redirect for Host.......................................... icmp type 5 code 1
Echo Request................................................icmp type 8 code 0
tcp - Transmission Control Protocol. See source and destination port settings below.
udp - User Datagram Protocol. See source and destination port settings below.
open-src-port Defines the open source/destination port. Syntax: open-src-port
{port|port-port|any} open-dst-port {port|port-port| any}
open-src-port port - Enter the open source port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.
open-dst-port port - Enter the destination source port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.
server-src-port Defines the server source/destination port. Syntax:
server-src-port
{port|port-port|any} server-dst-port {port|port-port|any}
server-src-port port - Enter the server source port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.
server-dst-port port - Enter the server destination port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.










