Static Routes
Static Routes Redistributing static routes is just as simple as redistributing connected interfaces. All you need to do is use the static keyword instead of a routing protocol. The following are examples for each of the routing protocols discussed. RIP R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router rip R1(config-router)#redistribute static metric 1 R1(config-router)#^Z R1# IGRP R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router igrp 100 R1(config-router)#redistribute static metric 100 100 200 1 1500 R1(config-router)#^Z R1# EIGRP R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router eigrp 100 R1(config-router)#redistribute static metric 100 100 200 1 1500 R1(config-router)#^Z R1# OSPF R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ospf 1 R1(config-router)#redistribute static metric 100 subnets R1(config-router)#^Z R1# 348 Chapter 10 Route Optimization IS-IS R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router isis R1(config-router)#redistribute static ip metric 0 metric-type external R1(config-router)#^Z R1#
195 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|