Honeywell PKS R201配套的交换机配置手册_第1页
Honeywell PKS R201配套的交换机配置手册_第2页
Honeywell PKS R201配套的交换机配置手册_第3页
Honeywell PKS R201配套的交换机配置手册_第4页
Honeywell PKS R201配套的交换机配置手册_第5页
已阅读5页,还剩16页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

HoneywellPKSR201配套的交换机配置手册

Beforeyoubegin

TasksforconfiguringaCiscoswitch

Passwordsandnamesforswitchaccessandconfiguration

Accessingswitchconfigurationfiles

UsingtheCiscoCommandLineInterface(CLI)

Connectinglocallytotheswitch

Configuringswitchinterfaceoptions

UsingVLAN101switchconfigurationfiles

Loadingtheappropriateswitchconfigurationfile

9.7ConfiguringCiscoswitches

Usetheproceduresinthissectiontoinstalltheswitchconfigurationfilestothenode,andconfiguretheCiscoswitchesforFTEusingtheswitch’scommandlineinterfaceandthecorrectswitchstartupconfigurationfile.

Beforeyoubegin

Beforebeginningtheproceduresinthissection,verifythefollowing:

Task

YouhaveanRS-232cableconfigured,asrequiredbytheswitchvendor,toconnectthecomputer’sserialporttotheswitch’scommport.

HaveHyperTerminalconfiguredonthecomputertobeusedastheinterfacetotheswitch.

Havereviewedthespecificvendor’sswitchuserguide,ifnecessary.

TasksforconfiguringaCiscoswitch

ThefollowingtableliststhetasksforconfiguringtheCiscoswitchesinanFTEnetwork.

Task

Connectinglocallytotheswitch

.

VerifyyourswitchhasthecorrectIOSversionaccordingtotheIOSlistedintheExperionPlatformFaultTolerantEthernet(FTE)SpecificationandTechnicalData.Ifitdoesnot,contactyourHoneywellservicerepresentative.

Configuringswitchinterfaceoptions

.

Loadingtheappropriateswitchconfigurationfile

.

Passwordsandnamesforswitchaccessandconfiguration

Duringtheswitchconfigurationprocess,youarepromptedforanumberofnamesandpasswords.Thefollowingtableliststhenamesandpasswordsusedwhenconfiguringswitches.

Name

Description

Exampleusedinthisdocument

VirtualTerminalPassword

Passwordusedtoprotectaccesstotherouteroveranetworkinterface.

FTE4

FTPServerUsername

FTPServerusernamethatallowsyoutouseTelnetandFTPsessionstosaveandrestoreconfigurationoptions.

ps_user

FTPServerPassword

FTPServerpasswordthatallowsyoutouseTelnetandFTPsessionstosaveandrestoreconfigurationoptions.

ps_user_local

HostName

HostnameforswitchusedforFTE.

Cisco_FTE4

EnableSecret

PasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes.Thispassword,afterentered,becomesencryptedintheconfiguration.

Cisco_FTE1

EnablePassword

Passwordusedwhenyoudonotspecifyanenablesecretpassword,withsomeoldersoftwareversions,andsomebootimages.

FTE4

Accessingswitchconfigurationfiles

SwitchconfigurationfilesarepackagedwiththeFTEDriverandarecopiedtothefollowinglocationwhenyouruntheFTEDriverinstallationpackage.

C:\ProgramFiles\Honeywell\FTE_Driver\SwitchConfiguration

IfyouhavenotyetinstalledFTE,youmayaccessswitchconfigurationfilesfromtheExperionApplicationDVDatthefollowinglocation:

MediaDrive:\Packages\FTE_Driver\Switch_Configuration_Files

UsingtheCiscoCommandLineInterface(CLI)

Afterconnectingtotheswitch,youcantousetheswitch’scommandlineinterface(CLI)toconfiguretheswitchoptions.Iftheswitchdoesnotrespond,pressEnterandwaitfortheprompt(>)toappear.

Thefollowingtableliststheconventionsusedintheswitchconfigurationproceduresandexamples.

Table9-6Conventionsusedtoconveycommandsandinformation

Atanypointyoumayenteraquestionmark'?'forhelp.

Usectrl-ctoabortconfigurationdialogatanyprompt.

Defaultsettingsareinsquarebrackets'[]'.

Terminalsessionsandsystemdisplaysareshadedingrayandappearinascreenfont.

Cisco_FTE4#configt

Enterconfigurationcommands,oneperline.

EndwithCNTL/Z.

Cisco_FTE4(config)#intvlan1

Valuesthatareenteredbytheuserareinbold.

Enterhostname[Switch]:Cisco_FTE4

Argumentsforwhichtheusersuppliesthevaluesareinbolditalic.

Destinationfilename[config.text]?<ENTER>

Writingconfig.text!!!!

Nonprintingcharacters,suchaspasswordsorEnterkey,areinanglebrackets(<>).

Connectinglocallytotheswitch

UsethefollowingproceduretoconnecttotheswitchandstartHyperTerminal.

ATTENTION

Donotpoweruptheswitchuntilinstructedtodoso.

Step

Action

1

ConnecttheRS-232cabletotheSwitch’sCommPortandthecomputer’sserialport.

2

ClickStart>Programs>Accessories>Communications>HyperTerminal.

3

FromtheConnectionDescriptiondialogbox,typeanamethatdescribestheconnectionintheNameboxandthenclickOK.

4

IntheIconbox,clicktheappropriateicon,andthenclickOK.

5

FromtheConnectTodialogbox,selecttheserialportbeingusedbythecomputerinConnectUsingboxandthenclickOK.

6

FromtheConnectTodialog,selecttheserialportbeingusedbythecomputerandclickOK.

7

FromthePropertiespageconfigurethefollowingPortSettings:

Bitspersecond:9600

DataBits:8

Parity:NONE

Stopbits:1

Flowcontrol:Xon/Xoff

8

ClickOK.

9

Poweruptheswitchandgotothenextprocedure.

Configuringswitchinterfaceoptions

Usethefollowingproceduretoenabletheconfigurationdialogandbasicmanagementsetupintheswitch.Afterconfiguringtheswitchoptions,usetherestoftheproceduretosetuptheswitchIPaddress,enableSNMPtraps,andestablishtheSNMPROcommunityandtheNTPtimeservice.EstablishinganIPaddressallowsyoutouseTelnetandFTPsessionstosaveandrestoreconfigurationoptions.

Step

Action

TIP

Allvaluestobeenteredbytheuserappearinbold.PressENTERafterenteringeachvalue.

1

Whenthefollowingdisplayappears,typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Wouldyouliketoentertheinitialconfigurationdialog?[yes/no]:y

Atanypointyoumayenteraquestionmark'?'forhelp.

Usectrl-ctoabortconfigurationdialogatanyprompt.

Defaultsettingsareinsquarebrackets'[]'.

Basicmanagementsetupconfiguresonlyenoughconnectivity

formanagementofthesystem,extendedsetupwillaskyou

toconfigureeachinterfaceonthesystem

Wouldyouliketoenterbasicmanagementsetup?[yes/no]:y

Configuringglobalparameters:

2

Thehostnameisuniqueforeachswitch.Thefollowingareusedastheexamplesintheswitchdisplays:

Cisco_FTE4:examplehostname

Cisco_FTE1:exampleenablesecret

FTE4:examplevirtualterminalpassword

FTE4:exampleenablepassword

Enteryourownhostnameandpasswordwhenaskedtodoso.

3

Whenthefollowingdisplayappears,typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Enterhostname[Switch]:Cisco_FTE4

Theenablesecretisapasswordusedtoprotectaccessto

privilegedEXECandconfigurationmodes.Thispassword,after

entered,becomesencryptedintheconfiguration.

Enterenablesecret:Cisco_FTE1

Theenablepasswordisusedwhenyoudonotspecifyan

enablesecretpassword,withsomeoldersoftwareversions,and

somebootimages.

Enterenablepassword:FTE4

Thevirtualterminalpasswordisusedtoprotect

accesstotherouteroveranetworkinterface.

Entervirtualterminalpassword:FTE4

ConfigureSNMPNetworkManagement?[no]:N

4

Thefollowingisanabridgedexampleofwhatdisplaysaftertheconfiguration.

Pressthespacebartoadvancethedisplaywhenitpauses.

Currentinterfacesummary

AnyinterfacelistedwithOK?value"NO"doesnothaveavalidconfiguration

InterfaceIP-AddressOK?MethodStatusProtocol

Vlan1unassignedNOunsetupdown

FastEthernet0/1unassignedYESunsetdowndown

FastEthernet0/2unassignedYESunsetdowndown

FastEthernet0/3unassignedYESunsetdowndown

FastEthernet0/48unassignedYESunsetdowndown

GigabitEthernet0unassignedYESunsetdowndown

GigabitEthernet0/2unassignedYESunsetdowndown

5

Aftertheconfigurationdisplayiscomplete,theswitchdialogappears.

Typeallvaluesthatappearinbold.

Enterinterfacenameusedtoconnecttothe

managementnetworkfromtheaboveinterfacesummary:vlan1

ConfiguringinterfaceVlan1:

ConfigureIPonthisinterface?[yes/no]:N

Wouldyouliketoenableasaclustercommandswitch?[yes/no]:N

6

Thefollowingisanabridgedexampleofwhatdisplaysafterthevlan1configuration.

Pressthespacebartoadvancethedisplaywhenitpauses.

Thefollowingconfigurationcommandscriptwascreated:

hostnameCisco_FTE4

enablesecret5$1$qF.3$3AIkt0lNtdjMLAdknUnht.

enablepasswordFTE4

linevty015

passwordFTE4

nosnmp-server

!

!

interfaceVlan1

shutdown

noipaddress

!

interfaceFastEthernet0/1

noshutdown

noipaddress

!

interfaceFastEthernet0/2

!

interfaceFastEthernet0/3

!

interfaceFastEthernet0/4

interfaceFastEthernet0/48

!

interfaceGigabitEthernet0/1

!

interfaceGigabitEthernet0/2

!

end

7

Aftertheconfigurationdisplayiscomplete,thefollowingswitchdialogappears.

Type2andpressEntertosavetheswitchconfiguration.

[0]GototheIOScommandpromptwithoutsavingthisconfig.

[1]Returnbacktothesetupwithoutsavingthisconfig.

[2]Savethisconfigurationtonvramandexit.

Enteryourselection[2]:2

8

Thefollowingdisplayappears.Thisistheendoftheswitchconfigurationdialog.CompletetherestoftheproceduretosetupIPaddressing,SNMPtrapsandtheNTPtimeservicefortheswitch.

Buildingconfiguration...

[OK]

00:02:36:%LINK-5-CHANGED:InterfaceVlan1,changedstatetoadministrativelydown

00:02:37:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceVlan1,changedstatetodown

00:02:38:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/1,changedstatetodown

Usetheenabledmode'configure'commandtomodifythisconfiguration.

9

Usetheenablecommandandtheenablesecretyoupreviouslyestablished:

isusedinthefollowingexample.

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

PressRETURNtogetstarted!<ENTER>

Cisco_FTE4>enable

Password:Cisco_FTE1

10

IfVLAN101istobeused,initializeVLAN101byperformingtheseadditionalsteps:

Typevlan101

Typeexit

Typeexit

Otherwise,gotothenextstep.

11

ToenableTelnetandFTP,useoneofthefollowingcommands:

Toconfigurevlan1,typeintvlan1,or

Toconfigurevlan101,typeintvlan101:

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4#configt

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

Cisco_FTE4(config)#intvlan1

12

ThefollowingisusedfortheIPaddressandsubnetmaskinthefollowingswitchdisplays:

53

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config-if)#ipaddress53

Cisco_FTE4(config-if)#noshutdown

Cisco_FTE4(config-if)#exit

ATTENTION

OneofthenodesonthenetworkmustbesetupastheFTPserver.TheFTPserverrequiresausernameandapasswordthatareregisteredinthatmachinewithrightstoallowFTPaccess.YoucanthenarchiveandrestoreconfigurationsusingtelnetandtheFTPserver.

13

YouneedausernameandpasswordforyourFTPServer.Thefollowingareusedastheexamplesintheswitchdisplays:

ps_user-exampleusername

ps_userlocal–examplepassword

FTE4–examplevirtualterminalpassword

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config)#ipftpusernameps_user

Cisco_FTE4(config)#ipftppasswordps_userlocal

14

TheswitchgeneratesSNMPtrapswhentheswitchrebootsorhasalinkgouporgodown.TheswitchmusthaveatargetIPaddressfortheSNMPtraps,whichwillbetheIPaddressoftheserverthatisrunningtheEPKSSystem.SystemswithredundantserversneedtohavebothserverIPaddressesconfiguredintheswitchesforSNMP.Youshouldalsoestablishacommunitynamefortheswitch.

Thefollowingareusedastheexamplesintheswitchdisplays:

5-ExperionServerIPaddress

FTE-SwitchCommunityName

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config)#snmp-serverenabletrapssnmpwarmstartlinkdownlinkupcoldstart

Cisco_FTE4(config)#snmp-serverhost5FTEsnmp

15

Ifyoursystemhasredundantservers,repeatthe

#snmp-serverhost6FTEsnmp

commandusingtheredundantserverIPaddress(6–isusedasanexamplefortheredundantserverIPaddress).

16

ToenableSNMPreadsoftheswitchstatistics,type:

Snmp-servercommunitypublicRO

Note:PublicisthecommunitynamedefaultasconfiguredintheExperionSPS.ThisisnotasecurenameandshouldhavealreadybeenchangedusingtheSystemDefinitiontoolfromConfigurationStudio.

ATTENTION–NTPTimeServer

TheWindowsSNTPservicedoesnotprovidetheproperprotocolforNTPthattheswitchexpects.Forthisreason,youmustconfigureanNTPtimeserverinordertosynchronizetimewithotherswitchesandnetworknodes.ExamplesofNTPTimeServers:

Router

DedicatedNTPservernode

GPSbasedNTPserver

IftheNTPserverisoutsidetheFTEsubnet,youneedtoestablishadefaultgateway.

17

Thefollowingareusedasexamplesintheswitchdisplays:

-DefaultgatewayIPaddress

-NTPTimeServerIPaddress

IfthetimeserveriswithintheFTEsubnet,gotothenextstep.Otherwise,typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config)#ipdefault-gateway

18

ConfiguretheNTPtimeserver.

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config)#ntpserver

19

Ifyouarenotusingastackedswitchconfiguration,gotothenextstep.

Thefollowingareusedasexamplesintheswitchdisplays:

gig(2)/0/1–12–(2)istheleveloftheswitchinthestack

(vlan101)–vlan1isoptionalandshouldbethevlanusedifitisdifferentfrom101

Typeallvaluesthatappearinbold.Supplyyourownvaluesforthetextthatappearsinbolditalic.

Cisco_FTE4(config)#intrangegig(2)/0/1–12

Cisco_FTE4(config)#switchportaccess(vlan101)

Cisco_FTE4(config)#switchportmodeaccess

Cisco_FTE4(config)#sevice-policyinputcda-policy

Cisco_FTE4(config)#srr-queuebandwidthshare1234

20

Typeexit.

Typewrite.

Theswitchconfigurationiscomplete.

Cisco_FTE4(config)#exit

Cisco_FTE4#

00:06:03:%SYS-5-CONFIG_I:Configuredfromconsolebyconsole<ENTER>

21

Theswitchoptionconfigurationiscomplete.Youarenowreadytodownloadtheappropriateswitchconfigurationfile.

UsingVLAN101switchconfigurationfiles

IfyoursystemrequiresyoutodisableVLAN1intheswitches,youwillneedtousethealternateswitchconfigurationfilesthatareprecededwithV101_.Forexample,insteadofusing4u.text,youwouldusetheV101_4u.textfile.See

Table9-5

foralistofallswitchconfigurationfiles.ThefileswithinterfaceoptionsfortheVLAN1arereplicatedwitheachinterfaceattachedtoVLAN101.IfaVLANnumberotherthan101isneeded,useatexteditortomodifythecurrentV101fileandreplacealloccurrencesof101withthealternateVLANnumber.

Loadingtheappropriateswitchconfigurationfile

ThefollowingprocedureusesHyperterm’sXmodemfiletransferutilitytotransferthecorrectswitchconfigurationfilefromtheinstallationmediatotheswitch.Afterdownloadingtheswitchconfigurationfile,youwillwritetheconfigurationbacktotheswitchmemory.

PressEnteraftertypingeachvalue.

TIP

IfyouarenotfamiliarwithXmodem,readHyperterm’shelpandtryapracticetransferbeforeinitiatingthetransferintheswitch.Readsteps1through6inthefollowingprocedurebeforeyoubegin.

Step

Action

1

Review

Table9-5

todeterminethemostappropriateswitchconfigurationfileforyoursystem.

2

Initiatethetransferintheswitchusingthecopycommand.Typeallvaluesthatappearinbold.

Cisco_FTE4#copyxmodem:system:running-config

Destinationfilename[running-config]?<ENTER>

3

InitiatethetransferinHypertermandchoosetheappropriateswitchconfigurationfile:

FromtheHypertermmenubar,selectTransfer>SendFile.

SelectBrowseandnavigatetotheSwitchConfigurationfolderinthefollowinglocation:

C:\ProgramFiles\Honeywell\FTE_Driver\,or

MediaDrive:\Packages\FTE_Driver\Switch_Configuration_Files

SelectthecorrectswitchconfigurationfileforyourparticularsystemandclickOPEN.

SelectXmodemunderProtocol.

ClickSendtostartthefiletransfer.

4

Ifthereisanexistingfilewiththesamename,typeytooverwritethefile.

%Warning:Thereisafilealreadyexistingwiththisname

Doyouwanttooverwrite?[confirm]y

BegintheXmodemorXmodem-1Ktransfernow...

CCCCCCCCCC§§§

5

Ifthereisaproblemduringthetransfer,anerrormessagedisplaysbytheswitch.Ifthishappens,retypethefollowingcommandandpressENTER:

Cisco_FTE4#copyxmodem:system:running-config

6

Thefollowingdisplayswhenthetransferiscomplete.

16256bytescopiedin46.396secs(353bytes/sec)

7

Writethebasicswitchconfigurationfileandtheswitchconfigurationfileyoudownloadedbacktotheswitchmemorybytypingallvaluesthatappearinbold.

Cisco_FTE4#write

8

Displaythenewswitchconfigurationoptionstothescreenbytypingallvaluesthatappearinbold.

Cisco_FTE4#shorun

9

Thefollowingabridgedexampleoftheswitchdisplayusesoptionsbasedontheswitchconfigurationfileyoupreviouslyselected:

4uplinkports

4autospeedportsforFTEB

Remainingportsat100MB

Pressthespacebartoadvancethedisplaywhenitpauses.

Buildingconfiguration...

Currentconfiguration:15560bytes

!

version12.1

noservicepad

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

servicesequence-numbers

!

hostnameCisco_FTE4

!

enablesecret5$1$JIQ6$IJ3nKv2oS2zCJZihoHEKl/

enablepasswordCisco_FTE1

!

wrr-queuebandwidth1234

!

class-mapmatch-allcda_medium

matchaccess-group104

class-mapmatch-allcda_urgent

matchaccess-group102

class-mapmatch-allcda_high

matchaccess-group103

class-mapmatch-allcda_low

matchaccess-group105

!

!

policy-mapcda_policy

classcda_urgent

setipdscp56

classcda_high

setipdscp46

!

ipsubnet-zero

ipftpusernameps_user

ipftppasswordps_userlocal

noipigmpsnooping

!

spanning-treeextendsystem-id

!

!

interfaceFastEthernet0/1

noipaddress

duplexfull

speed100

service-policyinputcd

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论