Cisco redistribution – show commands

Rack6R4(config-router)#do sh run | s router
router eigrp 1
redistribute rip metric 1 1 1 1 1
network 155.6.0.0 0.0.0.255
no auto-summary
router ospf 1
log-adjacency-changes
network 155.6.45.4 0.0.0.0 area 0
network 155.6.146.4 0.0.0.0 area 0
router rip
version 2
redistribute eigrp 1 metric 10
network 204.12.6.0
distance 109

To see the EIGRP routes redistributed into RIP:

Rack6R4(config-router)#do sh ip rip data | i redistributed
150.6.8.0/24 redistributed
150.6.10.0/24 redistributed
155.6.0.0/24 redistributed
155.6.5.0/24 redistributed
155.6.8.0/24 redistributed
155.6.10.0/24 redistributed
155.6.58.0/24 redistributed
155.6.108.0/24 redistributed

Rack6R4(config-router)#do sh ip route ei
155.6.0.0/24 is subnetted, 13 subnets
D 155.6.8.0 [90/2172672] via 155.6.0.5, 00:24:08, Serial0/0/0.1
D 155.6.10.0 [90/2175232] via 155.6.0.5, 00:24:08, Serial0/0/0.1
D 155.6.5.0 [90/2172416] via 155.6.0.5, 00:24:08, Serial0/0/0.1
D 155.6.58.0 [90/2172416] via 155.6.0.5, 00:24:08, Serial0/0/0.1
D 155.6.108.0 [90/2174976] via 155.6.0.5, 00:24:08, Serial0/0/0.1
150.6.0.0/16 is variably subnetted, 6 subnets, 2 masks
D 150.6.8.0/24 [90/2300416] via 155.6.0.5, 00:24:08, Serial0/0/0.1
D 150.6.10.0/24 [90/2302976] via 155.6.0.5, 00:24:08, Serial0/0/0.1

To see the RIP routes redistributed into EIGRP:
Rack6R4(config-router)#do sh ip route rip
31.0.0.0/16 is subnetted, 4 subnets
R 31.3.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 31.2.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 31.1.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 31.0.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
30.0.0.0/16 is subnetted, 4 subnets
R 30.2.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 30.3.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 30.0.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
R 30.1.0.0 [109/1] via 204.12.6.254, 00:00:07, FastEthernet0/0
Rack6R4(config-router)#do sh ip eigrp topo | i Redist
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
via Redistributed (2560000256/0)
8 rip routes Plus the local connected:
P 204.12.6.0/24, 1 successors, FD is 2560000256
via Redistributed (2560000256/0)

To see the any route redistributed into OSPF:

router ospf 1
log-adjacency-changes
network 155.6.37.3 0.0.0.0 area 0
redistribute eigrp 1 subnets

Rack6R3(config-router)#do sh ip ospf data | b Type-5
Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
30.0.0.0 150.6.3.3 1182 0x80000001 0x00BD22 0
30.1.0.0 150.6.3.3 1182 0x80000001 0x00B12D 0
30.2.0.0 150.6.3.3 1182 0x80000001 0x00A538 0
30.3.0.0 150.6.3.3 1182 0x80000001 0x009943 0
31.0.0.0 150.6.3.3 1182 0x80000001 0x00B02E 0
31.1.0.0 150.6.3.3 1182 0x80000001 0x00A439 0
31.2.0.0 150.6.3.3 1182 0x80000001 0x009844 0
31.3.0.0 150.6.3.3 1182 0x80000001 0x008C4F 0
150.6.8.0 150.6.3.3 86 0x80000002 0x00FC5B 0
150.6.10.0 150.6.3.3 86 0x80000002 0x00E66F 0
155.6.0.0 150.6.3.3 86 0x80000002 0x001447 0
155.6.5.0 150.6.3.3 86 0x80000002 0x00DC79 0
155.6.8.0 150.6.3.3 86 0x80000002 0x00BB97 0
155.6.10.0 150.6.3.3 86 0x80000002 0x00A5AB 0
155.6.58.0 150.6.3.3 87 0x80000002 0x00938D 0
155.6.108.0 150.6.3.3 87 0x80000002 0x006B83 0
204.12.6.0 150.6.3.3 87 0x80000002 0x000A14 0

Rack6R3(config-router)#do sh ip route eig
155.6.0.0/24 is subnetted, 15 subnets
D 155.6.8.0 [90/20514816] via 155.6.0.5, 00:35:31, Serial1/0.1
D 155.6.10.0 [90/20517376] via 155.6.0.5, 00:35:31, Serial1/0.1
D 155.6.5.0 [90/20514560] via 155.6.0.5, 00:35:31, Serial1/0.1
D 155.6.58.0 [90/20514560] via 155.6.0.5, 00:35:31, Serial1/0.1
D 155.6.108.0 [90/20517120] via 155.6.0.5, 00:35:31, Serial1/0.1
D EX 204.12.6.0/24 [170/2561024256] via 155.6.0.5, 00:35:31, Serial1/0.1
31.0.0.0/16 is subnetted, 4 subnets
D EX 31.3.0.0 [170/2561024256] via 155.6.0.5, 00:20:01, Serial1/0.1
D EX 31.2.0.0 [170/2561024256] via 155.6.0.5, 00:20:01, Serial1/0.1
D EX 31.1.0.0 [170/2561024256] via 155.6.0.5, 00:20:01, Serial1/0.1
D EX 31.0.0.0 [170/2561024256] via 155.6.0.5, 00:20:01, Serial1/0.1
150.6.0.0/16 is variably subnetted, 6 subnets, 2 masks
D 150.6.8.0/24 [90/20642560] via 155.6.0.5, 00:35:31, Serial1/0.1
D 150.6.10.0/24 [90/20645120] via 155.6.0.5, 00:35:31, Serial1/0.1
30.0.0.0/16 is subnetted, 4 subnets
D EX 30.2.0.0 [170/2561024256] via 155.6.0.5, 00:20:02, Serial1/0.1
D EX 30.3.0.0 [170/2561024256] via 155.6.0.5, 00:20:02, Serial1/0.1
D EX 30.0.0.0 [170/2561024256] via 155.6.0.5, 00:20:02, Serial1/0.1
D EX 30.1.0.0 [170/2561024256] via 155.6.0.5, 00:20:02, Serial1/0.1

Plus the local connected OSPF route:
Rack6R3(config-router)#do sh ip os in br
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 155.6.37.3/24 1 BDR 1/1

**NOTE**

This changes when you do redistribute connected you will have to manually add the interfaces or ip prefix to a route-map under the redist connected statement

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s