Home > Cisco > Switch > Cisco 2960 X Owners Manual

Cisco 2960 X Owners Manual

Here you can view all the pages of manual Cisco 2960 X Owners Manual. The Cisco manuals for Switch are available online for free. You can easily download all the documents as PDF.

Page 31

DETAILED STEPS
PurposeCommand or Action
Enterstheglobalconfigurationmode.configureterminal
Example:
Switch#configureterminal
Step 1
Enablestheeventagent,andentersthegatewayparameters.cnsevent{hostname|ip-address}
[port-number][[keepaliveseconds
Step 2
•For{hostname|ip-address},entereitherthehostnameortheIPaddress
oftheeventgateway.retry-count][failover-timeseconds]
[reconnect-timetime]|backup]
Example:
Switch(config)#cnsevent10.180.1.27keepalive12010...

Page 32

Related Topics
EventService,onpage16
Enabling the Cisco IOS CNS Agent
BeginninginprivilegedEXECmode,followthesestepstoenabletheCiscoIOSCNSagentontheswitch.
Before You Begin
YoumustenabletheCNSeventagentontheswitchbeforeyouenablethisagent.
SUMMARY STEPS
1.configureterminal
2.cnsconfiginitial{hostname|ip-address}[port-number]
3.cnsconfigpartial{hostname|ip-address}[port-number]
4.end
5.StarttheCiscoIOSCNSagentontheswitch.
DETAILED STEPS
PurposeCommand or Action...

Page 33

PurposeCommand or Action
EnablestheCiscoIOSCNSagentandinitiatesapartialconfiguration
ontheswitch.
ReturnstoprivilegedEXECmode.end
Example:
Switch(config)#end
Step 4
StarttheCiscoIOSCNSagentontheswitch.Step 5
What to Do Next
YoucannowusetheCiscoConfigurationEnginetoremotelysendincrementalconfigurationstotheswitch.
Related Topics
RefreshingDeviceIDs,onpage28
Enabling an Initial Configuration for Cisco IOS CNS Agent
BeginninginprivilegedEXECmode,followthesestepstoenabletheCNSconfigurationagentandinitiate...

Page 34

SUMMARY STEPS
1.configureterminal
2.cnstemplateconnectname
3.cliconfig-text
4.RepeatSteps2to3toconfigureanotherCNSconnecttemplate.
5.exit
6.cnsconnectname[retriesnumber][retry-intervalseconds][sleepseconds][timeoutseconds]
7.discover{controllercontroller-type|dlci[subinterfacesubinterface-number]|interface[interface-type]
|lineline-type}
8.templatename[...name]
9.RepeatSteps7to8tospecifymoreinterfaceparametersandCNSconnecttemplatesintheCNSconnect
profile.
10.exit
11.hostnamename
12.iproutenetwork-number...

Page 35

PurposeCommand or Action
Returnstoglobalconfigurationmode.exit
Example:
Switch(config)#exit
Step 5
EntersCNSconnectconfigurationmode,specifiesthenameoftheCNS
connectprofile,anddefinestheprofileparameters.TheswitchusestheCNS
connectprofiletoconnecttotheConfigurationEngine.
cnsconnectname[retriesnumber]
[retry-intervalseconds][sleepseconds]
[timeoutseconds]
Step 6
Example:
Switch(config)#cnsconnectdhcp
•EnterthenameoftheCNSconnectprofile.
•(Optional)Forretriesnumber,enterthenumberofconnectionretries....

Page 36

PurposeCommand or Action
Returnstoglobalconfigurationmode.exit
Example:
Switch(config-cns-conn)#exit
Step 10
Entersthehostnamefortheswitch.hostnamename
Example:
Switch(config)#hostnamedevice1
Step 11
(Optional)EstablishesastaticroutetotheConfigurationEnginewhoseIP
addressisnetwork-number.
iproutenetwork-number
Example:
RemoteSwitch(config)#iproute
Step 12
172.28.129.22255.255.255.25511.11.11.1
(Optional)SetstheuniqueEventIDorConfigIDusedbytheConfiguration...

Page 37

PurposeCommand or Action
EnablestheCiscoIOSagent,andinitiatesaninitialconfiguration.cnsconfiginitial{hostname|ip-address}
[port-number][event][no-persist][page
page][sourceip-address][syntax-check]
Step 15
•For{hostname|ip-address},enterthehostnameortheIPaddressof
theconfigurationserver.
Example:
RemoteSwitch(config)#cnsconfiginitial10.1.1.1no-persist
•(Optional)Forport-number,entertheportnumberoftheconfiguration
server.Thedefaultportnumberis80....

Page 38

ThisexampleshowshowtoconfigureaninitialconfigurationonaremoteswitchwhentheswitchIPaddress
isknown.TheConfigurationEngineIPaddressis172.28.129.22....

Page 39

DETAILED STEPS
PurposeCommand or Action
DisplayswhethertheCNSeventagentisconnectingtothe
gateway,connected,oractive,andthegatewayusedbythe
eventagent,itsIPaddressandportnumber.
showcnsconfigconnections
Example:
Switch#showcnsconfigconnections
Step 1
Examinetheoutputofshowcnsconfigconnectionsforthe
following:
MakesurethattheCNSeventagentisproperly
connectedtotheeventgateway.
Step 2
•Connectionisactive.
•Connectionisusingthecurrentlyconfiguredswitch
hostname.TheDeviceIDwillberefreshedtocorrespond...

Page 40

PurposeCommand or Action
Makesurethatyouhavereestablishedtheconnection
betweentheswitchandtheeventconnectionby
examiningtheoutputfromshowcnseventconnections.
Step 9
Related Topics
EnablingtheCiscoIOSCNSAgent,onpage22
HostnameandDeviceID,onpage17
Enabling a Partial Configuration for Cisco IOS CNS Agent
BeginninginprivilegedEXECmode,followthesestepstoenabletheCiscoIOSCNSagentandtoinitiatea
partialconfigurationontheswitch.
SUMMARY STEPS
1.configureterminal...
Start reading Cisco 2960 X Owners Manual

Related Manuals for Cisco 2960 X Owners Manual

All Cisco manuals