!</p> interface ethernet06 D# i) T* V- y9 K5 R
ip address 10.1.1.1 255.255.0.0' k: a+ h. X( K8 S. [" `
ip ospf enable area 0.0.0.1( D; ?; I: a; ^; s" Z( E: u# |
!
% J U/ r" ^7 G) \: ^ interface serial0' g& a" U8 F( f
clock-select dteclk1: h/ s& h5 W* C, X' ?
encapsulation ppp
7 {% X0 G( T' s* n1 w D ip address 2.1.1.1 255.0.0.0
' ?( W% H! M( Z& D) T) ~4 C6 n ip ospf enable area 0.0.0.1
5 m- v8 C# f4 b0 [$ j* e: H !
3 w6 z/ g; V- u" ]! L interface serial18 D" }9 Z) f0 n! P8 K. H: x5 F
encapsulation ppp1 }$ ^( O3 ]2 X" g
!
' c4 S# t$ M$ ^' T# h) q8 P interface serial25 x o# N- v/ j& @; e ^
flowcontrol normal$ L. P# Q& G3 a$ W* Z9 ?
async mode dedicated
) l( _0 L. p3 h encapsulation ppp
- O# N0 J# [! R* Z+ L% }) x !! F3 J( g0 V0 U* A" y
exit
% _) K, n# {0 }1 g& ^ router ospf enable9 }! {/ t# k' j( K2 O
!
6 ?% F% t& Q5 s( { end
7 }+ O( }; v+ Q! b0 q* y: W 路由器b配置如下, ?! \: N5 N! U6 C$ o
quidway#show run! e/ T' t2 \ R8 L2 c- T
now create configuration...
- x2 v# a8 v8 Z, D' y current configuration
/ G4 P0 W! G: p4 R !
3 d+ t0 ` S) e !; b' a1 a D2 a. v; f: p
interface ethernet0
0 h8 V) ^( A" B1 V3 r8 W ip address 10.2.1.1 255.255.0.07 P! S" w% y" B. B) z) Q
ip ospf enable area 0.0.0.2
# e2 r; V- W' {# n !
) N: u( N9 |! o9 ]/ ` interface serial05 |- P# Z1 Y+ U! H
encapsulation ppp
( P6 }, U7 x( L( x9 |& f9 d ip address 2.1.1.2 255.0.0.0
& i4 l7 E2 a' |5 ?$ X& g ip ospf enable area 0.0.0.2
" o/ B# C5 }* ^: j' z0 `- _ !0 l2 f, v+ k* |8 k3 _( }
interface serial1' V8 W$ u( d5 n; q
encapsulation ppp' o+ f. o: g- H" p. P# A8 I; ]
!* J2 V l/ t: G- B; x0 C3 U3 r
interface serial2
( \4 c, O- `; |! O7 B3 p flowcontrol normal
1 i" |3 ?; ^6 L( u async mode dedicated+ @, J2 z+ S* \
encapsulation ppp
J. R1 t* ]7 M; `1 i( ?$ F !; c* | C" t: J: h; p) g
exit
( l+ k* r1 m7 r) C. L; L9 z$ F router ospf enable: R+ n- a" u. N7 {/ Z9 ~; N
!
5 N4 u* [/ W8 |! \& |, O0 W3 A end |