ip service
Enables (opens) or disables (closes) well-known TCP/UDP service ports (i.e., SSH, telnet, FTP, etc.).
Selectively enabling or disabling these types of ports provides an additional method for protecting against
denial of service (DoS) attacks.
ip service {all | service_name | port service_port}
no ip service {all | service_name | port service_port}
Syntax Definitions
all
service_name
service_port
Defaults
All TCP/UDP ports are open by default.
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
•
This command only applies to TCP/UDP service ports opened by default. It does not affect ports that
are opened by applications, such as RIP, BGP, etc.
•
Use the all option with this command to configure access to all well-known TCP/UDP service ports.
•
To designate which port to enable or disable, specify either the name of a service or the well-known
port number associated with that service. Note that specifying a name and a port number in a single
command line is not supported.
•
When using service names, it is possible to specify more than one service in a single command line by
entering each service name separated by a space. See the examples below.
•
When specifying a service port number, note that the port keyword is required and that only one port
number is allowed in a single command.
•
The following table lists the ip service command options for specifying TCP/UDP services and also
includes the well-known port number associated with each service:
service name
ftp
ssh
page 14-28
Configures access to all TCP/UDP ports.
The name of the TCP/UDP service to enable or disable. (Refer to the
table in the "Usage Guidelines" section below for a list of supported
service names.)
A TCP/UDP service port number. Configures access by port number
rather than by service name. (Refer to the table in the "Usage Guide-
lines" section below for a list of supported service names.)
port
21
22
OmniSwitch CLI Reference Guide
IP Commands
June 2012