华为路由器的配置(实训).ppt
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《华为路由器的配置(实训).ppt》由会员分享,可在线阅读,更多相关《华为路由器的配置(实训).ppt(22页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、实训二十一、华为路由器的配置,重点内容 华为路由器的基本配置命令; 掌握华为路由器的配置;,实训一、华为路由器的基本配置,一、路由器的基本配置 system-view /从用户视图进入特权视图 password: /输入口令 Quidwaysysname R2621 /更改路由器名称为R2621 R2621 super password 123 /设置进入系统视图口令为123 R2621user-interface vty 0 4 /进入用户界面视图配置虚拟终端 R2621-ui-vty0-4authentication-mode password /设置验证方式为口令方式 R2621-ui-
2、vty0-4set authentication-mode password simple 222 /设置口令为222 R2621-ui-vty0-4user privilege level 3 /设置用户级别为3 R2621-ui-vty0-4quit /退回上一级模式,R2621interface ethernet0 /进入e0端口 R2621-Ethernet0ip addr 10.65.1.1 255.255.255.0 /配置该端口的IP地址 R2621-Ethernet0undo shutdown /激活该端口 R2621-Ethernet0quit /退回上一级模式 R2621i
3、nt e1 R2621-Ethernet1ip addr 10.66.1.1 255.255.255.0 R2621-Ethernet1undo shutdown R2621-Ethernet1 quit R2621 二、配置PC机的IP地址 HostA:IP:10.65.1.2 Sub-mask:255.255.0.0 gateway:10.65.1.1 HostB:IP:10.66.1.2 Sub-mask:255.255.0.0 gateway:10.66.1.1 三、测试连通性 HostA#ping 10.65.1.1 (通) ;HostA#ping 10.66.1.1 (通) Hos
4、tA#ping 10.66.1.2 (通) ;HostB#ping 10.66.1.1 (通) HostB#ping 10.65.1.1 (通) ;HostB#ping 10.65.1.2 (通),实训二、单臂路由的配置,一、配置PC机的IP地址 HostA:Ip:10.65.1.2/24 gateway:10.65.1.1 HostB:Ip:10.66.1.2/24 gateway:10.66.1.1,二、配置路由器接口IP地址 system-view password: Quidwayinterface ethernet0 /进入路由器e0端口 QuidwayEthernet0ip add
5、r 10.0.0.1 255.255.255.0 /配置IP地址 QuidwayEthernet0int e0.1 /进入e0端口的子接口 QuidwayEthernet0.1ip addr 10.65.1.1 255.255.255.0 /配置子接口IP地址 QuidwayEthernet0.1encapsulation dot1q 1 /对子接口封装协议 Quidway-Ethernet0.1undo shut /激活端口 Quidway-Ethernet0.1int e0.2 /进入e0端口的子接口 Quidway-Ethernet0.2ip addr 10.66.1.1 255.255
6、.255.0 Quidway-Ethernet0.2encapsulation dot1q 2 /对接口封装协议 Quidway-Ethernet0.2undo shut Quidwaydis curr,三、配置交换机 system-view password: Quidwaysysname s3026 /更改交换机名称为s3026 s3026vlan 2 /创建vlan2 s3026-vlan2port e0/3 /将交换机e0/3端口划分为vlan2 s3026vlan 3 /创建vlan3 s3026-vlan3port e0/6 /将交换机e0/6端口划分为vlan3 s3026int
7、 e0/1 s3026-Ethernet0/1port link-type trunk /设置e0/1端口为trunk模式 s3026-Ethernet0/1port trunk permit vlan all /允许该端口所有Vlan信息通过 s3026-Ethernet0/1port trunk encap dot1q /设置该端口封装802.1q协议 s3026dis curr /显示交换机配置信息 HostA#ping 10.66.1.2 (通),实训三、静态路由的配置,一、配置PC机的IP地址 HostA:Ip:10.65.1.2/24 gateway:10.65.1.1 HostB
8、:Ip:10.66.1.2/24 gateway:10.66.1.1,二、配置路由器 system-view password: Quidwaysysname RouterA RouterAinterface ethernet0 RouterA-Ethernet0ip addrress 10.65.1.1 255.255.0.0 RouterA-Ethernet0undo shutdown RouterA-Ethernet0int s0 RouterA-Serial0ip addrress 10.68.1.1 255.255.0.0 RouterA-Serial0undo shutdown R
9、outerA-Serial0clock rate 64000 /配置DCE端路由器的时钟频率 RouterA-Serial0quit RouterAip routing /启用路由功能 RouterAdis curr,RouterBinterface ethernet0 RouterB-Ethernet0ip addrress 10.66.1.1 255.255.0.0 RouterB-Ethernet0undo shutdown RouterB-Ethernet0int s0 RouterB-Serial0ip addrress 10.68.1.2 255.255.0.0 RouterB-S
10、erial0undo shutdown RouterB-Serial0quit RouterBip routing RouterBdis curr 三、测试连通性 HostA#ping 10.65.1.2 (通) HostA#ping 10.65.1.1 (通) HostA#ping 10.68.1.1 (通) HostA#ping 10.68.1.2 (不通) HostA#ping 10.66.1.2 (不通),RouterAip route-static 10.66.0.0 255.255.0.0 10.68.1.2 /配置RouterA的静态路由 RouterBip route-stat
11、ic 10.65.0.0 255.255.0.0 10.68.1.1 /配置RouterB的静态路由 HostA#ping 10.68.1.2 (通) HostA#ping 10.66.1.2 (通),实训四、动态路由协议(RIP)的配置,一、配置PC机的IP地址 HostA:IP:10.65.1.2/8,网关:10.65.1.1 HostB:IP:10.66.1.2/8,网关:10.66.1.1 HostC:IP:10.69.1.2/8,网关:10.69.1.1 HostD:IP:10.70.1.2/8,网关:10.70.1.1 二、配置路由器各接口的IP地址 system-view pas
12、sword: Quidwaysysname RouterA RouterAint e0 RouterA-Ethernet0ip add 10.65.1.1 255.0.0.0.0 RouterA-Ethernet0undo shut RouterA-Ethernet0quit RouterAint e1 RouterA-Ethernet1ip add 10.66.1.1 255.0.0.0 RouterA-Ethernet1undo shut RouterA-Ethernet1quit,RouterAint s1 RouterA-Serial1ip add 10.67.1.1 255.0.0.
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 路由器 配置 实训
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内