dhcpinfo command
This command displays the IP configuration that is assigned by a DHCP server to the primary CMM external network interface, compute node management network interfaces, and I/O module DHCPv6 server.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or dhcpinfo command errors for a list of error messages that are specific to the dhcpinfo command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display Ethernet channel 0 DHCP configuration for primary CMM | If the IP configuration for the primary CMM 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:
| dhcpinfo -eth0 | Primary CMM:
|
Display Ethernet channel 0 DHCP configuration for standbyCMM | If the IP configuration for the standby CMM 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:
| dhcpinfo -eth0 -standby | Primary CMM:
|
Display management network DHCP configuration for all compute node interfaces | Displays the IPv6 configuration for all interfaces of the specified compute node assigned by a DHCP server. If the IP configuration for a compute node interface is not assigned by a DHCP server, an error message is displayed. Note If the | dhcpinfo | Compute node:
|
Display management network DHCP configuration for specific compute node interface | If the IPv6 configuration for the specified compute node interface is assigned by a DHCP server, the IPv6 IP address is displayed. If the IP configuration for the specified compute node interface is not assigned by a DHCP server, an error message is displayed. | dhcpinfo -interface_label where interface_label is any interface label reported by the compute node that specifies both the interface type and channel number. For example, eth0 for Ethernet channel 0. Valid interface types include:
Valid interface types for a specific compute node can be seen by running the dhcpinfo command with no interface argument. | Compute node:
|
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 | I/O module:
|
dhcpinfo -T blade[2]
dhcpinfo -T blade[2] -eth0
dhcpinfo -eth0 -T mm[p]
dhcpinfo -eth0 -standby -T mm[p]
The following example shows the information that is returned from these commands:
system> dhcpinfo -T blade[2]
eth0
-i6 2000:1013::45b8:6a2a:ff92:4cd3
usb0
-i6 ::
system> dhcpinfo -T blade[2] -eth0
-i6 2000:1013::45b8:6a2a:ff92:4cd3
system> dhcpinfo -eth0 -T mm[p]
DHCP is disabled
-server6 fd55:faaf:e1ab:1019:9:37:64:33
-i6 fd55:faaf:e1ab:1019:277d:755d:da17:b127
-d6
-dns61 fd55:faaf:e1ab:1019:9:37:64:33
-dns62 fd55:faaf:e1ab:1019:d143:5ba3:e825:1136
-dns63
system> dhcpinfo -eth0 -standby -T mm[p]
DHCP is disabled
-server6 fd55:faaf:e1ab:1019:9:37:64:33
-i6 fd55:faaf:e1ab:1019:4beb:50a3:ac71:b49f
-d6
-dns61 fd55:faaf:e1ab:1019:9:37:64:33
-dns62 fd55:faaf:e1ab:1019:d143:5ba3:e825:1136
-dns63 ::
system>