Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
Configuring IP SLAs DNS Operations
Downloads: This chapterpdf (PDF - 1.32MB) The complete bookPDF (PDF - 3.18MB) | The complete bookePub (ePub - 521.0KB) | The complete bookMobi (Mobi - 0.96MB) | Feedback

Configuring IP SLAs DNS Operations

Configuring IP SLAs DNS Operations

This chapter describes the DNS operations capabilities of IP Service Level Agreements (SLAs).

This chapter includes the following sections:

IP SLAs DNS Operations

This section describes how to configure the IP SLAs DNS operations to measure the difference between the time taken to send a DNS request and receive a reply.

Guidelines and Limitations for IP SLA DNS Operations

  • IPv6 is not supported for IP SLA DNS operations.

DNS Operation

The DNS operation measures the difference between the time taken to send a DNS request and receive a reply. DNS is used in the Internet for translating names of network nodes into addresses. The IP SLAs DNS operation queries for an IP address if you specify a hostname or queries for a hostname if you specify an IP address.

In the following figure, Device B is configured as the source IP SLAs device and a DNS operation is configured with the DNS server as the destination device.

Figure 1. DNS Operation

The connection response time is computed by measuring the difference between the time taken to send a request to the DNS server and the time a reply is received by Device B. The resulting DNS lookup time can help you analyze your DNS performance. Faster DNS lookup times translate to a faster web server access experience.

Configuring a Basic DNS Operation on the Source Device

Procedure
 Command or ActionPurpose
Step 1 configure terminal


Example:
switch# configure terminal
 

Enters global configuration mode.

 
Step 2 ip sla operation-number


Example:
switch(config)# ip sla 10
 

Begins configuration for an IP SLAs operation and enters IP SLA configuration mode.

 
Step 3 dns {destination-ip-address | destination-hostname} name-server ip-address [source-ip {ip-address | hostname} source-port port-number]


Example:
switch(config-ip-sla)# dns host1 name-server 172.20.2.132
 

Defines a DNS operation and enters IP SLA DNS configuration mode.

 
Step 4 frequency seconds


Example:
switch(config-ip-sla-dns)# frequency 60
 

(Optional) Sets the rate at which a specified IP SLAs operation repeats.

 
Step 5 end


Example:
switch(config-ip-sla-dns)# end
 

Exits to privileged EXEC mode.

 

Configuring a DNS Operation with Optional Parameters on the Source Device

Procedure
 Command or ActionPurpose
Step 1 configure terminal


Example:
switch# configure terminal
 

Enters global configuration mode.

 
Step 2 ip sla operation-number


Example:
switch(config)# ip sla 10
 

Begins configuration for an IP SLAs operation and enters IP SLA configuration mode.

 
Step 3 dns {destination-ip-address | destination-hostname} name-server ip-address [source-ip {ip-address | hostname} source-port port-number]


Example:
switch(config-ip-sla)# dns host1 name-server 172.20.2.132
 

Defines a DNS operation and enters IP SLA DNS configuration mode.

 
Step 4 history buckets-kept size


Example:
switch(config-ip-sla-dns)# history buckets-kept 25
 

(Optional) Sets the number of history buckets that are kept during the lifetime of an IP SLAs operation.

 
Step 5 history distributions-of-statistics-kept size


Example:
switch(config-ip-sla-dns)# history distributions-of-statistics-kept 5
 

(Optional) Sets the number of statistics distributions kept per hop during an IP SLAs operation.

 
Step 6 history filter{none | all | overThreshold | failures}


Example:
switch(config-ip-sla-dns)# history filter failures
 

(Optional) Defines the type of information kept in the history table for an IP SLAs operation.

 
Step 7 frequency seconds


Example:
switch(config-ip-sla-dns)# frequency 30
 

(Optional) Sets the rate at which a specified IP SLAs operation repeats.

 
Step 8 history hours-of-statistics-kept hours


Example:
switch(config-ip-sla-dns)# history hours-of-statistics-kept 4
 

(Optional) Sets the number of hours for which statistics are maintained for an IP SLAs operation.

 
Step 9 history lives-kept lives


Example:
switch(config-ip-sla-dns)# history lives-kept 2
 

(Optional) Sets the number of lives maintained in the history table for an IP SLAs operation.

 
Step 10 owner owner-id


Example:
switch(config-ip-sla-dns)# owner admin
 

(Optional) Configures the Simple Network Management Protocol (SNMP) owner of an IP SLAs operation.

 
Step 11 history statistics-distribution-interval milliseconds


Example:
switch(config-ip-sla-dns)# history statistics-distribution-interval 10
 

(Optional) Sets the time interval for each statistics distribution kept for an IP SLAs operation.

 
Step 12 tag text


Example:
switch(config-ip-sla-dns)# tag TelnetPollServer1 
 

(Optional) Creates a user-specified identifier for an IP SLAs operation.

 
Step 13 threshold milliseconds


Example:
switch(config-ip-sla-dns)# threshold 9000
 

(Optional) Sets the upper threshold value for calculating network monitoring statistics created by an IP SLAs operation.

 
Step 14 timeout milliseconds


Example:
switch(config-ip-sla-dns)# timeout 10000 
 

(Optional) Sets the amount of time an IP SLAs operation waits for a response from its request packet.

 
Step 15 end


Example:
switch(config-ip-sla-dns)# end
 

Exits to privileged EXEC mode.

 

Scheduling IP SLAs Operations


Note


  • All IP SLAs operations that you want to be scheduled must be already configured.
  • The frequency of all operations scheduled in a multioperation group must be the same.
  • The list of one or more operation ID numbers to be added to a multioperation group is limited to a maximum of 125 characters in length, including commas (,).

Procedure
 Command or ActionPurpose
Step 1 configure terminal


Example:
switch# configure terminal
 

Enters global configuration mode.

 
Step 2 Use one of the following.
  • ip sla schedule operation-number [life {forever | seconds}] [start-time {[hh:mm:ss] [month day | day month] | pending | now | after hh:mm:ss}] [ageout seconds] [recurring]
  • ip sla group schedule group-operation-number operation-id-numbers {schedule-period schedule-period-range | schedule-together} [ageout seconds] [frequency group-operation-frequency] [life {forever | seconds}] [start-time {hh:mm[:ss] [month day | day month] | pending | now | after hh:mm[:ss]}]


Example:
switch(config)# ip sla schedule 10 life forever start-time now


Example:
switch(config)# ip sla group schedule 1 3,4,6-9 life forever start-time now 
 

Configures the scheduling parameters for an individual IP SLAs operation.

Specifies an IP SLAs operation group number and the range of operation numbers for a multioperation scheduler.

 
Step 3 exit


Example:
switch(config)# exit
 

Exits to privileged EXEC mode.

 
Step 4 show ip sla group schedule


Example:
switch# show ip sla group schedule
 

(Optional) Displays IP SLAs group schedule details.

 
Step 5 show ip sla configuration


Example:
switch# show ip sla configuration
 

(Optional) Displays IP SLAs configuration details.

 

Configuration Example for a DNS Operation

This example shows how to configure a DNS operation from Device B to the DNS server (IP address 172.20.2.132) as shown in the “DNS Operation” figure in the “DNS Operation” section. The operation is scheduled to start immediately. In this example, the target address is a hostname and the DNS operation will query the DNS server for the IP address associated with the hostname host1. No configuration is required at the DNS server.

ip sla 11
 dns host1 name-server 172.20.2.132
 frequency 50
 timeout 8000
 tag DNS-Test
ip sla schedule 11 start-time now

Configuration Example for a Basic DNS Operation on the Source Device

This example shows how to configure a basic DNS operation on the source device:

switch# configure terminal
switch(config)# ip sla 10
switch(config-ip-sla)# dns host1 name-server 172.20.2.132
switch(config-ip-sla-dns)# frequency 60
switch(config-ip-sla-dns)# end

Configuration Example for a DNS Operation with Optional Parameters on the Source Device

This example shows how to configure a DNS operation with optimal parameters on the source device:

switch# configure terminal
switch(config)# ip sla 10
switch(config-ip-sla)# dns host1 name-server 172.20.2.132
switch(config-ip-sla-dns)# history buckets-kept 25
switch(config-ip-sla-dns)# history distributions-of-statistics-kept 5
switch(config-ip-sla-dns)# history filter failures
switch(config-ip-sla-dns)# frequency 30
switch(config-ip-sla-dns)# history hours-of-statistics-kept 4
switch(config-ip-sla-dns)# history lives-kept 2
switch(config-ip-sla-dns)# owner admin
switch(config-ip-sla-dns)# history statistics-distribution-interval 10
switch(config-ip-sla-dns)# tag TelnetPollServer1 
switch(config-ip-sla-dns)# threshold 9000
switch(config-ip-sla-dns)# timeout 10000
switch(config-ip-sla-dns)# end

Configuration Example for Scheduling IP SLAs Operations

This example shows how to schedule IP SLAs operations:

switch# configure terminal
switch(config)# ip sla schedule 10 life forever start-time now
switch(config)# exit
switch# show ip sla group schedule
switch# show ip sla configuration

Feature History for IP SLAs DNS Operations

This table includes only the updates for those releases that have resulted in additions or changes to the feature.

Table 1 Feature History for IP SLAs DNS Operations
Feature Name Release Feature Information

IP SLAs DNS Operations

6.2(2)

This feature was introduced.