dhcpinfo command

This command displays the IP configuration that is assigned by a DHCP server to the primary management module external network interface, blade server management network interfaces, and I/O module DHCPv6 server.

Note: The dhcpinfo command does not apply to management module channel eth1, which always uses a static IP configuration.
Table 1. dhcpinfo command
Function What it does Command Valid targets
Display Ethernet channel 0 DHCP configuration for management module If the IP configuration for management module eth0 is assigned by a DHCP server, the configuration that is assigned by the DHCP server and DHCP server information is displayed. If the IP configuration for eth0 is not assigned by a DHCP server, an error message is displayed. Possible configuration values returned are:
  • -server dhcp_ip_address
  • -n hostname
  • -i ip_address
  • -g gateway_address
  • -s subnet_mask
  • -d domainname
  • -dns1 primary_dns_ip_address
  • -dns2 secondary_dns_ip_address
  • -dns3 tertiary_dns_ip_1address
  • -server6 IPv6_dhcp_ip_address
  • -i6 IPv6_address
  • -d6 IPv6_domainname
  • -dns61 IPv6_primary_dns_ip_address
  • -dns62 IPv6_secondary_dns_ip_address
  • -dns63 IPv6_tertiary_dns_ip_1address
dhcpinfo -eth0
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display Ethernet channel 0 DHCP configuration for standby management module If the IP configuration for the standby management module eth0 is assigned by a DHCP server, the configuration that is assigned by the DHCP server and DHCP server information is displayed. If the IP configuration for eth0 is not assigned by a DHCP server, an error message is displayed. Possible configuration values returned are:
  • -server dhcp_ip_address
  • -n hostname
  • -i ip_address
  • -g gateway_address
  • -s subnet_mask
  • -d domainname
  • -dns1 primary_dns_ip_address
  • -dns2 secondary_dns_ip_address
  • -dns3 tertiary_dns_ip_1address
  • -server6 IPv6_dhcp_ip_address
  • -i6 IPv6_address
  • -d6 IPv6_domainname
  • -dns61 IPv6_primary_dns_ip_address
  • -dns62 IPv6_secondary_dns_ip_address
  • -dns63 IPv6_tertiary_dns_ip_1address
dhcpinfo -eth0 -standby
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display management network DHCP configuration for blade server If the IPv6 configuration for the specified blade server management network Ethernet channel is assigned by a DHCP server, the IPv6 IP address is displayed. If the IP configuration for the specified blade server management network Ethernet channel is not assigned by a DHCP server, an error message is displayed. dhcpinfo -eth x

where x is the blade server management network channel number to display.

                           -T system:blade[x]
                        

where x is the blade server bay number.

Display DHCP configuration for I/O module If the IPv6 configuration for the specified I/O module is assigned by a DHCP server, the IPv6 IP address is displayed. If the IPv6 configuration for the I/O module is not assigned by a DHCP server, an error message is displayed. dhcpinfo
                           -T system:switch[x]
                        

where x is the I/O-module bay number.

Example: To display the DHCP server assigned network settings that do not support IPv6 for Ethernet channel 0, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  dhcpinfo -eth0
               

The following example shows the information that is returned:

               system:mm[1]> dhcpinfo -eth0
-server 192.168.70.29
-n MM00096BCA0C80
-i 192.168.70.183
-g 192.168.70.29
-s 255.255.255.0
-d linux-sp.raleigh.ibm.com
-dns1 192.168.70.29
-dns2 0.0.0.0
-dns3 0.0.0.0
system:mm[1]>
            
To display the DHCP server assigned network settings that support IPv6 for Ethernet channel 0, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  dhcpinfo -eth0
               

The following example shows the information that is returned:

               system:mm[1]> dhcpinfo -eth0
DHCP is disabled
-server6 FE80:0000:0000:0000:0202:55FF:FE21:0F23
-i6 2000:1013:0000:0000:DDDD:CCCC:D7C8:F925
-d6 datacentertech.net
-dns61 2000:1013:0000:0000:0000:0000:0100:0100
-dns62 2000:1013:0000:0000:0000:0000:0100:0101
-dns63 2000:1013:0000:0000:0000:0000:0100:0102
system:mm[1]>