Enterasys Networks XSR CLI Router User Manual


 
Network Address Translation Commands
XSR CLI Reference Guide 5-185
Syntax
ip nat pool name
Syntax of the “no” Form
ThenocommandremovesoneormoreaddressesfromtheNATpool:
no ip nat pool name
Mode
Globalconfiguration:XSR(config)#
Example
ThefollowingexampleconfigurestheIPNATpoolNATpool:
XSR(config)#ip nat pool NATpool
ip nat service list ???SPTD???
ThiscommandspecifiesaportotherthanthedefaultportfortheFileTransferProtocol(FTP).Itis
usedwhenyouwantNATtopassonlyFTPcontrolsessionsthatareusingthatport.Inthiscase,
allclientrequestsusingthedefaultport(21)willbedroppedbyNAT.
Syntax
ip nat service list access-list-number ftp tcp port port-number
Syntax of the “no” Form
Thenoformofthecommanddisablestheport:
no ip nat service list access-list-number ftp tcp port port-number
Mode
Globalconfiguration: XSR(config)#
Default
Disabled
Examples
Thefollowingexampleconfiguresnonstandardport2021forFTP:
name
NameoftheIPlocalpool.
list acl-number
StandardACLnumber,rangingfrom1to199.
ftp
FTPprotocol.
tcp
TCPprotocol.
port port-number
Portotherthanthedefaultport.Range:1to65533.