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