Setting the IPv6 Gateway Address of the iBMC (gateway6)
Function
The gateway6 command is used to set the IPv6 gateway address of the iBMC management network port.
Format
ipmcset -d gateway6 -v <gateway6>
Parameters
Parameter |
Description |
Value |
---|---|---|
gateway6 |
Indicates the IPv6 gateway address of the iBMC management network port. |
An IP address that is 128 bits in length consisting of eight 16-bit fields: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx. However, most IPv6 addresses do not occupy all 128 bits and can be abbreviated. In addition, the two-colon (::) notation can be used to represent contiguous 16-bit fields of zeros, and leading zeroes in a field can be omitted. For example, the IPv6 address fc00::0db8:3c4d:0015:0000:0000:1a2f:1a2b can be abbreviated as fc00::db8:3c4d:15::1a2f:1a2b. |
Usage Guidelines
After the gateway address is changed, the new gateway address takes effect immediately.
Example
# Set the IPv6 gateway address of the iBMC to fc00::1.
iBMC:/->ipmcset -d gateway6 -v fc00::1 Set GATEWAY6 successfully.
# Query the new gateway address of the iBMC.
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 : static IPv6 Address : fc00::65 Default Gateway IPv6 : fc00::1 Link-Local Address : fe80::218:e1ff:fec5:d866/64 VLAN Information : VLAN State : disabled VLAN ID : 1