-58
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 initial
cns config initial
To enable the Cisco Networking Services (CNS) configuration agent and initiate a download of the
initial configuration, use the cns config initial command in global configuration mode. To remove an
existing cns config initial command from the running configuration of the routing device, use the no
form of this command.
cns config initial {host-name | ip-address} [encrypt] [port-number] [page page] [syntax-check]
[no-persist] [source interface name] [status url] [event] [inventory]
no cns config initial
Syntax Description
Defaults The port number defaults to 80 with no encryption and 443 with encryption.
Default web page of the initial configuration is /cns/config.asp.
Command Modes Global configuration (config)
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.
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 initial command.
If not present, issuing the cns config initial 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 CNS communications.
status url (Optional) Sends an event to 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 Event Bus notifying successful completion
of the configuration or warning that the configuration contained errors. 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