C H A P T E R 6 CLI Command Summary
101
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
<agentname> services
info
Displays information about any existing services. For example,
when there are two services created:
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
<agentname> services
create
Creates a service.
Syntax:
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
Command Description
Config DNS Agents Commands