Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
IP Commands
OmniSwitch CLI Reference Guide
September 2009
page 32-21
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
Configures access to all TCP/UDP ports.
service_name
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.)
service_port
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.)
Defaults
All TCP/UDP ports are open by default.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 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
port
ftp
21
ssh
22