</p>步骤六:查看路由表- c3 ~6 i& A& A$ {& w! t0 m
6 {2 ?% {3 v) v/ p( dR1#show ip route
' Q1 r) w! I% ~4 e9 VCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP3 F( w" D+ U% k4 _% f& }
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area* _' F& o. f6 W# X F' c" s8 `
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
. t. j% y: Z, s- B$ ]$ s* o6 Q E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP' g/ @! G" N! P
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-21 @* b1 o, R- a3 E0 r! H0 z
ia - IS-IS inter area, * - candidate default, U - per-user static route
% y( |8 {' b' Z3 I. a1 P! g o - ODR, P - periodic downloaded static route ]- b; _9 [+ Y" q
( X4 G% }5 P% ^8 d7 i4 _
Gateway of last resort is not set
0 f. }4 I$ H, s% W8 ~' D/ g7 p % W5 u- f$ z$ H$ Y
50.0.0.0/32 is subnetted, 1 subnets
) ]& m$ i _9 U Z) L4 KO 50.1.1.1 [110/65] via 10.1.1.2, 00:09:41, Serial0 àOSPF域内学来的路由条目* U- r9 ~5 k9 u3 h; c ~# h1 e
20.0.0.0/24 is subnetted, 1 subnets2 F( w/ W0 a) v& G" s3 {
O IA 20.1.1.0 [110/128] via 10.1.1.2, 00:09:31, Serial0 àOSPF域间学来的路由条目
0 T; F0 g& b' Y2 H# o 40.0.0.0/32 is subnetted, 1 subnets- y* h# |1 o/ i/ B( u
O IA 40.1.1.1 [110/129] via 10.1.1.2, 00:09:31, Serial0
6 b2 |% h1 z( r6 B e9 \" Y4 _ 10.0.0.0/24 is subnetted, 1 subnets& O. N/ k3 ~, @$ Q
C 10.1.1.0 is directly connected, Serial0
* U2 h( D) Y; U7 U7 O8 g3 b$ |) W) k 30.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
, v/ _: {- s; E4 E6 X: M" o/ g' ^C 30.1.3.0/24 is directly connected, Loopback2/ p$ h8 L7 u H* Y
C 30.1.2.0/24 is directly connected, Loopback1* q4 _5 A! ]+ Y( p# ~
C 30.1.1.0/24 is directly connected, Loopback0
/ R* x: ]& o' Y% u* XO 30.1.0.0/22 is a summary, 00:09:32, Null0 à手工汇总的条目+ b. _0 B2 J& y
! s- X8 s: x% _3 r; a: \
R2#show ip route
! z7 W3 S# Y0 K: _Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP p; g- A/ J- R
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
! k6 H& G! [$ C" ? M# y N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2) _3 H+ w& x3 e8 C0 E+ B
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP% s5 H- I7 `, v6 K+ y
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
$ p* l) X: y$ ^: U0 T) j ia - IS-IS inter area, * - candidate default, U - per-user static route( H. b5 L U- x2 b( r
o - ODR, P - periodic downloaded static route
( Z1 k* L9 u5 E: a$ I
/ |5 F) L& B3 A0 q2 C) L, e; BGateway of last resort is not set
1 w# [" E5 g+ R i : {- f4 G/ k( N$ J
50.0.0.0/24 is subnetted, 1 subnets
$ P6 [, C z- {# {) oC 50.1.1.0 is directly connected, Loopback03 a6 z4 S- r, g) b
20.0.0.0/24 is subnetted, 1 subnets+ g) d; S7 w& g* Z* l ]* m
C 20.1.1.0 is directly connected, Serial1/ F- Z) ~5 d! z5 J6 B0 i; h
40.0.0.0/32 is subnetted, 1 subnets T' m4 u& g- I# q; x( [: v
O 40.1.1.1 [110/65] via 20.1.1.2, 00:04:48, Serial1
6 h- k3 S6 _ A/ S! _ 10.0.0.0/24 is subnetted, 1 subnets
6 K* c/ o7 w5 l9 I* s8 e& QC 10.1.1.0 is directly connected, Serial0
- e# Z+ J U( E w( w 30.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
9 d% m# g; F" E K i0 A7 [& xO 30.1.2.1/32 [110/65] via 10.1.1.1, 00:04:38, Serial0" k1 B) }1 z. h
O 30.1.3.1/32 [110/65] via 10.1.1.1, 00:04:39, Serial0( S; U, X, s2 J6 F% ~4 N: h# Z
O 30.1.0.0/22 is a summary, 00:04:39, Null0
. d* X( S/ H; r; xO 30.1.1.1/32 [110/65] via 10.1.1.1, 00:04:39, Serial0+ w [9 o) F' H7 L# c! S
" n, b6 \ n% R1 x7 _8 AR3#show ip route
. @, C# o3 u RCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
( N. J% p% b, Z; K! R' q D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area# i$ S- b0 m' V B5 ^8 o+ a
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
& K5 s! R* X/ ?' u& h3 {- j E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
3 |8 ~" ?( ?/ @- z4 k i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
8 Q/ p. J) L$ H ia - IS-IS inter area, * - candidate default, U - per-user static route% X& n. d# y: l# j: m
o - ODR, P - periodic downloaded static route
3 k% p% n2 n! [: h) Y 1 o Y$ r* y' Y1 p8 V. ?
Gateway of last resort is not set |