Advertisement
nickmcski

Untitled

Oct 18th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.83 KB | None | 0 0
  1. Route Map
  2.  
  3. Route-map NAME permit <SeqNumber>
  4.  
  5.  
  6. Route-map
  7.  
  8. You can do things like permit ALL, ANY, OR
  9. Route-map DEMO permit 10
  10.     Match X X X (Or)
  11.     Match X X X (Or)
  12.     (AND the 2 matches)
  13.    
  14. Example:
  15. Route-map MY-ROUTE-MAP permit 10
  16.     Match ip address 1
  17.     Set ip address next-hop
  18.    
  19. Route map can set the metric
  20.     You can match on IP addresses, set metrics based on IP address
  21.  
  22. Using route-map for redistribution
  23. Route-map REDIS-RIP permit 10
  24.     Match ip address 23 29
  25.     Set metric 500
  26.     Set metric-type type-1
  27. Route-map REDIS-RIP deny 20
  28.     Match ip address 37
  29. Route-map REDIS-RIP permit 30
  30.     Set metric 5000
  31.     Set metric-type type-2
  32. Router ospf
  33.     Redistribute rip route-map REDIS-RIP subnets
  34.  
  35.  
  36.  
  37. Tag example
  38.     Bring in all routes with tag 7
  39.     Redistribute all routes where tag !=7
  40. This stops loops in multipoint redistribution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement