静态路由的管理距离比直连路由的大,所以,静态路由还是敌不过直连路由:

Router(config)#ip route 10.16.1.1 255.255.255.252 null 0 ?

<1-255> Distance metric for this route

A.B.C.D Forwarding router's address

name Specify name of the next hop

permanent permanent route

tag Set tag for this route

<cr>

Router#sho ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

10.0.0.0/30 is subnetted, 1 subnets

C 10.16.1.0 is directly connected, Serial1/1

Router#

Router#