route tagging... you can tag redistributed routes, external routes... it's very exciting... you can tag them, and then look at the tags, and notice that they have tags... then you can look at the tags again...
i did mention you can notice the redistributed routes are tagged?
r1#sh ip eigrp topo 172.16.1.0/24
EIGRP-IPv4 Topology Entry for AS(1)/ID(1.1.1.1) for 172.16.1.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2560512000
Descriptor Blocks:
10.1.1.2 (Serial2/0), from 10.1.1.2, Send flag is 0x0
Composite metric is (2560512000/2560000000), route is External
Vector metric:
Minimum bandwidth is 1 Kbit
Total delay is 20000 microseconds
Reliability is 1/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 2.2.2.2
External data:
AS number of route is 0
External protocol is RIP, external metric is 0
Administrator tag is 0 (0x00000000)
without route tagging the route, you have the loser tag of 0...
since you don't want to be a tag loser, make some friggin tags...
use route-map conventions, start by permitting, as normal...
r2#sh access-list 1
Standard IP access list 1
10 permit 172.16.1.0, wildcard bits 0.0.0.255
20 permit any
r2#sh run | begin route-map
route-map ripper permit 10
match ip address 1
set tag 5
match the permitted ip address with the route map and set the tag to 5...
now add the route map to the redistribution statement...
r2(config)#router eigrp 1
r2(config-router)#redistrib rip metric 1 0 1 1 1500 route-map ripper
you are now a route tag winner...
r1#sh ip eigrp topo 172.16.1.0/24
EIGRP-IPv4 Topology Entry for AS(1)/ID(1.1.1.1) for 172.16.1.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2560512000
Descriptor Blocks:
10.1.1.2 (Serial2/0), from 10.1.1.2, Send flag is 0x0
Composite metric is (2560512000/2560000000), route is External
Vector metric:
Minimum bandwidth is 1 Kbit
Total delay is 20000 microseconds
Reliability is 1/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 2.2.2.2
External data:
AS number of route is 0
External protocol is RIP, external metric is 0
Administrator tag is 5 (0x00000005)
r1#sh ip eigrp topo
EIGRP-IPv4 Topology Table for AS(1)/ID(1.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 2.2.2.0/24, 1 successors, FD is 2297856
via 10.1.1.2 (2297856/128256), Serial2/0
P 192.168.1.0/28, 1 successors, FD is 128256
via Summary (128256/0), Null0
P 192.168.1.0/27, 1 successors, FD is 128256
via Summary (128256/0), Null0
P 192.168.1.0/30, 1 successors, FD is 128256
via Connected, Loopback1
P 192.168.1.16/30, 1 successors, FD is 128256
via Connected, Loopback3
P 3.0.0.0/8, 1 successors, FD is 2560512000, tag is 5
via 10.1.1.2 (2560512000/2560000000), Serial2/0
P 172.16.1.0/24, 1 successors, FD is 2560512000, tag is 5
via 10.1.1.2 (2560512000/2560000000), Serial2/0
P 1.1.1.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 10.1.1.0/24, 1 successors, FD is 2169856
via Connected, Serial2/0
P 4.4.4.0/24, 1 successors, FD is 2560512000, tag is 5
via 10.1.1.2 (2560512000/2560000000), Serial2/0
P 192.168.1.8/30, 1 successors, FD is 128256
via Connected, Loopback2
admire your route tags now...
No comments:
Post a Comment