Ip nat service list ???sptd – Enterasys Networks X-Pedition XSR CLI User Manual

Page 261

Advertising
background image

Network Address Translation Commands

XSR CLI Reference Guide 5-185

Syntax

ip nat pool name

Syntax of the “no” Form

The no command removes one or more addresses from the NAT pool:

no ip nat pool name

Mode

Global configuration: 

XSR(config)#

Example

The following example configures the IP NAT pool NATpool:

XSR(config)#ip nat pool NATpool

ip nat service list ???SPTD???

This command specifies a port other than the default port for the File Transfer Protocol (FTP). It is 
used when you want NAT to pass only FTP control sessions that are using that port. In this case, 
all client requests using the default port (21) will be dropped by NAT.

Syntax

ip nat service list access-list-number ftp tcp port port-number

Syntax of the “no” Form

The no form of the command disables the port:

no ip nat service list access-list-number ftp tcp port port-number

Mode

Global configuration:

XSR(config)#

Default

Disabled

Examples

The following example configures non‐standard port 2021 for FTP:

name

Name of the IP local pool.

list acl-number

Standard ACL number, ranging from 1 to 199.

ftp

FTP protocol.

tcp

TCP protocol.

port port-number

Port other than the default port. Range: 1 to 65533.

Advertising