Configuration Commands

Domain Name System configuration

The Domain Name System (DNS) Configuration commands are used for defining the primary and secondary DNS servers on your local network, and for setting the default domain name served by the switch services. DNS parameters must be configured prior to using hostname parameters with the ping, traceroute, and tftp commands.

The following table describes the Domain Name System (DNS) Configuration commands. Table 145 Domain Name System (DNS) Configuration commands

Command

Description

 

 

[no] ip dns primary-server <IP

Sets the IP address for your primary DNS server. Use dotted

address>

decimal notation.

 

Command mode: Global configuration

 

 

[no] ip dns secondary-server <IP

Sets the IP address for your secondary DNS server. If the primary

address>

DNS server fails, the configured secondary will be used instead.

 

Enter the IP address using dotted decimal notation.

 

Command mode: Global configuration

 

 

[no] ip domain-name <string>

Sets the default domain name used by the switch. For example:

 

mycompany.com.

 

Command mode: Global configuration

 

 

show ip dns

Displays the current Domain Name System (DNS) settings.

 

Command mode: All except User EXEC

 

 

Bootstrap Protocol Relay configuration

Bootstrap Protocol (BOOTP) Relay is used to allow hosts to obtain their configurations from a Dynamic Host Configuration Protocol (DHCP) server. The BOOTP configuration enables the switch to forward a client request for an IP address to two DHCP/BOOTP servers with IP addresses that have been configured on the HP 10GbE switch.

BOOTP relay is turned off by default.

The following table describes the BOOTP Configuration commands. Table 146 BOOTP Configuration commands

Command

Description

 

 

[no] ip bootp-relay server <IP address>

Sets the IP address of the first or second BOOTP server.

 

Command mode: Global configuration

 

 

ip bootp-relay enable

Globally turns on BOOTP relay.

 

Command mode: Global configuration

 

 

no ip bootp-relay enable

Globally turns on BOOTP relay.

 

Command mode: Global configuration

 

 

show ip bootp-relay

Displays the current BOOTP relay configuration.

 

Command mode: All

 

 

162