Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route Map
- Route-map NAME permit <SeqNumber>
- Route-map
- You can do things like permit ALL, ANY, OR
- Route-map DEMO permit 10
- Match X X X (Or)
- Match X X X (Or)
- (AND the 2 matches)
- Example:
- Route-map MY-ROUTE-MAP permit 10
- Match ip address 1
- Set ip address next-hop
- Route map can set the metric
- You can match on IP addresses, set metrics based on IP address
- Using route-map for redistribution
- Route-map REDIS-RIP permit 10
- Match ip address 23 29
- Set metric 500
- Set metric-type type-1
- Route-map REDIS-RIP deny 20
- Match ip address 37
- Route-map REDIS-RIP permit 30
- Set metric 5000
- Set metric-type type-2
- Router ospf
- Redistribute rip route-map REDIS-RIP subnets
- Tag example
- Bring in all routes with tag 7
- Redistribute all routes where tag !=7
- This stops loops in multipoint redistribution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement