C H A P T E R 6

CLI Command Summary

CommandDescription

agent-ip <agentip>

Configures the IP address of the corresponding agent name.

 

 

 

 

enable

Enables communication with the agent. Default: enabled.

 

 

 

disable

Disables the agent. Services configured under these agents are no

 

longer available for resolution.

 

 

 

 

 

config dns agents

Displays information about any existing services. For example,

<agentname> services

when there are two services created:

 

 

info

Service: 10.1.2.8:90

 

 

 

 

Service IP: 10.1.2.8

 

Service Port: 90

 

 

Service: 10.2.2.3:80

 

 

 

 

Service IP: 10.2.2.3

 

Service Port: 80

 

 

 

 

stats

Displays statistics for all services for the specified agent.

 

 

For example:

 

 

 

 

Service: 10.1.2.8:90 (0 Servers)

 

 

Referrals:

0

Flash Referrals:

0

 

Response Time:

0

Connections/Sec:

0

 

Service: 10.2.2.3:80 (0 Servers)

 

 

Referrals:

0

Flash Referrals:

0

 

Response Time:

0

Connections/Sec:

0

 

 

 

 

 

config dns agents

Creates a service.

 

 

 

<agentname> services

Syntax:

 

 

 

create

create <svcname>

 

 

 

 

where:

 

 

 

 

svcname is a VIP and port number (e.g., 10.1.2.8:80)

 

 

 

 

 

 

delete

Deletes a service.

 

 

 

 

Syntax:

 

 

 

 

delete <svcname>

 

 

 

 

where:

 

 

 

 

svcname is a VIP and port number (e.g., 10.1.2.8:80)

 

 

 

 

 

 

rename

Renames an existing service.

 

 

 

 

Syntax:

 

 

 

rename <svcname> new <new svcname>

For example, to change the port number as part of a service name:

rename 10.1.2.8:80 new 10.1.2.8:90

Config DNS Agents Commands

101

Page 109
Image 109
Intel 7190 manual Configures the IP address of the corresponding agent name