Network Address Translation Commands
5-184 Configuring the Internet Protocol
Next Mode
IPLocalPoolconfiguration:XSR(ip-local-pool)#
Example
ThefollowingexamplecreateslocalIPaddresspoolmarketing,whichcontainsallIPaddressesin
therange203.57.99.0to203.57.99.255:
XSR(config)#ip local pool marketing 203.57.99.0 255.255.255.0
exclude
ThissubcommandbarstheuseofarangeofIPaddressesfromanearliercreatedIPpool.
Syntax
exclude {ip address}{number}
Syntax of the “no” Form
ThenoformofthiscommandremovesthespecifiedIPaddressfromtheexcludelist:
exclude {ip address}{number}
Mode
LocalIPPoolconfiguration:XSR(ip-local-pool)#
Examples
ThefollowingexampleexcludesthetenIPaddressesbetween192.168.57.100and192.168.57.110
fromlocalpoolHQ:
XSR(config)#ip local pool HQ 192.168.57.0 255.255.255.0
XSR(ip-local-pool)#exclude 192.168.57.100 10
ThefollowingexamplenegatestheexclusionofIPaddresses192.168.57.105and192.168.57.106
fromtheearlierexcludedrangeofIPaddressesinlocalpoolHQ:
XSR(config)#ip local pool HQ
XSR(ip-local-pool)#no exclude 192.168.57.105 2

ip nat pool

ThiscommanddefinesapoolofIPaddressesforNetworkAddressTranslation(NAT).NATpools
areconfiguredusingtheip local pool commandandthenregisteredasbeingusedbyNAT.A
poolmustberegisteredbytheXSRoritwillnotbeattachedtoaninterface.
ip address Startingaddresstobeexcludedfrompool.
number Numberofaddressestoexcluderangingfrom1to65535.