You are on page 1of 7

Configuring the Cisco Switch with the CLI-Based Setup Program

Preparation on Configuring the Switch with the CLI-Based Setup Program


Preparation for Setup
Cisco 3560 switch
RJ-45-to-DB-9 adapter cable
AC power cord
Step1
Use the supplied RJ-45-to-DB-9 adapter cable to insert the RJ-45 connector into the
console port on the switch rear panel as shown in !i"ure D-#$
!i"ure D-# Connectin" a %witch to a &C
1
Step 2
Attach the DB-9 'e(ale D)* o' the adapter cable to a &C serial port or attach an
appropriate adapter to the ter(inal$
Step 3
+ait be'ore ,ou power on the switch$
Step 4
Be'ore ,ou power on the switch start the ter(inal e(ulation session to see the output
'ro( the power-on sel'-test -&.%)/$ )he ter(inal-e(ulation so'tware0're1uentl, a &C
application such as 2,perter(inal or &roco((&lus0(a3es co((unication between the
switch and ,our &C or ter(inal possible$
Step 5
Con'i"ure the baud rate and character 'or(at o' the &C or ter(inal to (atch these
console port de'ault characteristics4
5 9600 baud
5 6 data bits
5 7 stop bit
5 8o parit,
5 8one -'low control/
Step 6
Connect one end o' the supplied AC power cord to the power connector on a switch rear
panel$ %ee !i"ure D-#$
Step
Connect the other end o' the power cable to a "rounded AC outlet$
+hen the switch powers on it auto(aticall, be"ins the power-on sel' test -&.%)/ a
series o' tests that 9eri'ies that the switch 'unctions properl,$ +hen the switch be"ins
&.%) the s,ste( :*D slowl, blin3s "reen$ +hen &.%) co(pletes the s,ste( :*D
blin3s a(ber$ ;' &.%) 'ails the s,ste( :*D re(ains a(ber$ ;' &.%) co(pletes
success'ull, the s,ste( :*D rapidl, blin3s "reen$
&.%) 'ailures are usuall, 'atal$ Call Cisco technical support representati9e i' ,our switch
'ails &.%)$
;' ,ou started the ter(inal e(ulation pro"ra( be'ore ,ou powered on ,our switch the &C
or ter(inal displa,s the bootloader se1uence$ <ou need to press *nter to displa, the
setup pro"ra( pro(pt$
!ote
;' ,ou are connectin" the switch to a Cisco redundant power s,ste( -R&%/ see the
2
docu(entation that shipped with ,our R&%$
"ow to Configure the Cisco Switch with the CLI-Based Setup Program
Comp#eting the Setup Program $ Cisco 356% for e&amp#e'
)he setup pro"ra( runs auto(aticall, a'ter the Cisco switch powers on$ 2a9e this
in'or(ation4
5 %witch ;& address
5 %ubnet (as3 -;& net(as3/
5 De'ault "atewa, -router/
5 *nable secret password
5 *nable password
5 )elnet password
Step 1
*nter (es at these two pro(pts$
Would you like to enter the initial configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use ctrlc to a!ort configuration dialog at any prompt.
"efault settings are in square !rackets '[]'.
#asic management setup configures only enough connecti$ity for management of the
system% e&tended setup 'ill ask you to configure each interface on the system.
Would you like to enter !asic management setup? [yes/no]: yes
Step 2
*nter a host na(e 'or the switch and press )eturn$
.n a co((and switch the host na(e is li(ited to #6 characters= on a (e(ber switch to
37 characters$
Do not use -n where n is a nu(ber as the last character in a host na(e 'or an, switch$
(nter host name [)'itch]: host*name
Step 3
*nter an enable secret password and press )eturn$
)he password can be 'ro( 7 to #5 alphanu(eric characters can start with a nu(ber is
case sensiti9e allows spaces but i"nores leadin" spaces$ )he secret password is
encr,pted and the enable password is in plain te>t$
3
(nter ena!le secret: secret*pass'ord
Step 4
*nter an enable password and press )eturn$
(nter ena!le pass'ord: ena!le*pass'ord
Step 5
*nter a 9irtual ter(inal -)elnet/ password and press )eturn*
)he password can be 'ro( 7 to #5 alphanu(eric characters is case sensiti9e allows
spaces but i"nores leadin" spaces$
(nter $irtual terminal pass'ord: terminalpass'ord
Step 6
-.ptional/ Con'i"ure %i(ple 8etwor3 ?ana"e(ent &rotocol -%8?&/ b, respondin" to the
pro(pts$
<ou can also con'i"ure %8?& later throu"h the C:; C?% or 8etwor3 Assistant inter'ace$
)o con'i"ure
%8?& later enter no$
+onfigure ),-. ,et'ork -anagement? [no]: no
Step
*nter the inter'ace na(e -ph,sical inter'ace or @:A8 na(e/ o' the inter'ace that
connects to the (ana"e(ent networ3 and press )eturn$ !or this release alwa,s use
+#an1 as that inter'ace$
(nter interface name used to connect to the management net'ork from the a!o$e
interface summary: vlan1
Step ,
Con'i"ure the inter'ace b, enterin" the switch ;& address and subnet (as3 and pressin"
Return$ )he ;& address and subnet (as3s shown are e>a(ples$
+onfiguring interface $lan/:
+onfigure 0. on this interface? [yes]: yes
0. address for this interface: /1.2./31./14
)u!net mask for this interface [355.1.1.1]: 355.1.1.1
Step -
*nter ( to con'i"ure the switch as the cluster co((and switch$ *nter 8 to con'i"ure it as
a (e(ber switch or as a standalone switch$
4
;' ,ou enter ! the switch appears as a candidate switch in the C?% or 8etwor3
Assistant$ <ou can con'i"ure the switch as a co((and switch later throu"h the C:;
C?% or 8etwor3 Assistant inter'ace$ )o con'i"ure it later enter no$
Would you like to ena!le as a cluster command s'itch? [yes/no]: no
<ou ha9e now co(pleted the initial con'i"uration o' the switch and the switch displa,s its
initial con'i"uration$ )his is an e>a(ple o' output that appears4
6he follo'ing configuration command script 'as created:
hostname s'itch/
ena!le secret 5 7/7Ulq87"lA/9ia(!l:1Wc#.d:c9n/
ena!le pass'ord ena!le*pass'ord
line $ty 1 /5
pass'ord terminalpass'ord
no snmpser$er
;
no ip routing
;
interface <lan/
no shutdo'n
ip address /1.2./31./14 355.1.1.1
;
interface =ast(thernet//1//
;
interface =ast(thernet//1/3
interface =ast(thernet//1/>
;
...?output a!!re$iated@
;
interface Aiga!it(thernet3/1/38
;
end
Step 1%
)hese choices appear4
[1] Ao to the 09) command prompt 'ithout sa$ing this config.
[/] Beturn !ack to the setup 'ithout sa$ing this config.
[3] )a$e this configuration to n$ram and e&it.
0f you 'ant to sa$e the configuration and use it the ne&t time the s'itch re!oots% sa$e it
in ,<BA- !y selecting option 3.
5
(nter your selection [3]:3
?a3e ,our selection and press )eturn
A'ter ,ou co(plete the setup pro"ra( the switch can run the de'ault con'i"uration that
,ou created$ ;' ,ou want to chan"e this con'i"uration or want to per'or( other
(ana"e(ent tas3s use one o' these tools4
5 Co((and-line inter'ace -C:;/
5 C?% 'ro( ,our browser
5 8etwor3 Assistant 'ro( ,our browser
)o use the C:; enter co((ands at the )'itch@ pro(pt throu"h the console port b, usin"
a ter(inal e(ulation pro"ra( or throu"h the networ3 b, usin" )elnet$ !or con'i"uration
in'or(ation see the switch so'tware con'i"uration "uide or the switch co((and
re'erence$
)o use C?% see the C?% online help$ )o use 8etwor3 Assistant see the Aettin" %tarted
with Cisco 8etwor3 Assistant "uide$
!or installation procedures 'or (ountin" ,our switch connectin" to the switch ports or
connectin" to the s(all 'or(-'actor plu""able -%!&/ (odules$
;t is referred from: '''.cisco.com
.ore re#ated/
*>peri(ent on Basic Con'i"uration o' Cisco %witch
Cisco #960 Basic Con'i"uration B @:A8 Con'i"uration
2ow to reco9er password 'or Cisco #960 %witchC
Cisco Catal,st #960 %eries %witches ?odels Co(parison
Cisco 3560 switch password reco9er,
Cisco 3560 speed li(its on port
.ore Cisco products and )e+iews 0ou can +isit/ http://www.3anetwork.com/blog

3Anetwor3$co( is a world leadin" Cisco networ3in" products wholesaler we wholesale
ori"inal new Cisco networ3in" e1uip(ents includin" Cisco Catal,st switches Cisco
routers Cisco 'irewalls Cisco wireless products Cisco (odules and inter'ace cards
products at co(petiti9e price and ship to worldwide$
.ur website4 http4DDwww$3anetwor3$co(
6
)elephone4 E65#-3069-FF33
*(ail4 in'oG3Anetwor3$co(
Address4 #3D! :uc3, &laHa 375-3#7 :oc3hart Road +anchai 2on"3on"
7

You might also like