a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 158|回复: 0

[综合] Cisco认证:路由器的基本配置6

[复制链接]
发表于 2012-8-3 20:03:30 | 显示全部楼层 |阅读模式
配置X.25 " [. J1 }) }- Q5 T$ `# o
  / i1 c8 f8 E( ^" @5 X: j9 V# p
X.25配置完成如下工作:
, B% s1 P( ?  A. x  }功 能 命 令
6 ]! d/ v3 @* v/ d7 R设置X.25模式 encapsulation x25 [dte|dce] & c: @  L, ^% H5 m# {- [4 r/ J
设置最大虚电路数 x25 htc max-vc-number + f- s% D9 p% u! X; @+ H( x% l; K
设置X.121地址 x25 address x121-address
' @: W2 V( f3 e* i4 c建立IP地址与X.121地址对应 x25 map ip ip-address x121-addres [broadcast] " \* u% v+ t4 I& _8 Y
htc----htc是最大的虚电路数,因为许多X.25交换机是从高到低建立虚电路的,max-vc-number不能超过申请的最大值. : f7 S9 x  w& u( q) X: s1 b
请参阅"X.25 Example"的配置实例.
4 Y/ J/ a' A/ A配置HDLC: 3 u3 o# e* m2 V4 b1 T& p. h
HDLC是CISCO路由器使用的缺省协议,一台新路由器在未指定封装协议时默认使用HDLC封装。 ; F* U* l% y% e+ g( X9 p+ k7 s
A.有关命令 / \7 f' G+ T) k( c. O
端口设置: ' ^& s; }3 M& M7 T# g9 H2 s% m$ d
任务
8 A6 K  O" E9 A$ S. D! q) G: D命令
2 o" x1 |& K6 i4 p( t0 W. c. y2 q* @+ O设置HDLC封装
8 _9 h1 y" u/ X$ k: [encapsulation hdlc
( }7 _9 c% W7 Y9 ]: I  w* r: q设置DCE端线路速度 , z- c5 \; K2 q* ~% h; R
clockrate speed8 j# r- Z" S7 W" P) C/ U
复位一个硬件接口
( F- [' O; E7 \3 u. b0 E  ?0 V5 sclear interface serial unit
& d# I$ L- y5 q' w( _* o' q2 Y, q显示接口状态
$ |' }' P0 q* {7 b! `4 Q  _show interfaces serial [unit] 1. ^* W% {' O- J, @
注:1.以下给出一个显示Cisco同步串口状态的例子.  
- u( b/ Y  G" Z4 J  8 B0 ~7 `% O" k1 j
Router#show interface serial 0  7 n% B, i9 O# B0 n
Serial 0 is up, line protocol is up  ! q  l: S  x6 c
Hardware is MCI Serial    e* g: @& C! j7 v8 k2 s' r
Internet address is 150.136.190.203, subnet mask is 255.255.255.0  : K5 @3 f) p1 ?' S" _+ i
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255  
# J( G1 k8 I1 i; gEncapsulation HDLC, loopback not set, keepalive set (10 sec)  
7 P+ y3 f$ ]: \$ P- a4 ]Last input 0:00:07, output 0:00:00, output hang never  5 z6 H8 q$ x0 o: F0 ?6 R* O
Output queue 0/40, 0 drops; input queue 0/75, 0 drops  
) X7 [2 x, x+ A4 m- Y: O% jFive minute input rate 0 bits/sec, 0 packets/sec  ( q1 t* ^1 @' y8 h% |
Five minute output rate 0 bits/sec, 0 packets/sec  
6 v7 |8 x: G6 T- z* R2 {16263 packets input, 1347238 bytes, 0 no buffer  
! a6 F% R* _* T7 R1 @+ TReceived 13983 broadcasts, 0 runts, 0 giants  
2 P( m, j3 P6 p) u/ {* K- [2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 2 abort  
$ R# c; @  E* I22146 packets output, 2383680 bytes, 0 underruns    p+ z, n' g/ r% I( ~& [' a2 w$ u8 h
0 output errors, 0 collisions, 2 interface resets, 0 restarts    f; F2 h% o( C" l
1 carrier transitions
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-6-8 19:37 , Processed in 0.269530 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表