Setting the Network Port Mode (netmode)
Function
The netmode command is used to set how the iBMC network port is specified.
Format
ipmcset -d netmode -v <option>
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Indicates how the iBMC network port is specified. |
Default value: 1 |
Usage Guidelines
- If option is 1, you need to manually set the iBMC management network port.
- If option is 2, you need to specify the network ports for auto-negotiation. The dedicated iBMC port takes precedence over other network ports specified. If the dedicated iBMC network port is unavailable, a network port will be selected from the other network ports available.
Example
# Enable the iBMC network port to be manually specified.
iBMC:/->ipmcset -d netmode -v 1 Set net mode Manual successfully.
# Query the iBMC network port mode.
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