-59
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
Command History
Usage Guidelines Use this command when a basic configuration—called a bootstrap configuration—is added to multiple
routers before being deployed. When a router is initially powered (or each time a router is reloaded when
the no-persist keyword is used) the cns config initial command will cause a configuration file—called
an initial configuration—for the router to be downloaded from the configuration server. The initial
configuration can be unique for each router.
When the configuration has been received by the router, each line of the configuration will be applied in
the same order as it was received. If the Cisco IOS parser has an error with one of the lines of the
configuration, then all the configuration up to this point will be applied to the router, but none of the
configuration beyond the error will be applied. If an error occurs, the command will retry until it
successfully completes. Once the configuration has successfully completed the cns config initial
command will be removed from the running configuration. By default, NVRAM will be updated except
when the no-persist keyword is configured.
When this command is used with the event keyword, a single message will be published on the event
bus after the configuration is complete. The event bus will display one of the following status messages:
• cisco.mgmt.cns.config.complete—CNS configuration agent successfully applied the initial
configuration.
• cisco.mgmt.cns.config.warning—CNS configuration agent fully applied the initial configuration but
encountered possible semantic errors.
When this command is used with the status keyword, a single message will be published to the URL
specified after the configuration is complete.
Examples The following example shows how to enable the CNS configuration agent and initiate an initial
configuration:
Router(config)# cns config initial 10.19.4.5
Release Modification
12.2(2)T This command was introduced.
12.0(18)ST This command was integrated into Cisco IOS Release 12.0(18)ST.
12.0(22)S This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(2)XB This command was implemented on Cisco IAD2420 series Integrated
Access Devices (IADs).
12.2(8)T The source and encrypt keywords were added.
12.3(1) The inventory keyword was added.
12.3(8)T The status url keyword/argument pair was added.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.
12.2(33)SXI This command was integrated into Cisco IOS Release 12.2(33)SXI.
12.4(20)MR This command was integrated into Cisco IOS Release12.4(20)MR.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA.
15.0(1)MR This command was integrated into Cisco IOS Release 15.0(1)MR.
15.1(3)MR This command was integrated into Cisco IOS Release 15.1(3)MR.
Comments to this Manuals