Enterasys Networks XSR CLI Router User Manual


 
Network Address Translation Commands
XSR CLI Reference Guide 5-183
ThefollowingexampleclearsaspecificUDPentryfromtheNAPTtable:
XSR#clearipnattranslationfastEthernet117200.2.233.11220192.168.27.95 1220
1NAPTentriesorNATmappingremoved
ThefollowingexampleclearsallNAPTtranslationsforhost192.168.50.2ontheprivatenetwork:
XSR#clearipnattranslationfastEthernet1192.168.50.20.0.0.0
4
NAPTentriesorNATmappingremoved
ThefollowingexampleclearsallNAPTtranslationsfor,to,andfromtheNATtedaddressof
10.10.10.15:
XSR#clearipnattranslationfastEthernet10.0.0.010.10.10.15
5NAPTentriesorNATmappingremoved
ip local pool
ThiscommandconfiguresalocalpoolofIPaddressesfordistributiontoremotepeersseeking
connectiontoaninterface.ThecommandacquiresIPLocalPoolmodeandmakesavailablethis
subcommand:
exclude‐BarsarangeofIPaddressesfromthelocalpool.Refertopage5184forthesub
commanddefinition.
Syntax
ip local pool pool-name IP-address subnet-mask
Syntax of the “no” Form
UsethenoformofthiscommandtodeleteanIPaddressfromthepool:
no ip local pool pool-name
Mode
Globalconfiguration:XSR(config)#
pool-name
Nameofaparticularlocaladdresspool.
IP-address
BaseaddressofanIPsubnetusedtoallocateIPaddresses.
subnet-mask
MaskofthatIPsubnet.Allsubnetaddressbitsmatchingzerobitsinthe
maskmustalsobezero;thatis,subnetandmaskmustbezero.Maybe
expressedas
A.B.C.D or/<0-32>.
Note: The pool size (mask) must be /16 or higher (Class B or C) thus limiting any one pool to 64,000
IP addresses.