Setting the IPv6 Mode of the iBMC (ipmode6)
Function
The ipmode6 command is used to specify how the iBMC IPv6 address is allocated.
Format
ipmcset -d ipmode6 -v <dhcp | static>
Parameters
Parameter |
Description |
Value |
---|---|---|
dhcp |
The DHCP server dynamically allocates an IP address to the iBMC. |
- |
static |
The iBMC uses a static IP address. |
- |
Usage Guidelines
After the IPv6 mode is changed, the new configuration takes effect immediately.
Example
# Enable the iBMC to use an IPv6 address dynamically allocated by the DHCP server.
iBMC:/->ipmcset -d ipmode6 -v dhcp Set dhcp mode successfully.
# Query the iBMC IP address.
iBMC:/->ipmcget -d ipinfo EthGroup ID : 1 Net Mode : Manual Net Type : Dedicated IPv4 Information : IP Mode : dhcp IP Address : 192.168.0.12 Subnet Mask : 255.255.0.0 Default Gateway : 192.168.0.25 Backup IP Address : 192.168.0.144 (Activated) Backup Subnet Mask : 255.255.255.0 (Activated) MAC Address : IPv6 Information : IPv6 Mode : dhcp IPv6 Address : Default Gateway IPv6 : Link-Local Address : fe80::218:e1ff:fec5:d866/64 VLAN Information : VLAN State : disabled VLAN ID : 1