Cisco Systems C2960XSTACK Manuel d'utilisateur Page 40

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 39
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
Switch(config-cns-conn)# exit
Switch(config)# hostname RemoteSwitch
RemoteSwitch(config)# ip route 172.28.129.22 255.255.255.255 11.11.11.1
RemoteSwitch(config)# cns id ethernet 0 ipaddress
RemoteSwitch(config)# cns config initial 172.28.129.22 no-persist
What to Do Next
To verify information about the configuration agent, use the show cns config connections command in
privileged EXEC mode.
To disable the CNS Cisco IOS agent, use the no cns config initial { ip-address | hostname } global configuration
command.
Refreshing DeviceIDs
Beginning in privileged EXEC mode, follow these steps to refresh a DeviceID when changing the hostname
on the switch.
SUMMARY STEPS
1.
show cns config connections
2.
Make sure that the CNS event agent is properly connected to the event gateway.
3.
show cns event connections
4.
Record from the output of Step 3 the information for the currently connected connection listed below.
You will be using the IP address and port number in subsequent steps of these instructions.
5.
configure terminal
6.
no cns event ip-address port-number
7.
cns event ip-address port-number
8.
end
9.
Make sure that you have reestablished the connection between the switch and the event connection by
examining the output from show cns event connections.
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
28 OL-29044-01
Configuring Cisco IOS Configuration Engine
Refreshing DeviceIDs
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 111 112

Commentaires sur ces manuels

Pas de commentaire