分享

接口的一般配置

 昵称J3cw8 2010-12-11
无论何种类型的接口,都设置:接口属性,检测接口状态,禁用或者重新启用。
 
router(config)#interface interface-type interface-id      no interface interface-type interface-id
                     
router(config-if)#ip address ip-address ip-mask          no ip address    除了NULL,每个接口都有其IP地址。
 
router(config-if)#description interface-description        no description
 
router(config-if)#mut bytes                                          no mtu             最大传输单元是IP报文的特性,他的取值范围是:64-65535.
 
router(config-if)#bandwidth kilobits                             no bandkilo     用于一些路由协议计算路由量度和RSVB计算保留带宽,修改不会影响物理
                                                                                                         接口的传输速率。
 
router(config-if)#hold-queue langth {in/out}                 no hold-queue配置接口发送和接受列队大小这个参数可以调整接口处理突发数据的能力 
                                                                                                        会增加网络延迟,可能会影响交互应用,除非觉得有必要,否则不建议该。
router(config-if)#shutdown                                          no shutdown
 
router#show interface [serial] | [ethernet] | [fastethernet]      显示接口的传输特性,协议特性的参数,监控接口和控制器状态
 
router#show controlers [serial] | [ethernet] | [fastethernet]     显示接口当前内部控制寄存器等信息,以及识别到的电缆等特性。
                                                                                                          提示:封装不同链路层协议的接口的状态显示有些内容有所不同。
router#clear counters  [serial] | [ethernet] | [fastethernet] [async]  清楚计数器
 
 
 
 
 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多