configure

mapping a

Use configure terminal dhcp-serverstatic-map add to map a static DHCP entry for a MAC address

static DHCP

to the IP address 1.2.3.4:

entry

 

 

hostname# conf t dhcp-server static-map add 1.2.3.4 mac 00:22:44:55:66:77

 

 

 

conf t dns

 

The configure terminal dns command manually configures the DNS server information for the

 

device.

 

domain-namedomain-name [domain-name2 [domain-name3] ]

 

configures up to three domain names which will be used to resolve DNS lookups.

 

server server-name [server2 server-name [server3 server-name] ]

 

configures up to three IP addresses of DNS servers. You can also use this command to remove

 

DNS servers by entering 0.0.0.0 as the IP address.

 

use-external-dns < enable disable >

 

enables or disables the use of a DNS configuration that is obtained through the WAN

 

connection.

 

 

 

Using conf t dns

using

Use configure terminal dns use-external disable to disable the use of a DNS configuration obtained

manually

through the WAN connection:

configured

 

DNS settings

hostname# conf t dns use-external disable

specifying

Use configure terminal dns server to specify the IP addresses of DNS servers:

DNS servers

 

 

hostname# conf t dns server 10.0.0.1 10.0.0.2

removingDNS

Use configure terminal dns server 0.0.0.0 to remove custom DNS servers:

servers

 

 

hostname# conf t dns server 0.0.0.0

resolving DNS

Use configure terminal dns domain-nameto set the search domain for DNS lookups:

lookups

 

 

hostname# conf t dns domain-name mycompany.com

 

 

 

conf t email-rate-limit number

 

The configure terminal email-rate-limitcommand configures the maximum number of email

 

notifications the system will send every minute. The minimum is 1; the maximum is 35.

X Family CLI Reference V 2.5.1

43