案例6路由器接口的基本配置Word文档下载推荐.docx

上传人:b****2 文档编号:1275081 上传时间:2023-04-30 格式:DOCX 页数:12 大小:27.98KB
下载 相关 举报
案例6路由器接口的基本配置Word文档下载推荐.docx_第1页
第1页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第2页
第2页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第3页
第3页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第4页
第4页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第5页
第5页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第6页
第6页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第7页
第7页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第8页
第8页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第9页
第9页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第10页
第10页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第11页
第11页 / 共12页
案例6路由器接口的基本配置Word文档下载推荐.docx_第12页
第12页 / 共12页
亲,该文档总共12页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

案例6路由器接口的基本配置Word文档下载推荐.docx

《案例6路由器接口的基本配置Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《案例6路由器接口的基本配置Word文档下载推荐.docx(12页珍藏版)》请在冰点文库上搜索。

案例6路由器接口的基本配置Word文档下载推荐.docx

R1(config-if)#

设置了路由器接口的IP地址,就确定了该接口直连的网络。

2)配置带宽

R1(config-if)#bandwidth?

<

1-10000000>

Bandwidthinkilobits

R1(config-if)#bandwidth10000//配置为10M带宽

以太网接口的带宽可自动设置,一般无需手动设置。

3)配置双工方式

R1(config-if)#duplex?

autoEnableAUTOduplexconfiguration

fullForcefullduplexoperation

halfForcehalf-duplexoperation

R1(config-if)#duplexhalf

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceFastEthernet0/0,changedstatetodown

LineprotocolonInterfaceFastEthernet0/0,changedstatetoup

以太网接口的双工方式可自动协商,一般无需手动设置。

4)配置MAC地址

R1(config-if)#mac

R1(config-if)#doshintf0/0

FastEthernet0/0isup,lineprotocolisup(connected)

HardwareisLance,addressis(bia0005.5e63.4601)

……

地址已经改变!

一般无需手动设置。

5)激活与管理性关闭端口

R1(config-if)#shutdown//管理性关闭接口

%LINK-5-CHANGED:

InterfaceFastEthernet0/0,changedstatetoadministrativelydown//此信息提示接口已经管理性关闭!

LineprotocolonInterfaceFastEthernet0/0,changedstatetodown//此信息提示接口的线路协议已经关闭!

R1(config-if)#noshut//激活接口,注意:

路由器的接口缺省时是关闭的,配置IP地址之后,切记将接口激活!

InterfaceFastEthernet0/0,changedstatetoup

以上信息提示接口已经激活!

6)配置接口描述

R1(config-if)#descriptionThisisaFastEthernetinterface

此配置在案例2中已有解释。

7)配置最大传输单元

R1(config-if)#mtu?

64-1600>

MTUsizeinbytes

R1(config-if)#mtu1400

以太网接口mtu是固定,一般无需手动配置。

8)配置逻辑子接口

R1(config)#intfa0/0?

/.

R1(config)#intfa0/0.10

InterfaceFastEthernet0/0.10,changedstatetoup

LineprotocolonInterfaceFastEthernet0/0.10,changedstatetoup//注意:

以上信息提示子接口已经激活!

R1(config-subif)#?

步骤3:

配置串行接口。

R1(config)#ints0/0/0//注意串行接口的标识

R2#conft

R2(config)#ints0/0/0

R2(config-if)#ipaddr

R2(config-if)#

2)设置带宽

R2(config-if)#bandwidth?

R2(config-if)#bandwidth2048

3)设置DCE时钟

R2(config-if)#clockrate?

Speed(bitspersecond

1200

2400

4800

9600

19200

38400

56000

64000

72000

125000

128000

148000

250000

500000

800000

1000000

1300000

2000000

4000000

300-4000000>

Chooseclockratefromlistabove

R2(config-if)#clockrate128000

4)配置接口描述

5)配置数据链路层协议

R2#shints0/0/0

Serial0/0/0isup,lineprotocolisup(connected)

HardwareisHD64570

MTU1500bytes,BW2048Kbit,DLY20000usec,

reliability255/255,txload1/255,rxload1/255

EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)

……//注意:

缺省时Cisco路由器串行接口的数据链路层封装HDLC。

R2#

R2(config-if)#en

R2(config-if)#encapsulation?

//PT中串行接口可封装3中协议

frame-relayFrameRelaynetworks//帧中继

hdlcSerialHDLCsynchronous//HDLC:

缺省

pppPoint-to-Pointprotocol//PPP

R2(config-if)#encapsulationppp//封装PPP

LineprotocolonInterfaceSerial0/0/0,changedstatetodown//封装PPP,注意PPP要求链路两端都要正确配置才能打开!

6)激活与管理性关闭端口

R2(config-if)#shutdown

InterfaceSerial0/0/0,changedstatetoadministrativelydown

R2(config-if)#noshut

InterfaceSerial0/0/0,changedstatetoup

7)配置逻辑子接口

R2(config)#ints0/0/1.100?

multipointTreatasamultipointlink

point-to-pointTreatasapoint-to-pointlink

cr>

R2(config-if)#encapsulationframe-relay

R2(config-if)#exit

R2(config)#ints0/0/1.100point-to-point

R2(config-subif)#

配置串行子接口要先封装协议,再创建子接口,且必须指定子接口的类型。

步骤3:

验证接口配置

1)验证以太网接口

R1#shintfa0/0

//第1个up表示物理层激活;

第2个up表示数据链路层激活。

HardwareisLance,addressis(bia00d0.bc94.2401)

Internetaddressis

MTU1500bytes,BW100000Kbit,DLY100usec,

EncapsulationARPA,loopbacknotset

ARPtype:

ARPA,ARPTimeout04:

00:

00,

Lastinput00:

08,output00:

05,outputhangnever

Lastclearingof"

showinterface"

countersnever

Inputqueue:

0/75/0(size/max/drops);

Totaloutputdrops:

0

Queueingstrategy:

fifo//队列策略

Outputqueue:

0/40(size/max)

5minuteinputrate0bits/sec,0packets/sec

5minuteoutputrate0bits/sec,0packets/sec

0packetsinput,0bytes,0nobuffer

Received0broadcasts,0runts,0giants,0throttles

0inputerrors,0CRC,0frame,0overrun,0ignored,0abort

0inputpacketswithdribbleconditiondetected

0packetsoutput,0bytes,0underruns

0outputerrors,0collisions,1interfaceresets

0babbles,0latecollision,0deferred

0lostcarrier,0nocarrier

0outputbufferfailures,0outputbuffersswappedout

R1#

2)验证串行接口

R1#shints0/0/0

Serial0/0/0isup,lineprotocolisdown(disabled)

MTU1500bytes,BW1544Kbit,DLY20000usec,

Lastinputnever,outputnever,outputhangnever

weightedfair

Outputqueue:

0/1000/64/0(size/maxtotal/threshold/drops)

Conversations0/0/256(active/maxactive/maxtotal)

ReservedConversations0/0(allocated/maxallocated)

AvailableBandwidth1158kilobits/sec

0carriertransitions

DCD=upDSR=upDTR=upRTS=upCTS=up

3)查看路由器接口的第3层配置

R1#shipints0/0/0

 

Addressdeterminedbysetupcommand

MTUis1500

Helperaddressisnotset

Directedbroadcastforwardingisdisabled

Outgoingaccesslistisnotset

Inboundaccesslistisnotset

ProxyARPisenabled

Securitylevelisdefault

Splithorizonisenabled

ICMPredirectsarealwayssent

ICMPunreachablesarealwayssent

ICMPmaskrepliesareneversent

IPfastswitchingisdisabled

IPfastswitchingonthesameinterfaceisdisabled

IPFlowswitchingisdisabled

IPFastswitchingturbovector

IPmulticastfastswitchingisdisabled

IPmulticastdistributedfastswitchingisdisabled

RouterDiscoveryisdisabled

IPoutputpacketaccountingisdisabled

IPaccessviolationaccountingisdisabled

TCP/IPheadercompressionisdisabled

RTP/IPheadercompressionisdisabled

Probeproxynamerepliesaredisabled

Policyroutingisdisabled

Networkaddresstranslationisdisabled

WCCPRedirectoutboundisdisabled

WCCPRedirectexcludeisdisabled

BGPPolicyMappingisdisabled

4)查看路由器接口的第3层配置摘要

R1#shipintbrief

InterfaceIP-AddressOK?

MethodStatusProtocol

FastEthernet0/0192.168.1.254YESmanualupup

FastEthernet0/0.10unassignedYESunsetupup

FastEthernet0/1unassignedYESunsetadministrativelydowndown

Serial0/0/0172.16.1.1YESmanualupdown

Serial0/0/1unassignedYESunsetadministrativelydowndown

Vlan1unassignedYESunsetadministrativelydowndown

5)查看接口各层协议的情况

R1#shprotocols

Globalvalues:

InternetProtocolroutingisenabled

FastEthernet0/0isup,lineprotocolisup

FastEthernet0/0.10isup,lineprotocolisup

FastEthernet0/1isadministrativelydown,lineprotocolisdown

Serial0/0/0isup,lineprotocolisdown

Serial0/0/1isadministrativelydown,lineprotocolisdown

Vlan1isadministrativelydown,lineprotocolisdown

6)查看接口控制器的信息

R1#shcontrollers?

EthernetIEEE802.3

FastEthernetFastEthernetIEEE802.3

GigabitEthernetGigabitEthernetIEEE802.3z

SerialSerial

R1#shcontrollerss0/0/0

InterfaceSerial0/0/0

HardwareisPowerQUICCMPC860

DCEV.35,clockrate128000

此命令可以验证串行接口是DCE端,还是DTE端。

R2#shcont

R2#shcontrollerss0/0/0

DTEV.35TXandRXclocksdetected

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 经管营销 > 生产经营管理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2