Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
cns config retrieve
73
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
OL-23890-01
You can use the optional retry and interval keywords to specify an amount of time in seconds to wait
before attempting to retrieve a configuration from a trusted server. The number of retries is restricted to
100 to prevent the configuration agent from indefinitely attempting to reach an unreachable server. Use
the keyboard combination Ctrl-Shift-6 to abort this command.
Examples The following example shows how to request a configuration from a trusted server at 10.1.1.1:
Router(config)# cns trusted-server all 10.1.1.1
Router(config)# exit
Router# cns config retrieve 10.1.1.1
The following example shows how to request a configuration from a trusted server at 10.1.1.1 and to
configure a CNS configuration retrieve interval:
Router(config)# cns trusted-server all 10.1.1.1
Router(config)# exit
Router# cns config retrieve 10.1.1.1 retry 50 interval 1500
CNS Config Retrieve Attempt 1 out of 50 is in progress
Next cns config retrieve retry is in 1499 seconds (Ctrl-Shft-6 to abort this command).
..
00:26:40: %CNS-3-TRANSPORT: CNS_HTTP_CONNECTION_FAILED:10.1.1.1 -Process= "CNS config
retv", ipl= 0, pid= 43
00:26:40: %CNS-3-TRANSPORT: CNS_HTTP_CONNECTION_FAILED -Process= "CNS config retv", ipl=
0, pid= 43......
Related Commands Command Description
cli Specifies EXEC CLI commands within a Command Scheduler policy
list.
cns config initial Starts the CNS configuration agent and initiates an initial
configuration.
cns trusted-server Specifies a trusted server for CNS agents.
kron policy-list Specifies a name for a Command Scheduler policy and enters
kron-policy configuration mode.
show cns config status Displays information about the status of the CNS configuration
agent.