ip-pool-create

This command creates a new IP address pool with a specific IP address range.

Syntax   ip-pool-create

name ip-pool-name

Specify the name for the IP pool.

vnet vnet-name

Specify the VNET for the IP pool.

start-ip ip-address

Specify the first IP address in the pool. This address is included in the pool.

end-ip ip-address

Specify the end IP address of the pool and is included in the pool.

netmask netmask

Specify the subnet for the IP address pool.

Specify the following option:

bd bridge-domain name

Specify the name of the bridge domain.

vlan vlan-id

Specify the VLAN identifier for an IP address pool that applies to a specific Layer 2 network segment.

Defaults   Unless the netmask parameter is specified, the subnet for the IP address pool is assumed to be the standard IP block for a given IP prefix. For example, if no netmask is specified and the IP address has a prefix of 192.168.0.x, the subnet is assumed as /24, 255.255.255.0.

Access   CLI

History   

Version 1.2.1

Command introduced.

Version 3.0.0

The parameter, l2-net, added.

Version 5.1.1

The parameter, l2-net, deprecated, and the parameter, bd, added.

Usage   IP address pools help automate the management of IP addresses for hosts and virtual machines, including the management IP addresses of the switches in a fabric. Use this command to create a new IP pool.

Examples  To create a fabric-wide IP address pool named MyPublicIPv4Pool to automate the allocation of IP addresses within a fabric for the IP address block 208.74.182.0 to 208.74.182.100/32, use the following command:

CLI network-admin@switch > ip-pool-create name MyPublicIPv4Pool start-ip 208.74.182.0 end-ip 208.74.182.100 netmask 255.255.255.0

ip-pool-delete

This command deletes an IP address pool with a specific IP address range.

Syntax   ip-pool-delete name ip-pool-name 

name ip-pool-name

Specify the name of the IP pool to delete.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   IP address pools help automate the management of IP addresses for hosts and virtual machines, including the management IP addresses of the switches in a fabric. This command deletes an existing IP address pool.

Examples  To delete the IP address pool name MyPublicIPv4Pool, use the following command:

CLI network-admin@switch > ip-pool-delete MyPublicIPv4Pool

ip-pool-modify

This command modifies an IP address pool with a specific IP address range.

Syntax   ip-pool-modify

name ip-pool-name

Specify the name of the IPpol.

Specify one or more of the following options:

start-ip ip-address

Specify the first IP address in the pool. This address is included in the pool.

end-ip ip-address

Specify the end IP address of the pool and is included in the pool.

network

ip-address

Specify the network for the IP address pool, for example, 192.168.1.0.

netmask netmask

Specify the subnet for the IP address pool.

vlan vlan-id

Specify the VLAN identifier for an IP address pool that applies to a specific Layer 2 network segment.

bd bridge-domain name

Specify the Bridge Domain assigned to IP pool.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2

The parameter, vnet, deprecated.

Version 3.0.0

The parameter, l2-net, added.

Version 5.1.1

The parameter, l2-net, deprecated, and the parameter, bd, added.

Usage   IP address pools help automate the management of IP addresses for hosts and virtual machines, including the management IP addresses of the switches in a fabric. Use this command to modify an existing IP pool.

Examples  To modify a fabric-wide IP address pool named MyPublicIPv4Pool to automate the allocation of IP addresses within a fabric for the IP address block 208.74.182.0/24 to 208.74.182.201/24, use the following command:

CLI network-admin@switch > ip-pool-modify name MyPublicIPv4Pool start-ip 208.74.182.0 end-ip 208.74.182.200 netmask 255.255.255.0

ip-pool-show

This command displays information about an IP address pool with a specific IP address range.

Syntax   ip-pool-show

name ip-pool-name

Specifies the name of the IP pool.

vnet vnet-name

Specifies the VNET for the IP pool.

scope local|fabric

Specifies the scope of the VNET.

start-ip ip-address

Specifies the first IP address in the pool. This address is included in the pool.

end-ip ip-address

Specifies the end IP address of the pool and is included in the pool.

network ip-address

Specify an IP address group such as 192.168.11.0.

netmask netmask

Specifies the subnet for the IP address pool.

l2-net l2-net-name

Specify the name of the Layer 2 network.

vlan vlan-id

Specifies the VLAN identifier for an IP address pool that applies to a specific Layer 2 network segment.

bd bridge-domain name

Specify the Bridge Domain assigned to IP pool.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2

The parameter, vnet, deprecated.

Version 3.0.0

The parameter, l2-net, added.

Version 5.1.1

The parameter, l2-net, deprecated, and the parameter, bd, added.

Usage   IP address pools help automate the management of IP addresses for hosts and virtual machines, including the management IP addresses of the switches in a fabric.

Examples  To display information about a fabric-wide IP address pool named vPool, use the following command:

CLI network-admin@switch > ip-pool-show name vPool

Name   Owner   Scope   Range Start    Range End      Nemask   Gateway   DNS

-----  -----   -----   ----- -----    ----- ---      ------   -------   ---

vPool  None    local   192.168.240.1  192.168.240.254 24      10.9.40.1  0