User Guide
5. System Management
5.2 Configuring OOBM Network Settings
•
Setting = 01 (DHCP)
•
IP Address = 0.0.0.0
•
Netmask = 0.0.0.0
•
Gateway = 0.0.0.0
To change the OOBM network configuration on IOM B to
DHCP
:
sg_wr_mode /dev/sg3 --dbd --page=0x23,0x01 --
contents=e3,01,00,1A,02,00,00,00,01,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
•
Device = /dev/sg3
•
IOM = 02 (IOM B)
•
Setting = 01 (DHCP)
•
IP Address = 0.0.0.0
•
Netmask = 0.0.0.0
•
Gateway = 0.0.0.0
Viewing the OOBM Network Configuration
Step 2 :
To view the OOBM network configuration, enter the following:
sg_wr_mode <dev> --dbd --page=0x23,0x01
This returns:
e3,01,00,30,03,00,00,00,<IOM A Setting>,00,00,00,<IOM A IPaddr>,<IOM
A Netmask>,<IOM A Gateway>,00,00,00,<IOM B Setting>,00,00,00,<IOM B
IPaddr>,<IOM B Netmask>,<IOM B Gateway>
•
<IOM> = 03 (IOMA & IOMB)
•
<IOM A Setting> = 00 (static) or 01 (DHCP)
•
<IOM A IPaddr> = The IP address in four pairs of two-digit hex codes
•
<IOM A Netmask> = The netmask, in four pairs of two-digit hex codes
•
<IOM A Gateway> = The gateway, in four pairs of two-digit hex codes
•
<IOM B Setting> = 00 (static) or 01 (DHCP)
•
<IOM B IPaddr> = The IP address in four pairs of two-digit hex codes
•
<IOM B Netmask> = The netmask, in four pairs of two-digit hex codes
•
<IOM B Gateway> = The gateway, in four pairs of two-digit hex codes
The result, after setting the two static addresses in
:
e3,01,00,30,03,00,00,00,00,00,00,00,C0,A8,00,0A,FF,FF,FF,00,C0,A8,00,01,
00,00,00,00,C0,A8,00,0A,FF,FF,FF,00,C0,A8,00,01 <dev>
The result, when IOM B is not booting (no IP):
e3,01,00,30,03,00,00,00,00,00,00,00,C0,A8,00,0A,FF,FF,FF,00,C0,A8,00,01,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 <dev>
Note:
Setting an invalid gateway will result in that field being zeroed-out.
181