container—Configure a vSmart controller as a container within a vContainer host (on vContainer hosts only).
container instance instance-name allow-address ip-addresses description "text" image image-name interface interface-name host-ip-address prefix/length memory megabytes [no] shutdown
- Address or Addresses of the Container Instance
- allow-address ip-addresses
Address or addresses of the container instance. You can specify up to 64 IPv4 addresses. If you configure multiple allow-address commands, the IP addresses are cumulative. That is, a second allow-address command does not overwrite the addresses that you configured with the first allow-address command. To delete a single IP addresses from the list of allowed addresses, use the no allow-address ip-addresscommand.
- Enable or Disable the Instance
- [no shutdown
To enable a container instance, use the no shutdown command. To disable a container instance, use the shutdown command.
- Image To Use on the vSmart Controller
- image image-name
Name of the Viptela software image to use on the vSmart controller. This image must already be installed on the vContainer host.
- Instance Description
- description "text"
Text description of the container instance. The text can be a maximum of 32 characters. If it includes spaces, enclose the entire string in quotation marks (" ").
- Instance Name
- instance instance-name
Name of the instance. It can be a string up to 32 characters long.
- Interface Associated with the Instance
- interface interface-name
Name of the interface associated with the container instance and the interface's IP address. Specify interface-name in the format ethnumber, where number is an integer starting with 0.
- Memory To Allocate to the Instance
- memory megabytes
Amount of memory to allocate to the container instance.
Range: 256 through 16384 MB
Default: 512 MB
Configure IP address lists, and configure containers for three vSmart controllers on a container host:
vContainer# show running-config container container instance first_vsmart image 16.2.0 no shutdown memory 512 interface eth0 host-ip-address 10.0.1.25 ! ! instance second_vsmart image 16.2.0 no shutdown memory 512 interface eth0 host-ip-address 10.0.1.26 ! ! instance vm10 image 16.2.0 no shutdown memory 512 interface eth0 host-ip-address 10.0.1.30 ! interface eth1 host-ip-address 10.0.12.20 ! interface eth2 host-ip-address 10.2.2.20 ! ! ! vpn 0 interface eth1 ip address-list 10.0.1.25/24 ip address-list 10.0.1.26/24 ip address-list 10.0.1.27/24 ip address-list 10.0.1.30/24 ip static-route 0.0.0.0/0 10.0.1.1 no shutdown ! interface eth2 ip address-list 10.2.2.20/24 ip address-list 10.2.2.25/24 ip address-list 10.2.2.26/24 ip address-list 10.2.2.27/24 ip static-route 0.0.0.0/0 10.2.2.1 no shutdown ! interface eth3 ip address-list 10.0.12.20/24 ip static-route 0.0.0.0/0 10.0.12.13 no shutdown ! ! vpn 512 interface eth0 ip dhcp-client no shutdown ! !
Command introduced in Viptela Software Release 16.2.
In Release 16.3.2, add allow-address command.