Exclude, Ip nat pool – Enterasys Networks X-Pedition XSR CLI User Manual

Page 260

Advertising
background image

Network Address Translation Commands

5-184 Configuring the Internet Protocol

Next Mode

IP Local Pool configuration: 

XSR(ip-local-pool)#

Example

The following example creates local IP address pool marketing, which contains all IP addresses in 
the range 203.57.99.0 to 203.57.99.255:

XSR(config)#ip local pool marketing 203.57.99.0 255.255.255.0

exclude

This sub‐command bars the use of a range of IP addresses from an earlier created IP pool.

Syntax

exclude {ip address}{number}

Syntax of the “no” Form

The no form of this command removes the specified IP address from the exclude list:

exclude {ip address}{number}

Mode

Local IP Pool configuration: 

XSR(ip-local-pool)#

Examples

The following example excludes the ten IP addresses between 192.168.57.100 and 192.168.57.110 
f
rom local pool HQ:

XSR(config)#ip local pool HQ 192.168.57.0 255.255.255.0
XSR(ip-local-pool)#exclude 192.168.57.100 10

The following example negates the exclusion of IP addresses 192.168.57.105 and 192.168.57.106 
from the earlier excluded range of IP addresses in local pool HQ:

XSR(config)#ip local pool HQ
XSR(ip-local-pool)#no exclude 192.168.57.105 2

ip nat pool

This command defines a pool of IP addresses for Network Address Translation (NAT). NAT pools 
are configured using the 

ip local pool

command and then registered as being used by NAT. A 

pool must be registered by the XSR or it will not be attached to an interface.

ip address

Starting address to be excluded from pool.

number

Number of addresses to exclude ranging from 1 to 65535.

Advertising