-64
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
cns config retrieve
cns config retrieve
To enable the Cisco Networking Services (CNS) configuration agent and initiate a download of the
initial configuration, use the cns config retrieve command in privileged EXEC mode.
cns config retrieve {host-name | ip-address} [encrypt] [port-number] [page page]
[overwrite-startup] [retry retries interval seconds] [syntax-check] [no-persist] [source
interface name] [status url] [event] [inventory]
Syntax Description host-name Hostname of the configuration server.
ip-address IP address of the configuration server.
encrypt (Optional) Uses a Secure Sockets Layer (SSL) encrypted link to the event
gateway.
port-number (Optional) Port number of the configuration service. The value is from 0 to
65535. The default is 80 with no encryption and 443 with encryption.
page (Optional) Indicates that the configuration is located on a web page.
page (Optional) Web page where the configuration is located. The default is
/cns/config.asp.
overwrite-startup (Optional) Replaces the startup configuration file. Does not apply to the
running configuration file.
retry retries (Optional) Specifies the retry interval. The range is 0 to 100. The default is
0.
interval seconds (Optional) Specifies the time in seconds, before the next attempt to request
the configuration of a device from a configuration server. The range is 1 to
3600.
syntax-check (Optional) Turns on syntax checking.
no-persist (Optional) Suppresses the default automatic writing to NVRAM of the
configuration pulled as a result of issuing the cns config retrieve command.
If not present, issuing the cns config retrieve command causes the resultant
configuration to be automatically written to NVRAM.
source (Optional) Specifies the source of CNS communications.
interface name (Optional) Interface name of the source of the configuration.
status url (Optional) Sends the configuration the specified URL via HTTP, either
notifying successful completion of the configuration or warning that the
configuration contained errors.
event (Optional) Sends an event to the CNS Event Bus stating successful
completion of the configuration, a warning that the configuration contained
errors, or a message noting that the configuration failed. If the CNS event
agent is not configured, the event will be saved until the CNS event agent is
enabled. If the event keyword is not specified, a log message is sent to the
console of the device after the configuration is complete.
inventory (Optional) Sends an inventory of the line cards and modules in the router to
the CNS configuration engine as part of the HTTP request.
Comments to this Manuals