We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is Why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 618 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

 

386 New Members signed up the last 30 days!

satisfaction-guaranteed

100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags: ,


Forum Replies

  1. Can you confirm if this is my correct reading of this route-map
    Networks from Protocol B ‘Jack’ are untagged until they enter Protocol A where they are Tagged - (The first statement is ignored because they are not Tagged)

    Jack(config)#route-map TAG permit 20
    Jack(config-route-map)#set tag 1 
    

    When these now Tagged routes hit ‘John’ Still in Protocol A they are denied from re-entering Protocol B via the First statement.

     route-map TAG deny 10
        John(config-route-map)#match tag 1
    

    But as you say the route-map has to deny the Tagged routes first or it will allow

    ... Continue reading in our forum

  2. Hello Rene,

    I have intlo0 with ip address of 1.1.1.1/24

    I have access-list 1 permit 1.1.1.1 0.0.0.0 and route map route-map TST permit
    route-map TST
    set tag 222

    match ip address 1
    set tag 111

    and redistribute into ospf from eigrp

    redistribute eigrp 100 subnets route-map TST

    but at the destination router I only see tag 222 for the prefix 1.1.1.1 instead of 111

    as son as I change the access list wild card mask to 0.0.0.255 the destination router sees the correct tag of 111

    Could you please explain this why with wilcard 0.0.0.0 the correct tag is not shown but wit

    ... Continue reading in our forum

  3. Nyi,
    Yes, you can do this, but you need to be aware of how the difference in writing a route-map determines whether your conditions are logical ANDs or ORs.

    The following route-map would only act on a route that has all of the tags 10, 20, and 30

    route-map TAG deny 10
     match tag 10
     match tag 20
     match tag 30
    

    Whereas, the following route-map would act on a route that has any of the tags 10, 20 or 30

    route-map TAG deny 10
     match tag 10 20 30
    

  4. Hi Rene,
    Please please help me out regarding redistribution. when redistributing mutually between ospf and bgp by tagging and i m getting an error

    % “TAG1” used as redistribute ospf into bgp route-map, set tag not supported"

    route-map TAG1 deny 10
    match tag 1
    route-map TAG1 permit 20
    set tag 1

    https://cdn-forum.networklessons.com/uploads/default/original/1X/429954a1ab1f680c3a4470abd54ddb55ec9239b6.png

    according to the topology, I have to redistribute mutually bet OSPF and BGP at R3 and R4. I have to advertise 10.2.0.0/16 from R3 and R4 towards R1 and R2. s

    ... Continue reading in our forum

  5. Hi Abdus,

    Route tagging when redistributing into BGP is not supported. That’s why you get that error:

    R1(config)#route-map SET_TAG permit 10
    R1(config-route-map)#set tag 10
    
    R1(config)#router bgp 1
    R1(config-router)#redistribute ospf 1 route-map SET_TAG
    % "SET_TAG" used as redistribute ospf into bgp route-map, set tag not supported
    

    You can use something else in BGP to “tag” redistributed routes, like a community value. Between OSPF and EIGRP, you can use tags to prevent routing loops.

    Let’s think about the things that could go wrong in a topology like this if

    ... Continue reading in our forum

21 more replies! Ask a question or join the discussion by visiting our Community Forum