Cisco Cisco Prime IP Express 8.3 Technical References
server <server> getDebug
server <server> serverLogs show
server <server> serverLogs nlogs=<nlogs> logsize=<logsize>
server <server> serverLogs nlogs=<nlogs> logsize=<logsize>
Description
The server command is used to send general control messages and
queries to the servers in the cluster. <server> may be ccm, cdns,
dhcp, dns, snmp, or tftp.
Not all servers support all commands.
queries to the servers in the cluster. <server> may be ccm, cdns,
dhcp, dns, snmp, or tftp.
Not all servers support all commands.
The stop command stops the specified server.
The start command starts the specified server.
The reload command reloads the specified server, possibly with new
configuration information.
configuration information.
The getHealth command gets the specified server's current health
value.
value.
The getStats command gets the specified server's current statistics.
The setDebug command sets the debugging level. The debugging
information is written to the server's log file.
information is written to the server's log file.
The unsetDebug command turns off debugging output.
The serverLogs show command displays the number of log files and
the maximum size for each file.
The serverLogs command allows setting the two server logging
parameters, nlogs and logsize. Either or both may be specified in
the command, and changes occur only to the one(s) specified. When
setting logsize, the value may be suffixed with K or M to signify
units of thousands or millions. Note that in order for these
changes to take effect you must save the changes and restart the
server agent.
server dhcp serverLogs nlogs=6 logsize=500K
server dns serverLogs logsize=5M
The serverLogs show command displays the number of log files and
the maximum size for each file.
The serverLogs command allows setting the two server logging
parameters, nlogs and logsize. Either or both may be specified in
the command, and changes occur only to the one(s) specified. When
setting logsize, the value may be suffixed with K or M to signify
units of thousands or millions. Note that in order for these
changes to take effect you must save the changes and restart the
server agent.
server dhcp serverLogs nlogs=6 logsize=500K
server dns serverLogs logsize=5M
The features that can be enabled or disabled are:
start-on-reboot
For any server, controls whether this server is started by
the Network Registrar server agent. Disabling this feature
for a server is useful for clusters that want to provide a
single protocol service. By default both the DNS and DHCP
services are enabled.
start-on-reboot
For any server, controls whether this server is started by
the Network Registrar server agent. Disabling this feature
for a server is useful for clusters that want to provide a
single protocol service. By default both the DNS and DHCP
services are enabled.
The properties that can be read with the get command are:
version
The version string for this server.
version
The version string for this server.
Examples
nrcmd> server DNS stop
nrcmd> server DNS start
nrcmd> server DHCP getHealth
nrcmd> server DNS disable start-on-reboot
nrcmd> server DNS start
nrcmd> server DHCP getHealth
nrcmd> server DNS disable start-on-reboot
See Also
documentation
session
session - Configures nrcmd program session parameters
Synopsis
session set <attribute>=<value> [-save]
session get <attribute>
session enable <attribute> [-save]
session disable <attribute> [-save]
session get <attribute>
session enable <attribute> [-save]
session disable <attribute> [-save]