You are on page 1of 3

C is c o | P r o file | C o n ta c ts & F e e d b a c k | H e lp

Cis c o S M B S up p ort As s is ta nt

Configure Inter VLAN Routing on Cisco Catalyst Switches

H om e > W ork W ith M y S w itc h es > Cis c o Ca ta l y s t S w itc h es > C o n fig u r e In te r V L A N R o u tin g o n C is c o C a ta ly s t S w itc h e s

S e r v ic e R e q u e s t s
Configure Inter VLAN Routing on Cisco Catalyst Switches
O p en a s erv ic e req ues t
U p d a te a s erv ic e req ues t
Download PDF
Introd uc tion
Configure Inter VLAN Routing Fe e db ac k
Req uirem ents
Inter VLAN Routing O v erv iew on Cis c o Ca ta l y s t S w itc h es
Connec t to th e S w itc h P le a s e r a te th is s ite :
Configure Inter VLAN Routing on th e S w itc h + + + + /- - --
Verify y our c onfigura tion
Nex t S tep S u g g e s tio n s fo r im p r o v e m e n t:
T roub l es h oot th e P roc ed ure
Rel a ted Inform a tion

I nt r odu c t i on
T h is d oc um ent p rov id es ins truc tions on h ow to c onfigure Inter VLAN routing on y our Cis c o Ca ta l y s t S w itc h es . T h is p roc ed ure
If C is c o m a y c o n ta c t y o u fo r m o r e d e ta ils
a p p l ies to Cis c o Ca ta l y s t 3 5 5 0 , 3 5 6 0 , 3 7 5 0 a nd 4 5 0 0 s eries s w itc h es w h ic h runs Cis c o IO S s oftw a re. o r fo r fu tu r e fe e d b a c k o p p o r tu n itie s ,
p le a s e e n te r y o u r c o n ta c t in fo r m a tio n :

B a c k to T op
F u ll N a m e :
E m a il:
R e q u i r e m e nt s
T o p erform th e s tep s d es c rib ed in th is d oc um ent, y ou need th es e item s :

Com p l ete th e initia l c onfigura tion of th e s w itc h a s ins truc ted in, Configure a Ca ta l y s t S w itc h w ith Cis c o Netw ork As s is ta nt.

A c ons ol e c a b l e. Refer to, Ca b l e D es c rip tions for m ore inform a tion a b out c a b l es .

T erm ina l em ul a tion s oftw a re s uc h a s H y p erT erm ina l .

A s w itc h th a t runs Cis c o IO S S oftw a re Rel ea s e 1 2 .1 ( 1 1 ) E A1 or l a ter for S M I im a ges or a ny E M I im a ge.

Com p l ete th e S w itc h P ort As s ignm ent W ork s h eets a s ins truc ted in th e S ite S urv ey .

B a c k to T op

I nt e r V L A N R ou t i ng O v e r v i e w
VLANs a re us ed to s ep a ra te a s w itc h ed netw ork into d ifferent b roa d c a s t d om a ins , w h ere ea c h VLAN is a s ep a ra te b roa d c a s t
d om a in. D ev ic es in ea c h VLAN c a n c om m unic a te w ith oth er d ev ic es of th e s a m e VLAN. F or c om m unic a ting w ith d ev ic es of
oth er VLANs routing is req uired to b e d one b etw een th e VLANs , a nd th is is k now n a s inter VLAN routing. F or s w itc h es th a td o
not s up p ort th e routing fea ture ( e.g. Ca ta l y s t 2 9 5 0 ) a s ep a ra te router, c onnec ted to th e s w itc h , is req uired to d o routing b etw een
th e VLANs . Ca ta l y s t 3 5 5 0 , 3 5 6 0 , 3 7 5 0 a nd 4 5 0 0 s eries s w itc h es s up p ort inter VLAN routing.

T h is d oc um ent a s s um es th a t a l l th e d ev ic es a re d irec tl y c onnec ted to th e s w itc h on w h ic h inter VLAN routing need s to b e


c onfigured . T h is s w itc h , th en c onnec ts to a router th a t is us ed to route th e tra ffic d es tined to th e outs id e netw ork or to th e
Internet. T h is c onnec tion is d one v ia interfa c e F a s tE th ernet 0 / 1 on th e s w itc h . H ow ev er, if y ou h a v e d ev ic es th a t c onnec t to a
s ep a ra te s w itc h th a t c onnec ts to th e s w itc h on w h ic h inter VLAN routing is to b e c onfigured , m a k e s ure th e l ink b etw een th es e
tw o s w itc h es is a trunk . T h e d efa ul t ga tew a y for d ev ic es c onnec ted to th e s w itc h is th e VLAN interfa c e ip a d d res s of th e
res p ec tiv e VLAN to w h ic h th e d ev ic e b el ongs .

N ot e : T o res tric t c erta in VLANs from p a rtic ip a ting in inter VLAN routing, y ou need to us e ACLs to d eny c om m unic a tion b etw een
th em . Refer to, ACL c onfigura tion on Ca ta l y s t s w itc h es us ing CLI.

B a c k to T op

C onne c t t o t h e S wi t c h
F ol l ow th es e s tep s to c onnec t y our P C to th e s w itc h for c onfigura tion:

1 . Connec t a P C to th e s w itc h w ith a c ons ol e c a b l e.

2 . Crea te a H y p erT erm ina l c onnec tion to y our s w itc h . Refer to, Crea te a H y p erT erm ina l Connec tion for m ore inform a tion.

3 . Log into th e s w itc h w ith th e l ogin a nd p a s s w ord th a t y ou entered in fiel d s B 1 0 a nd B 1 1 of th e S w itc h W ork s h eet.

4 . T y p e e nab le a nd p res s E nt e r to a c c es s th e p riv il eged m od e. T y p e th e ena b l e p a s s w ord th a t y ou entered in fiel d S 5 of


th e S w itc h P ort As s ignm ent W ork s h eet.

B a c k to T op

C onf i g u r e I nt e r V L A N R ou t i ng on t h e S wi t c h
F ol l ow th es e s tep s to c onfigure s w itc h for inter VLAN routing:

1 . E nter th e gl ob a l c onfigura tion m od e.

1 of 3
a . Crea te th e VLANs , if th ey a re not a l rea d y c rea ted . U s e th e v lan c om m a nd fol l ow ed b y v l a n id .

b . E nter th e e x i t c om m a nd to c om e b a c k to gl ob a l c onfigura tion m od e.

c . T o c onfigure th e v l a n, enter th e i nt e r f ac e v lan c om m a nd fol l ow ed b y th e v l a n id of th e v l a n j us t c rea ted .

d . As s ign a n ip a d d res s to th is VLAN, w h ic h a c ts a s d efa ul t ga tew a y a d d res s to th e d ev ic es in th is VLAN, us ing th e


i p addr e s s c om m a nd fol l ow ed b y a n ip a d d res s a nd s ub net m a s k .

e. E nter th e no s h u t down c om m a nd to b ring up th e interfa c e.

N ot e : Rep ea t th is s tep to c onfigure oth er VLANs on y our s w itc h , if not a l rea d y c onfigured .

2 . T o a s s ign th e interfa c es to th e res p ec tiv e VLAN, if not a l rea d y a s s igned , us e th e i nt e r f ac e c om m a nd fol l ow ed b y th e


interfa c e na m e a nd m od ul e num b er/ p ort num b er in interfa c e c onfigura tion m od e.

a . E nter th e s wi t c h p or t c om m a nd to m a k e th is interfa c e a La y er 2 interfa c e.

b . E nter th e s wi t c h p or t ac c e s s v lan c om m a nd fol l ow ed b y th e res p ec tiv e v l a n ID to w h ic h th e p ort b el ongs .

c . E nter th e no s h u t down c om m a nd to b ring up th e interfa c e.

d . E nter th e e x i t c om m a nd to c om e out of th e c onfigura tion m od e.

N ot e : Rep ea t th is s tep to a s s ign oth er s w itc h interfa c es to th eir res p ec tiv e VLANs , if not a l rea d y a s s igned .

3 . E nter th e i p r ou t i ng c om m a nd to ena b l e th e routing fea ture gl ob a l l y on th e s w itc h .

N ot e : If th e s w itc h d oes not ta k e th is c om m a nd , Cis c o IO S d oes not s up p ort th is fea ture. U p gra d e Cis c o IO S S oftw a re
Rel ea s e 1 2 .1 ( 1 1 ) E A1 or l a ter for S M I im a ges or to a n E M I im a ge a nd rep ea t th is s tep .

4 . G et into th e interfa c e th a t c onnec ts to th e up s trea m router us ing th e i nt e r f ac e c om m a nd fol l ow ed b y interfa c e na m e, a nd


th en enter th e no s wi t c h p or t c om m a nd to m a k e th is interfa c e La y er 3 c a p a b l e.

5 . As s ign a n a p p rop ria te ip a d d res s to th is interfa c e us ing th e i p addr e s s c om m a nd fol l ow ed b y a n ip a d d res s a nd s ub net
m a s k , a nd enter th e no s h u t down c om m a nd to b ring up th e interfa c e.

6 . Configure a d efa ul t route on th e s w itc h to th e up s trea m router for th e tra ffic to th e outs id e netw ork or th e Internet us ing
th e i p r ou t e c om m a nd a nd th e ip a d d res s of th e up s trea m router a t th e end .

7 . E nter th e e nd c om m a nd to c om e out of th e c onfigura tion m od e. E nter th e c op y r u nni ng - c onf i g s t ar t u p - c onf i g


c om m a nd to s a v e th e c onfigura tion to NVRAM .

B a c k to T op

V e r i f y y ou r c onf i g u r at i on
E nter th e s h ow i p r ou t e c om m a nd in th e p riv il ege ex ec m od e a nd a na l y z e th e outp ut. T h e outp ut m us t c onta in one s ta tic d efa ul t
route to th e up s trea m router a nd one entry for ea c h VLAN c onfigured on th e s w itc h .

B a c k to T op

N e x t S te p
Y ou h a v e c om p l eted Configuring Inter VLAN routing on y our Cis c o Ca ta l y s t S w itc h .

Refer to th e S w itc h S up p ort P a ge to m a k e furth er c h a nges to y our s w itc h .

Refer to th e Configura tion O v erv iew P a ge to c onfigure oth er d ev ic es in y our netw ork .

2 of 3
B a c k to T op

T r ou b le s h oot t h e Pr oc e du r e
T h is s ec tion p rov id es inform a tion a b out c om m on p rob l em s th a t y ou m a y enc ounter. If th is inform a tion d oes not s ol v e y our
p rob l em , c onta c t th e S M B T ec h nic a l As s is ta nc e Center ( S M B T AC) for a s s is ta nc e.

P rob l em Ca us e( s ) a nd S ugges ted S ol ution( s )

T h e s w itc h b oots a nd d is p l a y s s ev era l error m es s a ges b ut P res s E nt e r to c l ea r th e outp ut a nd d is p l a y th e


d oes not d is p l a y a p rom p t in H y p erT erm ina l . s w itc h p rom p t.

Conta c t th e S M B T ec h nic a l As s is ta nc e Center


( S M B T AC) for furth er a s s is ta nc e.

B a c k to T op

R e lat e d I nf or m at i on

S ite S urv ey
Ca b l e D es c rip tions
Crea te a H y p erT erm ina l Connec tion
Configure a Ca ta l y s t S w itc h w ith Cis c o Netw ork As s is ta nt

© 1 9 9 2 - 2 0 0 6 Cis c o S y s tem s , Inc . Al l righ ts res erv ed . T erm s a nd Cond itions , P riv a c y S ta tem ent, Cook ie P ol ic y a nd T ra d em a rk s of Cis c o S y s tem s , Inc .

3 of 3

You might also like