Cisco IE-4000 Software Configuration Manual page 93

Industrial ethernet switch
Hide thumbs Also See for IE-4000:
Table of Contents

Advertisement

Configuring Cisco IOS Configuration Engine
Monitoring and Maintaining Cisco IOS Configuration Engine
Monitoring and Maintaining Cisco IOS Configuration Engine
Command
show cns config connections
show cns config outstanding
show cns config stats
show cns event connections
show cns event stats
show cns event subject
Configuration Examples for Cisco IOS Configuration Engine
Enabling the CNS Event Agent: Example
This example shows how to enable the CNS event agent, set the IP address gateway to 10.180.1.27, set 120 seconds
as the keepalive interval, and set 10 as the retry count.
Switch(config)# cns event 10.180.1.27 keepalive 120 10
Configuring an Initial CNS Configuration: Examples
This example shows how to configure an initial configuration on a remote switch when the switch configuration is
unknown (the CNS Zero Touch feature).
Switch(config)# cns template connect template-dhcp
Switch(config-tmpl-conn)# cli ip address dhcp
Switch(config-tmpl-conn)# exit
Switch(config)# cns template connect ip-route
Switch(config-tmpl-conn)# cli ip route 0.0.0.0 0.0.0.0 ${next-hop}
Switch(config-tmpl-conn)# exit
Switch(config)# cns connect dhcp
Switch(config-cns-conn)# discover interface gigabitethernet
Switch(config-cns-conn)# template template-dhcp
Switch(config-cns-conn)# template ip-route
Switch(config-cns-conn)# exit
Switch(config)# hostname RemoteSwitch
RemoteSwitch(config)# cns config initial 10.1.1.1 no-persist
This example shows how to configure an initial configuration on a remote switch when the switch IP address is known.
The Configuration Engine IP address is 172.28.129.22.
Switch(config)# cns template connect template-dhcp
Switch(config-tmpl-conn)# cli ip address dhcp
Switch(config-tmpl-conn)# exit
Switch(config)# cns template connect ip-route
Switch(config-tmpl-conn)# cli ip route 0.0.0.0 0.0.0.0 ${next-hop}
Switch(config-tmpl-conn)# exit
Switch(config)# cns connect dhcp
Switch(config-cns-conn)# discover interface gigabitethernet
Switch(config-cns-conn)# template template-dhcp
Switch(config-cns-conn)# template ip-route
Purpose
Displays the status of the CNS Cisco IOS agent connections.
Displays information about incremental (partial) CNS configurations that
have started but are not yet completed.
Displays statistics about the Cisco IOS agent.
Displays the status of the CNS event agent connections.
Displays statistics about the CNS event agent.
Displays a list of event agent subjects that are subscribed to by
applications.
89

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie-5000Ie-4010

Table of Contents