Setting the Active iBMC Port (activeport)
Function
The activeport command is used to set the active iBMC management network port.
Format
ipmcset -d activeport -v <option> [portid]
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Port type |
NOTE:
The value range varies with the server model. |
portid |
Port number |
The value range is 0 and 1 for a dual-port NIC, and 0 to 3 for a four-port NIC. |
Usage Guidelines
You do not need to specify portid for a dedicated iBMC network port.
Example
# Set the dedicated network port as the iBMC port.
iBMC:/->ipmcset -d activeport -v 0 Set active port successfully.
# Query information about the iBMC port.
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