When redistributing a tagged route it loses its existing tag by default. The
match & set statement is used to ensure a tag is preserved if it was already
set at another point of redistribution. The style of route-map below ensures
that you NEVER have routing loops if you assign each protocol its own tag
and use a policy like this for redistribution every time you redistribute.


On 6/11/09 3:01 AM, "desmond Black" <[email protected]> wrote:

> 
> Although the task seems simple enough it sort of confused me in the sense
> that, I can understand that Denying of the tags, but then the MATCH & SET of
> the same tag in permit 10 statement as the one below didnt quite get to me.
> 
> R5(config)#route-map E2R deny 5
> R5(config-route-map)#match tag 25
> R5(config-route-map)#route-map E2R permit 10----------|
> R5(config-route-map)#match tag 58
> |----------Didnt get this section here
> R5(config-route-map)#set tag 58--------------------------|
> R5(config-route-map)#route-map E2R permit 15
> R5(config-route-map)#set tag 20

Cheers,

Jared Scrivener CCIE3 #16983 (R&S, Security, SP), CISSP
Sr. Technical Instructor - IPexpert, Inc.
URL: http://www.IPexpert.com
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
Mailto: [email protected]

Reply via email to