网络工程师复习:Cisco路由器.docVIP

  • 0
  • 0
  • 约3.7千字
  • 约 4页
  • 2018-04-18 发布于河南
  • 举报
网络工程师复习:Cisco路由器

一 . 配 置   1 . 配置以太网(Ethernet)端口   # conf t   从终端配置路由器。   # int e0   指定E0口。   # ip addr ABCD XXXX   ABCD为以太网地址,XXXX为子网掩码。   # ip addr ABCD XXXX secondary   E0口同时支持两个地址类型。如果第一个为A类地址,则第二个为B或C类地址。   # no shutdown   激活E0口。   # exit   2.X.25的配置   # conf t   # int S0   指定S0口.   # ip addr ABCD XXXX   ABCD为以太网S0的IP地址,XXXX为子网掩码.。   # encap X25-ABC   封装X.25协议。ABC指定X.25为DTC或DCE操作,缺省为DTE。   # x25 addr ABCD   ABCD为S0的X.25端口地址,由邮电局提供。   # x25 map ip ABCD XXXX br   映射的X.25地址.ABCD为对方路由器(如:S0)的   IP地址,XXXX为对方路由器(如:S0)的X.25端口地址。   # x25 htc X   配置最高双向通道数.X的取值范围1-4095,要根据邮电局实际提供的数字配置。   # x25 nvc X   配置虚电路数。X不可超过据邮电局实际提供的数,否则,将影响数据的正常传输。   # exit   3 .专线的配置     # conf t   # int S2   指定S2口。   # ip addr ABCD XXXX   ABCD为S2的IP地址,XXXX为子网掩码。    4.帧中继的配置   # conf t   # int s0   # ip addr ABCD XXXX   ABCD为S0的IP地址,XXXX为子网掩码。   # encap frante_relay   封装frante_relay协议。   # no nrzi_encoding   NRZI=NO   # frame_relay lmi_type q933a   LMI使用Q933A标准.LMI(Local management Interface)有3种:ANSI:T1.617;CCITTY:Q933A和CISCO特有的标准。   # fram-relay intf-typ ABC   ABC为帧中继设备类型,它们分别是DTE设备,DCE交换机或NNI(网络接点接口)支持。   # frame_relay interface_dlci 110 br   配置DLCI(数据链路连接标识符)。   # frame-relay map ip ABCD XXXX broadcast   建立帧中继映射。ABCD为对方ip地址,XXXX为本地DLCI号,broadcast 允许广播向前转发或更新路由。   # no shutdown   激活本端口.   # exit  # exit 5 . 帧 中 继 子 接 口 的 配 置     # conf t   # int s0.1 point-to-point   对应S0的子接口1,点对点方式。   # ip addr ABCD XXXX   ABCD为子口1的IP地址,XXXX为子网掩码。   # frame-relay intreface-dlci 100 br   6.配置拨号备份   (1).配置备份主口   # conf t   # int s0   S0为主口.   # backup int asy 1   A1口为备份口.   # backup delay 0 1   延时1秒.   (2).配置虚拟接口   # conf t   # ip addr ABCD XXXX   ABCD为虚拟接口IP地址,XXXX为子网掩码。   # encap ppp   封装ppp协议.   # dialer in-band   激活随叫随拨功能.   # dialer idle-timeout 7200   # dialer map ip ABCD   modem-script call broadcast 6225481 br 映射对应的拨号口.ABCD为对方拨号口的ip地址,6225481为对应的电话号码。   # dialer_group 1 定义拨号组成员.   (3).配置防火墙   # dialer_list 1 pro ip permit   允许ip协议通过。

文档评论(0)

1亿VIP精品文档

相关文档