Specifications
B-56
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
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 causes 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 is 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 is applied to the router, but none of the
configuration beyond the error is applied. If an error occurs, the command retries until it successfully
completes. Once the configuration has successfully completed the cns config initial command is
removed from the running configuration. By default, NVRAM is updated except when the no-persist
keyword is configured.
When this command is used with the event keyword, a single message is published on the event bus after
the configuration is complete. The event bus displays 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 is 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.