rank in statistic:接口的一般配置

来源:百度文库 编辑:偶看新闻 时间:2024/05/08 17:19:18
无论何种类型的接口,都设置:接口属性,检测接口状态,禁用或者重新启用。 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]  清楚计数器