User guide

set service
196 Chapter 2 Command Descriptions
set service
Device support This command is supported in all devices.
Purpose Use the "set service" command to
Configure, or associate, names with TCP and UDP service ports for use
in filters.
Display entries in the service table.
Remove entries from the service table.
Required
permissions
The root user can configure or remove service table entries. Normal users
can display service table entries.
Syntax Configure/associate names with TCP and UDP service ports
set service name=name
port={udp:port|tcp:port}
Display entries in service table
set service [range=range]
Remove entries from the service table
While this command variation removes service table entries, the “remove”
command is also available.
set service [rmservice=name|rmservice=on]
Options name=name
The name to assign the service.
port={udp:port|tcp:port}
The TCP or UDP port number for the service.
range=range
A range of entries in the service table, which is used to identify entries to
display or delete.
{rmservice=name|rmservice=on}
Removes a service from the service table.
name
The name of a service to be removed from the service table.
on
Remove the service or services from the service table identified on the
"range" option.