ciscoIOS设备管理配置

来源:网络发布时间:2010-04-22

  2     配置路由器的标识

  路由器主机名的配置:缺省的主机名为Router

  Router(config)#hostname [主机名]

  路由器的日期标志的配置:

  Router(config)#banner motd #

  配置路由器的接口

  1) 配置接口的IP地址:

  Router(config)#interface [接口]

  Router(config-if)#ip address [IP地址] [子网掩码]

  2)删除一个接口的IP地址:

  Router(config)#interface [接口]

  Router(config-if)#no ip address

  3)激活一个接口:

  Cisco路由器的所有接口缺省时都是禁用状态,必须使用no shutdown来激活一个接口

  Router(config-if)#no shutdown

  Router(config-if)#shutdown            (禁用接口)

  4)配置同步串行接口:

  将DCE接口配置时钟速率:

  Router(config-if)#clock rate 64000

  Router#show controllers       [接口]   (查看接口类型)

  配置同步串行接口的带宽:

  Router(config-if)#bandwidth [带宽,单位是kbps]

  <!--[if !supportLists]-->

  <!--[endif]-->查看接口状态

  Router#show interface          (查看路由器上所有接口的详细信息)

  Router#show interface [接口] (查看路由器上特定接口的详细信息)

  Router#show ip interface brief (查看路由器上所有接口的摘要信息)

  <!--[if !supportLists]-->        <!--[endif]-->解释路由器接口的状态

  <!--[if !supportLists]-->1)  <!--[endif]-->Interface is up , Line protocol is up              (正常)

  <!--[if !supportLists]-->2)  <!--[endif]-->Interface is Administratively down , Line protocol is down   (接口没有使用no shutdown命令来激活)

  <!--[if !supportLists]-->3)  <!--[endif]-->Interface is Down , Line Protocol is down    (出现在同步串行接口,线缆不匹配或未连接好,或者是接口被损坏)

  <!--[if !supportLists]-->4)  <!--[endif]-->Interface is Up ,Line Protocol is down

  LAN接口:线缆不匹配或未连接好,或者是接口被损坏

  WAN接口:时钟速率未设置、未收时钟保持信息、第二层的封装不匹配。

  <!--[if !supportLists]-->     <!--[endif]-->查看串行线缆的类型

  Router#show controller [接口]

纠错

育路版权与免责声明

① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:育路网",违者本网将依法追究责任;

② 本网部分稿件来源于网络,任何单位或个人认为育路网发布的内容可能涉嫌侵犯其合法权益,应该及时向育路网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,育路网在收到上述法律文件后,将会尽快移除被控侵权内容。