interface Serial1 7 `8 K' f0 O2 q3 B2 o
encapsulation ppp
# \5 p! [! l# T/ N( Q, m; M !
' s# V y& [8 M6 C; f interface Serial2 3 ?% a9 R0 ?; t8 S4 p" B8 T$ ]; w; |$ \
flowcontrol normal : W& F" z: L: p- T$ s6 N( |/ E
async mode dedicated
9 Y7 m- \. ]% f encapsulation ppp " g F1 J3 I# W# y6 J, r
! 5 Q. ?3 \3 z$ V! D* \
exit
; w4 V6 `% a. `( E' H- I! |, s router ospf enable , F' ^- l3 V* [6 _9 [
! z+ Z& Q3 M+ L
end ; i$ b! k* v- T1 O2 \ o0 x6 @
路由器B配置如下
% {, i) K' }6 ~1 e# ]3 r Quidway#SHOW RUN
8 @, a# J/ ?5 B6 h/ Z, I' M Now create configuration...
( x. _! h3 C! d5 s# n4 l Current configuration 5 I* o4 c4 c; A; ?( l' v' F& E7 ?
! ( q" @7 {: M& L4 L* Q% U
! - X% A8 _, V2 z- C
interface Ethernet0 ' P( x% E8 g% ~8 l& U
ip address 10.2.1.1 255.255.0.0 7 |$ I9 p. v3 b" a$ h
ip ospf enable area 0.0.0.2 e% C6 d$ E2 s8 a" p
!
( ~9 d2 F. F! Z interface Serial0 ) b- C) ^& Z7 O5 u0 I
encapsulation ppp 9 ^' Z9 q( }4 R1 u" d
ip address 2.1.1.2 255.0.0.0
2 E. }. K# P* y! i( P0 x" `4 N; _ ip ospf enable area 0.0.0.2
@5 ?6 U0 ], k% i5 q" M !
1 n7 S3 i, W' S7 F interface Serial1 & x- T( {7 A$ G
encapsulation ppp $ o: \: v, J% f3 K2 d+ N* U9 d- h
!
, S, R4 _3 X3 T' s2 N interface Serial2 ( r+ V3 ~" i) _- g: H) q9 U
flowcontrol normal
% S1 r# X8 N. f$ o7 ~ u async mode dedicated . F T9 h: w' q" Z
encapsulation ppp
m' u; {& u7 R3 Q# Q. H; C8 f: x* G, U0 J
! |