You are on page 1of 9

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n

Page 1 o f 9

Route-M a p s f or I P Routi n g P r otoc ol Red i s tr i b uti on C on f i g ur a ti on


Contents
Introduction P re re q uis ite s R e q u ir e m e n ts C o m p o n e n ts U s e d C o n v e n tio n s B a ck g round Inf orm a tion W h a t a r e R o u t e -M a p s ? R o u t e -M a p B a s i c s C om m a nds U s e d in R oute -M a C o n f ig u r e U n s u p p o r te d m T w o -P r o t o c o l N a t u r e o f R o C o m m a n d S u p p o r t T a b le s S um m a ry N e tP ro D is cus s ion F orum s - F R e l a te d Inf orm a tion

TAC Notice: What's C han g i n g o n T A C We b

H el p u s h el p y ou .
Please rate this d o c u m en t. Excellent G o o d A v er a g e F a ir P o o r T his d o c u m en t so lv ed p ro b lem . Y es N o J u s t b r o w s i ng S u g g estio n s f o r im p ro v em en t: m y

p s A p p l ie d to R e dis trib ution a t c h a n d s e t C o m m a n d s i n R o u t e -M a p s u t e -M a p R e d i s t r i b u t i o n e a ture d C onv e rs a tions

I ntr od u c ti on
T h a r d o c o T h m a u p r e d w h is d e a p c u m n fig o c u m p lie d e n t a u r a t io e n w i ls o n t d e s c r i b e s c o m m a n d s t h a t y o u c a n u s e t o c o n f i g u r e r o u t e -m a p s t h a t t h t h e re dis trib ute c o m m a n d o f d y n a m i c r o u t i n g p r o t o c o l s . T h i s i n c l u d e s t i p s o n r o u t e -m a p f u n c t i o n s a n d a d v i c e o n w h e n r o u t e -m a p is m o s t b e n e f ic ia l. p f u n t ta s ic a t io b e tw f ig u r c t io n k s , f o n .O n e e n d e th is is a g e r e x a m e o f th y n a m ic ty p e o n e r ic m p le , p o e m o s t r o u t in f r e d is li c g tr e c h a n is m c y -b a s e d o m m o n p r o to c o ib u t io n . o f r o u u s e ls .T C is c t in g s o f h is o IO (P B r o u d o c S s R ) a t e -m u m e o f n d a p n t tw a r e c o n f B o r d e r G a s is to a p p e x a m in e s ig te ly th u r a tio w a y P th e m e p o s n .Y o r o to c to r o s ib ilit

( 2 5 6 ch a r a cter li m i t)

Send

e r o u te n y d iff d a te m is t r ib u e n y o u

-m a e r e n o d if te d c o n

u c a o l (B u te s ie s o

n a G P th f r

p p ) n a t o u

ly e i a r te

it to g h b o r e -m a p s ,

P r er eq u i si tes
Requirements
T h e r e a r e n o s p e c if ic r e q u ir e m e n t s f o r t h is d o c u m e n t.

C o mp o nents U sed
T h e i n f o r m a t i o n i n t h i s d o c u m e n t i s b a s e d o n t h e m a i n l i n e C i s c o I O S S o f t w a r e R e l e a s e 1 2 .3 . T h e in f o r m a tio n in t h is d o c u m e n t w a s c r e a t e d f r o m t h e d e v ic e s in a s p e c if ic la b e n v ir o n m e n t.A ll o f th e d e v ic e s u s e d in t h is d o c u m e n t s t a r te d w it h a c le a r e d (d e f a u lt) c o n f ig u r a tio n .If y o u r n e t w o r k is liv e , m a k e s u r e th a t y o u u n d e r s t a n d th e p o t e n tia l im p a c t o f a n y c o m m a n d .

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n C o nv entio ns
F o r m o r e in f o r m a tio n o n d o c u m e n t c o n v e n t io n s , r e f e r to th e C is c o T e c h n ic a l T ip s C o n v e n tio n s .

Page 2 o f 9

B a c k g r ou nd I nf or m a ti on
T h is s e c t io n p r o v id e s a n o v e r v ie w o f r o u t e -m a p s i n C i s c o I O S s o f t w a r e .

W h a t a re Ro ute-M a p s?
R o u t e -m a p s h a v e m a n y f e a t u r e s i n c o m m o n w i t h w i d e l y k n o w n a c c e s s c o n t r o l l i s t s ( A C L s ) . T h e s e a r e s o m e o f th e t r a it s c o m m o n t o b o t h m e c h a n is m s : T h A C e a a c e y L c h t io a r e a n o r d o r r o u t e -m s ta te m e n t n a s s o c ia t e e r a p th d e d s s c o a t m w ith e q u e n s is t a tc h th e n c e o f s o f a e s .A l s ta te m in d lis t is t s e n t iv id s c a n c a n m a u a l , in is a tc h s t a b is a t p o r p e m e n t r e d e te te d o n e r f o r m s , e r m c e e d a c h h a s a p e r m it o r d e n y r e s u lt .E v a lu a t io n o f in e d o r d e r , a n d a n e v a lu a t io n o f th e c r it e r ia o f t h e f ir s t s t a t e m e n t m a tc h is f o u n d a n d a n .

T h e y a r e g e n e r i c m e c h a n i s m s c r i t e r i a m a t c h e s a n d m a t c h i n t e r p r e t a t i o n a r e d i c t a t e d b y t h e w a y t h e y a r e a p p l i e d . T h e s a m e r o u t e -m a p a p p l i e d t o d i f f e r e n t t a s k s m i g h t b e i n t e r p r e t e d d i f f e r e n t l y . T h e s e a r e s o m e o f t h e d i f f e r e n c e s b e t w e e n r o u t e -m a p s a n d A C L s : R o u t e -m a p s f r e q u e n t l y u s e A C L s a s m a t c h i n g c r i t e r i a . e m a in r e s n ie s in p u t L s p e r m it ly p e r m it ( r e d is t r ib u t m o d ific a tio n T h d e A C o n is u lt f r o d a t a .A s ta te m s o m e ) e d in to e x a m p m th e e v a p p lie d to e n t) o r c a r e d is tr ib u a n o th e r le s . lu a tio n o f a n a c c e s s r e d is t r ib u tio n , a n A n n o t (m a tc h e s d e n te d r o u te s b u t a ls o p r o t o c o l.S e e t h e R o lis t is a C L d e te y s ta te m m o d if y u t e -M a p y e s o r m in e e n t) b in f o r m B a s ic r n o a n s s if a p a e r e d is t a tio n a s s e c tio w e r ti r ib s s o n o r a n A C L c u la r r o u te u t e d .T y p ic c ia t e d w it h f th is d o c u e it h e c a n a l r o th e m e n p e r m o u te t e -m o u te t f o r r r (r u r its o r m a tc h a p s n o , w h e n o u t e -m t e s it a p

R o u t e -m a p s a r e m o r e f l e x i b l e t h a n A C L s a n d c a n v e r i f y r o u t e s b a s e d o n c r i t e r i a w h i c h A C L s c a n n o t v e r i f y . F o r e x a m p l e , a r o u t e -m a p c a n v e r i f y i f t h e t y p e o f r o u t e i s i n t e r n a l o r i f i t h a s a s p e c i f i c t a g . E a r o s p th r e c h A C L e n d u t e -m a p s . I e c if ic a p p li e s a m e w a y d is t r ib u t io n s w f th c a t a s is ith e e io n A C d e a n im p n d o f a o f th e r L s : if th n ie d , a s lic it d e r o u t e -m o u t e -m e r o u te if th e r n y a a p d o u s ta p is .F o o e s t e -m te m e n t, b y d e s ig r e a c h e d d u r in g r tu n a te ly , r o u te n o t m a tc h a n y c a p c o n ta in e d d a n d y o u y r o u o v id e o r e c u s e o n f ig n m -m la e n c o n a tc h a p s u s e y s t v e n t io in g a t th a t a in a r o a te m e n ; te m r e u t n t th e r e i p ts , t a p p lie e -m a p a t th e s n o s im h e r e s u d to r e d th e n th e n d . ila r lt d e is t r e r o c o n v e n t io n f o r p e n d s o n th e ib u t io n b e h a v e u te

T h e d y n a m ic p r o to c o T h e d if fe r e n c e s d e s c r R o u t e -m a p s a r e p r e f e m o r e p o w e r f u l m a tc h p e r m it s o m e r o u t e s b p r e fix lis t) d ir e c tly in b a s e d o n th e ir p r e f ix

l re dis trib ute c o n f i g u r a t i o n c o m m ib e d in th is s e c tio n id e n tif y w h e n r r e d if y o u in t e n d to e ith e r m o d if in g c a p a b ilit y t h a n a n A C L c a n p r a s e d o n t h e ir p r e f ix o r m a s k , C is c t h e re dis trib ute c o m m a n d . I f y o u o r m a s k , y o u ty p ic a lly u s e m o r e c

a llo w s y o u s h o u ld u s e te in f o r m a .C o n v e r s e o m m e n d s a r o u t e -m a u r a tio n c o

to a p p ly e it h e r a a r o u t e -m a p d u r tio n d u r in g r e d is ly , if y o u s im p ly th a t y o u u s e a n A p to s e le c tiv e ly p m m a n d s to a c h ie

n A C L o r a r o u t e -m a p . in g r e d is t r ib u tio n . tr ib u tio n o r if y o u n e e d n e e d to s e le c tiv e ly C L (o r e q u iv a le n t e r m it s o m e r o u te s v e th e s a m e g o a l.

Ro ute-M a p B a sic s
T h i s i s a t y p i c a l O p e n S h o r t e s t P a t h F i r s t t o E n h a n c e d I n t e r i o r G a t e w a y R o u t i n g P r o t o c o l ( O S P F -t o -E I G R P ) r o u t e -m a p , a p p l i e d i n a re dis trib ute c o m m a n d :
! r o u t e r e i g r p 1 r e d i s t r i b u t e o s p f 1 r o u t e -m a p d e f a u l t -m e t r i c 20 0 0 0 20 0 0 25 5

o s p f -t o -e i g r p 1 1 5 0 0

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n
!--- O u t p u t ! r o u m a m a ! r o u m a s e ! r o u s e ! s u p p r e s s e d .

Page 3 o f 9

t e -m a p o s p f -t o -e i g r p d e n y 1 0 t c h t a g 6 t c h r o u t e -t y p e e x t e r n a l t y p e -2 t e -m a p o s p f -t o -e i g r p p e r m i t 20 t c h i p a d d r e s s p r e f i x -l i s t p f x t m e t r i c 4 0 0 0 0 1 0 0 0 25 5 1 1 5 0 0 t e -m a p o s p f -t o -e i g r p t t a g 8 p e r m i t 3 0

T h e r e a r e s e v e r a l p o in ts to n o te fr o m

t h is e x a m p le :

R o u t e -m a p c l a u s e s a r e n u m b e r e d . I n t h i s e x a m p l e , c l a u s e s h a v e s e q u e n c e n u m b e r s 1 0 , 2 0 , a n d 3 0 . S e q u e n c e n u m b e r s a llo w y o u to d o th e s e a c tio n s : E a s i l y d e l e t e o n e s p e c i f i c c l a u s e b u t n o t a f f e c t o t h e r p a r t s o f t h e r o u t e -m a p . In s e r t a n e w c la u s e b e t w e e n tw o e x is t in g c la u s e s .

C is c o r e c o m m e n d s th a t y o u n u m b e r c la u s e s in in t e r v a ls o f 1 0 , to r e s e r v e n u m b e r in g s p a c e in c a s e y o u n e e d t o in s e r t c la u s e s in t h e f u t u r e . R o u t e -m a p s c a n h a v e p e rm it a n d de ny c l a u s e s . I n route -m a p os p f -to-e ig rp , t h e r e i s o n e d e n y c l a u s e (w ith s e q u e n c e n u m b e r 1 0 ) a n d tw o p e r m it c la u s e s .T h e d e n y c la u s e r e je c ts r o u te m a tc h e s f r o m r e d is t r ib u t io n .T h e r e f o r e , th e s e r u le s a p p ly : I f y o u u s e a n A C L i n a r o u t e -m a p p e r m i t c l a u s e , r o u t e s t h a t a r e p e r m i t t e d b y t h e A C L a r e r e d is t r ib u t e d . I f y o u u s e a n A C L i n a r o u t e -m a p d e n y c l a u s e , r o u t e s t h a t a r e p e r m i t t e d b y t h e A C L a r e n o t r e d is t r ib u t e d . I f y o u u s e a n A C L i n a r o u t e -m a p p e r m i t o r d e n y c l a u s e , a n d t h e A C L d e n i e s a r o u t e , t h e n t h e r o u t e -m a p c l a u s e m a t c h i s n o t f o u n d a n d t h e n e x t r o u t e -m a p c l a u s e i s e v a l u a t e d . E a c h r o u t e -m a p c l a u s e h a s t w o t y p e s o f c o m m a n d s : m a tch S e l e c t s r o u t e s t o w h i c h t h i s c l a u s e s h o u l d b e a p p l i e d . s e tM o d i f i e s i n f o r m a t i o n w h i c h w i l l b e r e d i s t r i b u t e d i n t o t h e t a r g e t p r o t o c o l . F o th th c r th fo r e a c h r o u te th a e r o u t e -m a p . I f t e p e r m it o r d e n y it e r ia f a ils , t h e n e r o u te a g a in s t t u n d w h o s e m a tc t i h e c th h e h s b e in m a tc la u s e , is c la u n e x t c o m m g r h c a n s e c la a n e d is tr ib u r it e r ia s u d s o m e o is n o t a p u s e in t h d (s ) m a tc te d , th c c e e d f its a p lic a b e r o u t h th e e r o u t e r f ir s t e v a s , th e n th e r o u te ttr ib u te s m ig h t b le to th e r o u te , a e -m a p . S c a n o f t h r o u te o r u n til th e lu a te s th e is r e d is tr ib e m o d ifie d n d C is c o IO e r o u t e -m a e n d o f th e m a u te b y S s p c r o tc h c o m d o r r e j s e tc o m o ftw a r e o n tin u e u t e -m a p m e c m p s a n d o f te d a s a n d s . r o c e e d u n t il a is r e a c h a c la u s e i d ic ta te d b If th e m a t s to e v a lu c la u s e is e d . n y c h

a te

A m a tch o r s e t c o m m a n d i n e a c h c l a u s e c a n b e m i s s e d o r r e p e a t e d s e v e r a l t i m e s , i f o n e o f t h e s e c o n d it io n s e x is t: I f s e v e r a l m a tch c o m m a n d s a r e p r e s e n t i n a c l a u s e , a l l m u s t s u c c e e d f o r a g i v e n r o u t e i n o r d e r f o r th a t r o u te to m a t c h t h e c la u s e (in o t h e r w o r d s , th e lo g ic a l A N D a lg o r it h m is a p p lie d f o r m u lt ip le m a tc h c o m m a n d s ).

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n

Page 4 o f 9

I f a m a tch c o m m a n d r e f e r s t o s e v e r a l o b j e c t s i n o n e c o m m a n d , e i t h e r o f t h e m s h o u l d m a t c h ( t h e l o g i c a l O R a l g o r i t h m i s a p p l i e d ) . F o r e x a m p l e , i n t h e m a tch ip a ddre s s 10 1 12 1 c o m m a n d , a r o u t e is p e r m itt e d if it is p e r m itt e d b y a c c e s s lis t 1 0 1 o r a c c e s s lis t 1 2 1 . I f a m a tch c o m m a n d i s n o t p r e s e n t , a l l r o u t e s m a t c h t h e c l a u s e . I n t h e p r e v i o u s e x a m p l e , a l l r o u t e s t h a t r e a c h c l a u s e 3 0 m a t c h ; t h e r e f o r e , t h e e n d o f t h e r o u t e -m a p i s n e v e r r e a c h e d . I f a s e t c o m m a n d i s n o t p r e s e n t i n a r o u t e -m a p p e r m i t c l a u s e t h e n t h e r o u t e i s r e d i s t r i b u t e d w it h o u t m o d if ic a tio n o f it s c u r r e n t a t tr ib u t e s . D o n o t c o n f i g u r e a s e t c o m m a n d i n a d e n y r o u t e -m a p c l a u s e b e c a u s e t h e d e n y c l a u s e p r o h i b i t s r o u t e r e d i s t r i b u t i o n t h e r e i s n o i n f o r m a t i o n t o m o d i f y . A r o u r e d is r e d is m a tc t e -m t r ib u t r ib u h is f a p t io t io o u c la n o n o n d ) u s e w i t h o u t a m a tch o r s e t c o m m a n d p e r f o r m s a n a c t i o n . A n e m p t y p e r m i t c l a u s e a l l o w s a f th e r e m a in in g r o u t e s w ith o u t m o d if ic a t io n .A n e m p t y d e n y c la u s e d o e s n o t a llo w s a f o t h e r r o u t e s ( t h i s i s t h e d e f a u l t a c t i o n i f a r o u t e -m a p i s c o m p l e t e l y s c a n n e d b u t n o e x p l i c i t .

B a s e d o n t h e i n f o r m a t i o n i n t h i s s e c t i o n , t h e p r e v i o u s O S P F -t o -E I G R P r o u t e -m a p e x a m p l e d o e s t h i s : P r o h i b i t s t h e r e d i s t r i b u t i o n o f a l l T y p e -2 e x t e r n a l O S P F r o u t e s w i t h t a g 6 s e t . R e d i s t r i b u t e s i n t o E I G R P a l l r o u t e s w h i c h m a t c h t h e p f x p r e f i x l i s t , w i t h f i v e m e t r i c v a l u e s 4 0 0 0 0 , 1 0 0 0 , 2 5 5 , 1 , a n d 1 5 0 0 . R e d is t r ib u te s a ll o t h e r r o u t e s a n d s e t s t h e ir t a g s t o 8 (th e d e f a u lt ).

Com m a nd s U sed i n R ou te-M a p s A p p l i ed to R ed i str i b u ti on


T h is s e c t io n c o n ta in s t h e s e t o p ic s : C o n f i g u r e U n s u p p o r t e d m a tch a n d s e t C o m m a n d s i n R o u t e -M a p s T w o -P r o t o c o l N a t u r e o f R o u t e -M a p R e d i s t r i b u t i o n C o m m a n d S u p p o r t T a b le s

C o nf ig ure U nsup p o rted ma tc h a nd set C o mma nd s in Ro ute-M a p s


R o d e fo y o u te s c r r P B u w -m ib R o a p e d to u ld s re s p n a r e g e n e r i dis trib ute e c ify th a t o t u s e th e c m c o a m e c h m m s p e c a tch a n d p is c o m u te e n a t o f a p r u n n p r e a n a n ia l le is m d . a c ng s F o t io th w r e n c o h ic h x a m is p m m y o u p le , e r fo r a n d c a n y o u m e d in r o u s e c a n w h u te in c o e n -m m a n f ig p a c a p s n y u r k e a p c o n e th ts o p lie fig e m f a d t u r a t io n s , i a tch l e ng s p e c if ic le o r e d is t r ib n c th n g u t lu c th io d in g t h e p r e v io u s ly o m m a n d i n a r o u t e -m a p a r e f o r w a r d e d .H o w e v e r , n . h a v e e ff e c t) in a f th is s it u a t io n tio n , a r o u te dis trib ute a n d s w h ic h n d m e n tio n e d in t h e r o u t e -m a p , e d , h o w e v e r ,

Y o u c a n c o n f i g u r e m a tch c o n t e x t w h e r e a r o u t e -m a c a n b e t h e m a tch l e ng th m a p is a p p lie d t o e a c h r o c o m m a n d .T h e r e fo r e , w h m a k e s e n s e in th e c o n te x t h e r e d i s t r i b u t i o n r o u t e -m a n d it c a n b e s e e n in th e w h e th e r th is c o m m a n d is

s e t c o m m a n d s i n a r o u t e -m a p t h a a p p lie d (o r in te n d e d to b e a p p lie d m a n d u s e d i n a r o u t e -m a p a p p l i e d in s t a lle d in to th e r o u t in g t a b le , b y r o u t e r e x e c u t e s a r o u t e -m a p , t h e r r o u t e -m a p a p p l i c a t i o n . I n t h i s e x a m h a s n o a f f e c t o n r e d is t r ib u tio n .It r in g c o n f ig u r a tio n o f t h e r o u t e r .R o s e n t i n t h e r o u t e -m a p o r n o t .

t a r e n o t s u p p o r te d (o r d o n o t a t a la t e r s t a g e ).A n e x a m p le o t o r e d is tr ib u t io n .In r e d is tr ib u t h e p r o t o c o l s p e c i f i e d i n t h e re o u te r in te r p r e ts o n ly th e c o m m p l e , t h e m a tch l e ng th c o m m a e m a in s in th e c o n f ig u r a tio n o f u te r e d is tr ib u t io n is n o t a f f e c t

I n c o n c l u s i o n , t h e r o u t e r a l l o w s t h e c o n f i g u r a t i o n o f a l l k i n d s o f m a tch a n d s e t c o m m a n d s , b u t t h e y s h o u l d b e a p p lie d lo g ic a lly t o th e s it u a tio n .O t h e r w is e , th e c o n f ig u r a t io n m ig h t b e v e r y c o n f u s in g o r m ig h t p e r f o r m in c o r r e c t t a s k s .

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n
D o n o t u s e c o m m a n d s w i t h n o e f f e c t i n a r o u t e -m a p c o n t e x t e v e n i f t h e y s e e m is s u e s :

Page 5 o f 9

h a r m l e s s b e c a u s e o f t h e s e

C o m m a n d s w it h n o e f f e c t c a n o b s c u r e w h a t y o u w a n t to a c c o m p lis h .T h is m a k e s th e c o n f ig u r a t io n v e r y c o n fu s in g . C o m m a n d s t h a t a r e c u r r e n t ly u n s u p p o r t e d m ig h t b e c o m e s u p p o r t e d in f u tu r e r e le a s e s o f C is c o IO S s o f t w a r e . T h u s , y o u m i g h t s e e u n w a n t e d c h a n g e s i n t h e r o u t e -m a p b e h a v i o r a f t e r f u t u r e s o f t w a r e u p g r a d e s . N o t a l l c o m m a n d s a r e c o m p l e t e l y h a r m l e s s ; f o r e x a m p l e , t h e s e t m e tric + / - c o m m a n d , w h i c h s p e c i f i e s th e r e la tiv e c h a n g e o f m e t r ic a n d w h ic h is u s e d w it h B G P r o u te a d v e r tis e m e n t.It c a n ta k e t h e c u r r e n t m e tr ic o f a r o u te a n d in c r e a s e o r d e c r e a s e it b y a s p e c if ie d v a lu e b e f o r e it p r o p a g a te s it . T h e + / - f o r m o f t h i s c o m m a n d i s n o t c u r r e n t l y s u p p o r t e d i n r e d i s t r i b u t i o n r o u t e -m a p s , a n d i t i s a c t u a l l y i n t e r p r e t e d a s t h e s e t m e tric c o m m a n d w i t h t h e s i g n o m i t t e d . F o r e x a m p l e , c o n s i d e r t h i s r o u t e -m a p :


!--- T h i s r e d i s t r i b u t i o n r o u t e -m a p p e r m i t 1 0 i s v e r y d a n g e r o u s !

r o u t e -m a p o s p f -t o -o s p f s e t m e t r i c + 2 !

T h is c o n f ig u r a t io n a p p e a r s t o r e d is t r ib u te a ll r o u t e s f r o m o n e O S P F p r o c e s s to a n o t h e r , w h ile it in c r e a s e s th e m e tr ic o f a ll r o u t e s b y t w o .Y e t , it a c tu a lly s e ts th e m e tr ic o f a ll r o u te s t o b e th e s a m e , e q u a l t o 2 p r o b a b l y n o t w h a t y o u m i g h t t h i n k w h e n y o u e x a m i n e t h e r o u t e r c o n f i g u r a t i o n . T h i s r o u t e -m a p p r o v i d e s a n e v e n m o r e c o u n t e r -i n t u i t i v e e f f e c t :
!--- T h i s r e d i s t r i b u t i o n r o u t e -m a p p e r m i t 1 0 i s e v e n m o r e d a n g e r o u s !

r o u t e -m a p o s p f -t o -o s p f s e t m e t r i c -3 6 7 !

R a t h e r th a n d e c r e a s e t h e m e t r ic o f r e d is tr ib u t e d r o u t e s , th is c o n f ig u r a tio n a c tu a lly s e ts th e m e tr ic t o 3 6 7 ( a p o s i t i v e v a l u e , b e c a u s e a n e g a t i v e m e t r i c i s n o t p o s s i b l e w h e n s e t m e tric i s i n t e r p r e t e d w i t h o u t th e s ig n ).

T w o -P ro to c o l N a ture o f Ro ute-M a p Red istrib utio n


R o u t e -m a p s a p p l i e d t o r e d i s t r i b u t i o n w o r k w i t h t w o r o u t i n g p r o t o c o l s : T h e p r o t o c o l t h a t p r o v id e s t h e o r ig in a l r o u tin g in f o r m a t io n T h e p r o t o c o l t o w h ic h t h e r o u tin g in f o r m a tio n is r e d is tr ib u t e d E a c h r o u t in g p r o t o c o l c a n s u p p o r t its o w n s e t o f r o u t e a tt r ib u te s . I n r e d i s t r i b u t i o n r o u t e -m a p c o n f i g u r a t i o n : R o u t e -m a p m a tch c o m m a n d s v e r i f y t h e a t t r i b u t e s o f a r o u t e t h a t a r e s u p p o r t e d b y t h e p r o t o c o l w h i c h s u p p lie d th e o r ig in a l r o u t e f o r r e d is tr ib u t io n . R o u t e -m a p s e t c o m m a n d s m o d i f y t h e a t t r i b u t e s o f r o u t e s t h a t a r e s u p p o r t e d b y t h e p r o t o c o l t o w h i c h th e r o u t e s a r e r e d is t r ib u t e d .

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n

Page 6 o f 9

T h e C o m m a n d S u p p o r t T a b l e s s e c t i o n o f t h i s d o c u m e n t l i s t s t h e c o m m a n d s . T h e y a r e c a t e g o r i z e d b y m a tch a n d s e t c o m m a n d s , t o h i g h l i g h t t h e t w o -p r o t o c o l n a t u r e o f r e d i s t r i b u t i o n r o u t e -m a p s .

C o mma nd S up p o rt T a b l es
T h T h w h o n is e r ic ly s e c e a r h r e p r o t io n e s e d is t v id e d e v e n r ib in s c r ib r o u u t io n f o r m e s tin c a t th e g p r a n ta io n t c o m o to k e o b m a n d s c o ls fr o p la c e .C e r e d is t th a w o n n r ib u m t a r h ic e c t te d e s u h r o e d a in to p p o u te s n d s o th r te c a ta t e r d in n b ic r p r o r o e r e o u t to c u t e -m a p s a t t a c h e d i n t h e re dis trib ute c o m m a n d . d is tr ib u t e d ; h o w e v e r , th e r e a r e o n ly f iv e t o e s a r e n o t d y n a m ic r o u tin g p r o to c o ls a n d c a n o ls .

T h i s s e c t i o n d o e s n o t i n c l u d e t h e m a tch a n d s e t c o m m a n d s t h a t a r e s u p p o r t e d i n I O S S o f t w a r e R e l e a s e 1 2 .3 r o u t e -m a p s b u t t h a t a r e n o t a p p l i c a b l e i n t h e r e d i s t r i b u t i o n c o n t e x t . I n t e r m e d i a t e S y s t e m -t o -I n t e r m e d i a t e S y s t e m ( I S -I S ) a n d B G P c a n p r o p a g a t e i n f o r m a t i o n a b o u t C o n n e c t i o n l e s s N e t w o r k S e r v ic e (C L N S ) r o u t e s a lo n g w it h IP r o u t e s .T o b e th o r o u g h , th e t a b le s in th is s e c t io n a ls o m e n tio n C L N S -r e l a t e d c o m m a n d s , w h i c h c a n b e u s e d i n r e d i s t r i b u t i o n r o u t e -m a p s f o r t h e s e p r o t o c o l s . Y o u c a n u s e R r o u t e -m a p s f o s p e c if ic f o r r e r e d is t r ib u t io n m a p to r e d is t o u tin g r th e s e d is tr ib u o f IP v 6 r ib u te C In f o p r o tio n p r e L N S r m a to c o o f f ix e r o u t io n ls m IP v 4 s .Y te s P r o to c o a y c o n t p r e fix e o u c a n u to o r f r o l (R IP ) a in IP v s .T h e s e th e m th e , O S P F , I S -I S 6 -s p e c i f i c c m a tch ip v 6 m a tch cl ns r o u tin g p r o , a o m a a to n d m n d n d c o B G P to p a n d s .T h s e t ip v 6 s e t cl ns l. r o p e m c o m c o m a g a te IP a tch ip m a n d s m a n d s v 6 r a n d a r e o n ly o u s e s p if te s ; t ip e c if y o u r e c o ic u d i m f o s e s tr ib u tio n m a n d s a r e r a r o u te -

T a b le 1 a n d T a b le 2 u s e th e s e c o n v e n tio n s : S u p p o r te d c o m m a n d s a r e m a r k e d w ith a Y e s . U n s u p p o r t e d c o m m a n d s a r e m a r k e d w i t h a d a s h ( ) . U n s u p p o r te d c o m m a n d s k n o w n to p e r f o r m N o. a n a c tio n (p r o b a b ly a n u n w a n t e d a c tio n ) a r e m a r k e d w it h a

T a b l e 1 R oute -m a p C om m a nds to M a tch R oute s Ins ta l l e d into R outing T a b l e s b y P rotocol s C om m a nd m a tch cl ns a ddre s s m a tch cl ns ne x t-h op m a tch inte rf a ce m a tch ip a ddre s s R e dis trib ution S up p ort E IG R P Y e s Y e s Y e s Y e s N o Y e s conne cte d s ta tic R IP Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s N o Y e s O S P F Y e s Y e s Y e s Y e s N o Y e s IS B G P IS Y e s Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s N o Y e s

m a tch ip ne x th op m a tch ip ne x th op p re f ix -l is t

m a tch ip a ddre s s p re f ix - Y e s l is t

m a tch ip route s ource

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n
m a tch ip route s ource p re f ix - l is t m a tch ip v 6 a ddre s s [ p re f ix -l is t] Y e s Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s N o Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s

Page 7 o f 9

m a tch ip v 6 route -s ource [ p re f ix -l is t]

m a tch ip v 6 ne x t-h op [ p re f ix -l is t]

m a tch m e tric

m a tch route ty p e e x te rna l m a tch route ty p e inte rna l m a tch route ty p e l oca l m a tch route ty p e ns s a e x te rna l

m a tch p ol icy l is t

m a tch route ty p e { l e v e l 1| l e v e l -2 } m a tch ta g

T a b l e 2 C om m a nds th a t M odif y R oute A ttrib ute s D uring R e dis trib ution into th e T a rg e t P rotocol C om m a nd s e t a s -p a th ta g R IP N o Y e s E IG R P N o Y e s O S P F N o N o Y e s

R e dis trib ution S up p ort IS IS B G P Y e s Y e s Y e s N o Y e s Y e s Y e s N o

s e t com m unity s e t ip ne x t-h op s e t ip ne x t-h op p e e r-a ddre s s s e t ip v 6 ne x t-h op s e t l e v e l { b a ck b one | s tub -a re a }

s e t l e v e l { l e v e l -1| l e v e l -2 | l e v e l -12 } s e t l oca l -p re f e re nce s e t m e tric s e t m e tric + / -

Y e s N o Y e s

s e t m e tric eigrp-m et ric

s e t m e tric + / - eigrp-m et ric

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n
s e t m e tric-ty p e inte rna l s e t m e tric-ty p e e x te rna l s e t nl ri s e t ta g Y e s Y e s Y e s Y e s Y e s Y e s Y e s Y e s

Page 8 o f 9

s e t m e tric-ty p e { ty p e -1| ty p e -2 } s e t orig in s e t w e ig h t

Y e s

S u m m a r y
R o u m a n d a n v e r y te ip g e c -m a u la r o u a r e p ti s fu s a o n a n lly r e v e r y p o f r o u tin d c a n c r e , if y o u a o w g a t r e e r f u l in f o r m e b l a g o in g b u a t c k h to t c o io n o le e m m p lic a t e w h e n it s o r s u b p lo y c o m d to o is r e d o p t im p le x ls f is tr a l r e d o r th e ib u te d tr a f f ic is tr ib u r e d b e f lo tio is tr tw e w in n fe ib u t io e n p r o y o u r a tu r e s n o f r o to c o ls n e tw o b e tw e u t .H r k e n e s .T h o w e v .Y o u m u lt e y e r , m u ip l a llo th e s t d e r o w f o r y c a n e s ig n u tin g v e r y fin e b e n e tw o r k s p r o to c o ls .

N etP r o D i sc u ssi on F or u m s - F ea tu r ed Conv er sa ti ons


N e t w o r k in g P r o f e s s io n a ls C o n n e c t io n is a f o r u m f o r n e tw o r k in g p r o f e s s io n a ls t o s h a r e q u e s tio n s , s u g g e s t io n s , a n d in f o r m a t io n a b o u t n e tw o r k in g s o lu tio n s , p r o d u c t s , a n d t e c h n o lo g ie s .T h e f e a t u r e d lin k s a r e s o m e o f th e m o s t r e c e n t c o n v e r s a t io n s a v a ila b le in t h is t e c h n o lo g y . N e t P r o D is c u s s io n F o r u m s -F e a tu r e d C o n v e r s a t io n s f o r R P S e r v ic e P r o v id e r s : M P L S S it e M P L M e m M P L N O n o t a c c e s s a b le S & B G P -M a y 2 o r y U t iliz a t io n S Q o S -C is c o r e P H P o n la s t P s e l o n g v p o u te u te s V P N c is c n g r o r b a o v e b e t te d c o n -M a n s s a in 4 e c e V , 2 ff e o m R F 0 0 c t m 5 -M a y 2 5 , 2 0 0 5

V ir t u a l P r iv a te N e tw o r k s : S e r v ic e s G R E T u n n e C o n f ig u r in F T P fr o m r N o T r a c e r o S it e t o S it e F ilte N o n M o d A C S A c ti r in g -C i s e m f o r v e F U c o in J u T P o 8 u p s e d r C w e 3 1 P IX V P o n c e n a -M 5 N e n P

e d C E F -M a y 2 4 , 2 0 0 5 e n d a t io n -M a y 2 4 , 2 0 0 5 n in s p e c if ic c o n d it io n -M a y 2 4 , 2 0 0 5 a y 2 5 1 5 -M -M a y tr a to r IX 5 1 5 , 2 0 0 a y 2 1 9 , 2 < ->P a n d 5 0 , 0 0 IX a 2 0 0 5 5 V P N ...? ? ? - M a y 1 6 , 2 0 0 5 S o n ic w a ll F ir e w a ll -M a y 1 5 , 2 0 0 5

V ir t u a l P r iv a te N e tw o r k s : S e c u r ity n w V P a P n ip a c a n N ix e r r o T r a f fic n e c tio n a y 2 5 , 2 d N o r te P IX -M

-M a y 2 5 , 2 0 0 5 P r o b le m -M a y 2 5 , 2 0 0 5 0 0 5 l -M a y 2 5 , 2 0 0 5 a y 2 4 , 2 0 0 5

R el a ted I nf or m a ti on
B G P E IG R IG R P IS -IS O S P F R IP S T e ch S up p ort P a g e P S up p ort P a g e S up p ort P a g e S up p ort P a g e S up p ort P a g e up p ort P a g e nica l S up p ort &

D ocum e nta tion - C is co S y s te m s

5/ 25/ 20 0 5

C i s c o - R o u t e-M ap s f o r I P R o u t i n g Pr o t o c o l R ed i s t r i b u t i o n C o n f i gu r at i o n

Page 9 o f 9

All contents are Copyright

1 9 9 2 -2 0 0 5 Cisco S ystem s, I nc. All rights reserv ed . I m portant N otices and P riv acy S tatem ent.

5/ 25/ 20 0 5

You might also like