Specifications
B-67
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 exec
cns exec
To enable and configure the Cisco Networking Services (CNS) exec agent, which provides CNS exec
agent services to Cisco IOS clients, use the cns exec command in global configuration mode. To disable
the use of CNS exec agent services, use the no form of this command.
cns exec [host-name | ip-address] [encrypt [enc-port-number]] [port-number]
[source interface name]
no cns exec [host-name | ip-address] [encrypt [enc-port-number]] [port-number]
[source interface name]
Syntax Description
Command Default No CNS exec agent is configured.
Command Modes Global configuration (config)
Command History
Usage Guidelines The CNS exec agent allows a remote application to execute an EXEC mode command-line interface
(CLI) command on a Cisco IOS device by sending an event message containing the command. A
restricted set of EXEC CLI commands are supported, including show commands.
In previous Cisco IOS releases, the CNS exec agent was enabled when the CNS configuration agent was
enabled through the cns config partial command.
host-name (Optional) Hostname of the exec server.
ip-address (Optional) IP address of the exec server.
encrypt (Optional) Uses an SSL-encrypted link to the exec agent server.
Note This keyword is available only in images that support SSL.
enc-port-number (Optional) Port number for the encrypted exec server. The default is 443.
port-number (Optional) Port number for the exec server. The default is 80.
source (Optional) Specifies the use of an IP address defined by the ip-address
argument as the source for CNS exec agent communications.
interface name (Optional) Interface name.
Release Modification
12.3(1) This command was introduced.
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 Release 12.4(20)MR.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA.