华为静态路由实验练习

合集下载

动态路由引入静态实验

动态路由引入静态实验

课程名称华为HCIA实验课程实验
成绩
实验名称静态路由引入OSPF区域配置
学号姓名班级日期
实验目的:
1.掌握静态路由和动态路由OSPF的配置
2.将静态路由和动态路由OSPF结合使用,这也是企业中常用到的一个技术。

实验平台:
ENSP
一、实验任务
能够完善的配置各个路由器上OSPF,然后将静态路由引入到OSPF区域中去。

二、网络规划
R1、R2和R3上启动OSPF路由协议
R4和R5上配置静态路由
在R3上将静态路由引入到OSPF中去
三、网络结构图如下所示
四、实验步骤
配置思路:
1,先配置五个路由器的配置
2,在R1、R2和R3上配置OSPF动态路由协议。

3,在路由器R3、R4和R5上配置静态路由。

4,在R3上将静态路由引入OSPF区域。

具体的配置如下:
1,配置R1路由器
从路由表中可以看出,R1、R2和R3中都引入了静态路由。

9,当退出ensp时,点击保存。

实验总结(结论或问题分析):。

实验三--路由器静态路由表配置实验

实验三--路由器静态路由表配置实验

实验三、路由器静态路由表配置实验一、实验目的:1、进一步了解网络层,了解TCP/IP协议集2、了解IP配置和管理技术3、学习路由器操作,掌握路由器命令4、了解静态选路与动态选路5、进一步学习A、B、C、D、E五类IP地址二、基本原理:路由器是运行在OSI模型网络层上的网络设备,它们将网段和整个网络连接起来,如图3-1所示。

图3-1 路由选择路由器能使网络协议在不同的LAN和WAN系统之间转换,从而解决异构网络互联的问题。

路由器除支持静态路由算法外,还必须支持动态的、自适应的路由选择算法,常用的路由选择协议包括:路由信息协议(RIP)、增强内部网关协议(EIGRP)、和最短路径协议(OSPF)。

Microsoft 的Windows 2000 server 是一个具有完整功能的软件路由器,这意味着Windows2000 Server可以通过几个网络协议(如IPX/SPX各TCP/IP)在不同的网络中路由数据包。

与硬件路由器不同的是,硬件路由器是专门设计用来作路由选择用的,大多数的硬件路由器除了提供IP层的服务外,不执行其它的任务,而Windows 2000 Server软件路由器则同时提供网络层以上的功能。

路由表是一个TCP/IP路由选择集合,它包含了一些关于IP地址网络ID,及转发IP地址的数据,它可以使IP数据报文到达互联网络的某一个网段。

在实验室环境下,由于网络比较简单,路由表的内容不是很复杂,如果是登录到国际互联网,则路由表中的路由条目会比较多,但在实验环境与互联网环境下的路由论断命令是一样的。

路由表中有活动路由与可持续路由两个选项。

活动路由可以由操作系统添加到路由表中,也可以由你手工添加。

可持续路由是静态的,只能手工添加到路由表中。

两者之间的区别是,活动路由在计算机关闭和重启时被丢弃,但可持续路由总是保留在计算机中,除非手工删除这个路由表项。

Windows98环境下的路由命令有两个,一个是route命令,一个是tracert 命令,可以在命令提示符下运行。

实验 2.8.2:静态路由配置练习

实验 2.8.2:静态路由配置练习

实验 2.8.2:静态路由配置练习拓扑图地址表设备接口IP 地址子网掩码默认网关Fa0/0 不适用BRANCHS0/0/0 不适用Fa0/0 不适用HQS0/0/0 不适用S0/0/1 209.165.201.2 255.255.255.252 不适用Fa0/0 209.165.200.225 255.255.255.224 不适用ISPS/0/0 209.165.201.1 255.255.255.252 不适用PC1 网卡PC2 网卡Web 服务器网卡209.165.200.253 255.255.255.224 209.165.200.225学习目标完成本实验后,您将能够:•根据指定的要求对地址空间划分子网。

•为接口分配适当的地址,并进行记录。

•根据拓扑图进行网络布线。

•清除启动配置并将路由器重新加载为默认状态。

•在路由器上执行基本配置任务。

•配置并激活串行接口和以太网接口。

•确定适当的静态路由、总结路由和默认路由。

•测试并校验配置。

•思考网络实施并整理成文档。

场景在本次实验练习中,您将得到一个网络地址,您必须对其进行子网划分以便完成如拓扑结构图所示的网络编址。

连接到 ISP 路由器的 LAN 编址和 HQ 与 ISP 路由器之间的链路已经完成。

但还需要配置静态路由以便非直连网络中的主机能够彼此通信。

任务 1:对地址空间划分子网。

步骤 1:研究网络要求。

连接到 ISP 路由器的 LAN 编址和 HQ 与 ISP 路由器之间的链路已经完成。

在您的网络设计中,您可以使用 192.168.2.0/24 地址空间。

请对该网络进行子网划分,以提供足够的 IP 地址来支持 60 台主机。

步骤 2:创建网络设计时请思考以下问题:需要将 192.168.2.0/24 网络划分为多少个子网? __________这些子网的网络地址分别是什么?子网 0: ________________________________________子网 1: ________________________________________子网 2: ________________________________________子网 3: ________________________________________这些网络以点分十进制格式表示的子网掩码是什么? __________________________以斜杠格式表示的网络子网掩码是什么? __________每个子网可支持多少台主机? __________步骤 3:为拓扑图分配子网地址。

实验静态路由与RIP路由协议设置参考答案

实验静态路由与RIP路由协议设置参考答案

实验11:静态路由协议和R I P路由协议设置一、实验目的:熟悉静态路由和RIP路由协议的配置原理,掌握它的配置方法。

二、实验拓扑如下:创建以下拓扑结构并配置路由器,使得各路由器(静态和动态两种)可以相互ping得通。

三、实验步骤:1、首先按上图连接好路由器注意:路由器通常通过串行端口连接广域网络,因此路由器通常是DTE设备,modem、GV转换器等等传输设备通常被规定为DCE。

其实对于标准的串行端口,通常从外观就能判断是DTE还是DCE,DTE是针头(俗称公头),DCE是孔头(俗称母头),这样两种接口才能接在一起。

比如一台路由器,它处于网络的边缘,它有一个S0口需要从另一台路由器中学习到一些参数,具体实施时,我们就不需在这个S0口配“时钟速率”,它从对方学到。

这时它就是DTE,而对方就是DCE。

①添加路由的模块接口,如下图所示:②连线的时候注意不同的接口,连线选择DTE线,如下图所示:③设置之前需要打开对应的端口的电源,如图所示:2、按拓扑图规划IP 地址:A :S0/0 :/24 S0/1:/24B :S0/0 :/24 S0/1:/24C :S0/0 :/24 S0/1:/24D :S0/0 :/24 S0/1:/24在各路由器上配置IP地址,保证在链路的连通性如:A(config)# int S0/0A(config-if)#ip addressA(config-if)#no shutdownA(config)#int S0/1A(config-if)#ip addressA(config-if)#no shutdown同样道理同学们配置余下的三个路由器。

请记着配置时钟频率:路由器的接口模式下:Router(config-if)#clock rate 128000实验过程可以通过思科虚拟器的操作界面进行设置,但最好通过路由命令来进行配置,视窗操作中设置路由端口需设置以下内容,如下图所示:3、在每个路由器上配置静态路由协议命令格式:ip route 目标地址段目标地址子网掩码下一跳地址(即距离此路由器最近相连的S0地址)配置A的静态路由协议协议:A(config)#ip routeA(config)#ip routeA(config)#endA#copy run start同样道理同学们配置余下的三个路由器的静态路由协议。

华为ENSP网络实验

华为ENSP网络实验

ENSP网络实验操作练习题2015.8byHancool目录1.1交换机基本配置错误!未指定书签。

1.4.11.4.22.52.6DHCPSnooping与地址绑定错误!未指定书签。

1.1交换机基本配置(1)拓扑结构(2)配置要求SW1:1、本地用户:user,密码qazxsw12,权限等级1,可进行ssh远程访问和本地控制台登录,密码加密显示。

2、设置super密码:qazxsw12,密码加密显示3、设置远程访问使用SSH方式,关闭telnet;远程访问使用用户名和密码验证;4、本地控制台只使用密码验证,登录密码为poiuyt12,默认权限为1级。

5、修改交换机名称为sw1,配置管理IP地址,设置缺省网关为6、配置SNMP信息,采用v3认证加密方式,snmp组为snmp_group,只读权限,snmp用户/密码为snmp_user/snmppassword,采用md5方式。

7、配置发送trap到网管主机,securityname为交换机名称。

SW2:1、本地用户:user,密码qazxsw12,权限等级1,可进行telnet、ssh远程访问和本地控制台登录,密码加密显示。

2、设置super密码:qazxsw12,密码加密显示3、设置远程访问使用SSH和telnet方式;远程访问使用用户名和密码验证;4、本地控制台使用用户密码方式登录;5、修改交换机名称为sw2,配置管理IP地址,设置缺省网关为6、配置SNMP信息,采用v2方式,只读权限,snmp用户为snmp_user。

711.2.1(1(212(1(21234(1(21231.3.1配置基本RSTP(1)拓扑结构(2)配置要求:1、在所有交换机上启用RSTP,并设置SW1为主根桥,SW2为备根桥2、观察被STP阻塞的交换机上的端口3、任意关闭四个交换机互联的端口中的一个端口模拟链路断电,观察STP发生的变化1.3.2配置RSTP更多功能(优先级、根桥保护、边缘端口等)(2123、在SW1上启用根设备保护4、对于SW5,设置端口的STP路径开销值,使eth0/0/2为根端口。

实验四 静态路由配置

实验四 静态路由配置

实验四静态路由配置1、设备连接:在模拟界面中添加两台交换机,两台路由器,四台主机,分别点击端口连线,如图:2、进入路由器routerA,双击图标,进入配置界面,输入命令<Quidwqy>system 进入配置模式[Quidway]sysname routerA 命名routerA [RouterA]int e0 进入端口E0[RouterA -Ethernet0]ip addr 10.65.1.3 255.255.0.0 为E0端口配置ip地址[RouterA -Ethernet0]undo shutdown 激活配置[RouterA-Ethernet1]int s1 进入S1端口配置[RouterA-Serial1]ip addrress 10.68.1.1 255.255.0.0 为S1端口配置ip地址[RouterA-Serial1] clock rate 64000 设定同步速率[RouterA-Serial1] undo shutdown[RouterA-Serial1]quit[RouterA]ip routing[RouterA]dis curr 显示配置3、进入路由器routerB,双击图标,进入配置界面,输入命令<Quidwqy>system 进入配置模式[Quidway]sysname routerB 命名routerB [RouterB]int e0 进入端口E0[RouterB -Ethernet0]ip addr 10.66.1.3 255.255.0.0 为E0端口配置ip地址[RouterB -Ethernet0]undo shutdown 激活配置[RouterB-Ethernet1]int s0 进入S1端口配置[RouterB-Serial0]ip addrress 10.68.1.2 255.255.0.0 为S1端口配置ip地址[RouterB-Serial0] undo shutdown[RouterB-Serial0]quit[RouterB]ip routing[RouterB]dis curr 显示配置3、分别为主机PCA、PCB、PCC、PCD配置ip地址和默认网关双击PCA,进入配置界面,输入命令PCA login:rootPassword:linux[root@PCA root]#ifconfig eth0 10.65.1.1 netmask 255.255.0.0[root@PCA root]#route add default gw 10.65.1.3配置PCA的ip地址和默认网关双击PCB,进入配置界面,输入命令PCB login:rootPassword:linux[root@PCB root]#ifconfig eth0 10.65.1.2 netmask 255.255.0.0[root@PCB root]#route add default gw 10.65.1.3配置PCB的ip地址和默认网关双击PCC,进入配置界面,输入命令PCC login:rootPassword:linux[root@PCC root]#ifconfig eth0 10.66.1.1 netmask 255.255.0.0[root@PCC root]#route add default gw 10.66.1.3配置PCC的ip地址和默认网关双击PCD,进入配置界面,输入命令PCD login:rootPassword:linux[root@PCD root]#ifconfig eth0 10.66.1.2 netmask 255.255.0.0[root@PCD root]#route add default gw 10.66.1.3配置PCD的ip地址和默认网关4、测试:双击进入PCA,ping其他三台主机以及路由器routerA的E0、S1端口;路由器routerB的E0、S0端口,发现除了PCB,routerA的E0、S1端口可以ping 通外,其余皆无法ping通。

静态路由的配置实验报告

静态路由的配置实验报告

静态路由的配置实验报告静态路由的配置实验报告概述:静态路由是网络中常用的一种路由配置方式,它通过手动配置路由表来指定数据包的转发路径。

本实验旨在通过配置静态路由,实现不同网络之间的通信,并对配置过程和结果进行分析。

实验环境:本实验使用了三台虚拟机,分别代表不同的网络。

其中,虚拟机A位于192.168.1.0/24网络,虚拟机B位于192.168.2.0/24网络,虚拟机C位于192.168.3.0/24网络。

虚拟机A作为路由器,连接了虚拟机B和虚拟机C。

实验步骤:1. 配置虚拟机A的网络接口:在虚拟机A中,打开终端,输入命令“sudo ifconfig eth0 192.168.1.1/24”来配置eth0接口的IP地址为192.168.1.1,子网掩码为255.255.255.0。

2. 配置虚拟机B的网络接口:在虚拟机B中,打开终端,输入命令“sudo ifconfig eth0 192.168.2.1/24”来配置eth0接口的IP地址为192.168.2.1,子网掩码为255.255.255.0。

3. 配置虚拟机C的网络接口:在虚拟机C中,打开终端,输入命令“sudo ifconfig eth0 192.168.3.1/24”来配置eth0接口的IP地址为192.168.3.1,子网掩码为255.255.255.0。

4. 配置虚拟机A的静态路由:在虚拟机A中,打开终端,输入命令“sudo route add -net 192.168.2.0netmask 255.255.255.0 gw 192.168.1.1”来添加到达192.168.2.0/24网络的静态路由,下一跳为192.168.1.1。

同样地,输入命令“sudo route add -net 192.168.3.0 netmask 255.255.255.0gw 192.168.1.1”来添加到达192.168.3.0/24网络的静态路由。

实验二 路由器的配置方法和静态路由

实验二  路由器的配置方法和静态路由

实验二 路由器的配置和静态路由一、实验目的:1、掌握设备系统参数的配置方法2、掌握配置路由器接口IP 地址的方法3、掌握测试两台直连路由器连通性的方法4、掌握静态路由以及静态备份路由的配置方法5、掌握测试静态路由连通性的方法二、实验环境配置网卡的计算机。

华为ensp 模拟软件。

交换机与路由器。

三、实验内容1、掌握路由器的基本配置方法2、配置静态路由3、配置静态备份路由四、实验步骤1、路由器的基本配置(1)实验拓扑图注意:设计拓扑时,路由器请选择Router ,如右图。

连线时请注意拓扑中的端口编号,不要搞错。

(2)启动路由器(3)基本配置:a.视图切换:b.在系统中输入命令时,问号是通配符,可以查看命令细节。

例:[Huawei]sys?sysname[Huawei]interface ?Atm-Bundle Atm-Bundle interface 用户视图 <Huawei> 端口视图 [Huawei-port]系统视图 [Huawei] System-view quit Interface port quitAtm-Trunk Atm-Trunk interfaceBridge-if Bridge-if interfaceCpos-Trunk Cpos-Trunk interface......c.Tab键是自动联想并补全命令的快捷键。

例:[Huawei]interface gi[Huawei]interface GigabitEthernet(4)配置路由器a.双击设备进入配置页面,显示用户视图。

b.执行display version命令,查看路由器的软件版本与硬件信息。

<Huawei>dis verHuawei Versatile Routing Platform SoftwareVRP (R) software, Version 5.110 (eNSP V100R001C00)Copyright (c) 2000-2011 HUAWEI TECH CO., LTDc.进入系统视图:使用system-view命令可以进入系统视图,这样才可以配置接口、协议等内容。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

R1配置情况:< Huawei >< Huawei >< Huawei >clo< Huawei >clock d< Huawei >clock datetime 18:30:00 2017-03-05 [Huawei]sy[Huawei]sysname R1Mar 5 2017 18:30:19-08:00Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt hernet0/0/1 has turned into UP state.[Huawei]sysname R1[R1][R1][R1]<R1>sy<R1>system-viewEnter system view, return user view with Ctrl+Z.[R1][R1]su[R1]super p[R1]super password c[R1]super password cipher 123456[R1][R1]us[R1]user-i[R1]user-interface v[R1]user-interface vty 0 4[R1-ui-vty0-4][R1-ui-vty0-4]au[R1-ui-vty0-4]authentication-mode p[R1-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R1-ui-vty0-4][R1-ui-vty0-4]se[R1-ui-vty0-4]set au[R1-ui-vty0-4]set authentication p[R1-ui-vty0-4]set authentication password c[R1-ui-vty0-4]set authentication password cipher 123456[R1-ui-vty0-4][R1-ui-vty0-4]q[R1][R1][R1]int[R1]interface g[R1]interface GigabitEthernet 0/0/0[R1-GigabitEthernet0/0/0][R1-GigabitEthernet0/0/0]ip add[R1-GigabitEthernet0/0/0]ip address 24[R1-GigabitEthernet0/0/0]Mar 5 2017 18:51:37-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state. [R1-GigabitEthernet0/0/0][R1-GigabitEthernet0/0/0]un[R1-GigabitEthernet0/0/0]undo sh[R1-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown.[R1-GigabitEthernet0/0/0]q[R1][R1]int[R1]interface g[R1]interface GigabitEthernet 0/0/1[R1-GigabitEthernet0/0/1]ip ad[R1-GigabitEthernet0/0/1]ip address 24[R1-GigabitEthernet0/0/1]Mar 5 2017 18:53:23-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R1-GigabitEthernet0/0/1]un[R1-GigabitEthernet0/0/1]undo sh[R1-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R1-GigabitEthernet0/0/1][R1-GigabitEthernet0/0/1]q[R1][R1]dis[R1]display ip int[R1]display ip interface b[R1]display ip interface brief*down: administratively down^down: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 3The number of interface that is DOWN in Physical is 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R1][R1][R1]Please check whether system data has been changed, and savedata in timeConfiguration console time out, please press any key to log on<R1><R1><R1><R1>syEnter system view, return user view with Ctrl+Z.[R1][R1][R1]ip ro[R1]ip route-[R1]ip route-static[R1][R1]ip ro[R1]ip route-[R1]ip route-static[R1][R1][R1]dis[R1]display ip ro[R1]display ip routing-tableRoute Flags: R - relay, D - download to fib------------------------------------------------------------------------------Routing Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/24 Static 60 0 RD GigabitEthernet0/0/1/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/24 Static 60 0 RD GigabitEthernet0/0/1/32 Direct 0 0 D InLoopBack0[R1]Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R1>pingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Sequence=1 ttl=254 time=50 msReply from : bytes=56 Sequence=2 ttl=254 time=30 msReply from : bytes=56 Sequence=3 ttl=254 time=50 msReply from : bytes=56 Sequence=4 ttl=254 time=30 msReply from : bytes=56 Sequence=5 ttl=254 time=20 ms--- ping statistics ---5 packet(s) transmitted5 packet(s) received% packet lossround-trip min/avg/max = 20/36/50 ms<R1>pingPING : 56 data bytes, press CTRL_C to breakRequest time outReply from : bytes=56 Sequence=2 ttl=126 time=40 msReply from : bytes=56 Sequence=3 ttl=126 time=30 msReply from : bytes=56 Sequence=4 ttl=126 time=50 msReply from : bytes=56 Sequence=5 ttl=126 time=40 ms--- ping statistics ---5 packet(s) transmitted4 packet(s) received% packet lossround-trip min/avg/max = 30/40/50 ms<R1>saveThe current configuration will be written to the device. Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file, please wait.........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R1>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onR2配置如下<Huawei>clo<Huawei>clock d<Huawei>clock datetime 18:56:00 2017-03-05<Huawei><Huawei>sy<Huawei>system-viewEnter system view, return user view with Ctrl+Z.[Huawei][Huawei]sy[Huawei]sysname R2[R2][R2]su[R2]super p[R2]super password c[R2]super password cipher 123456[R2][R2]us[R2]user-i[R2]user-interface v[R2]user-interface vty 0 4[R2-ui-vty0-4][R2-ui-vty0-4]au[R2-ui-vty0-4]authentication-mode p[R2-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R2-ui-vty0-4][R2-ui-vty0-4]se[R2-ui-vty0-4]set au[R2-ui-vty0-4]set authentication P[R2-ui-vty0-4]set authentication password C[R2-ui-vty0-4]set authentication password cipher 123456[R2-ui-vty0-4][R2-ui-vty0-4]q[R2][R2]int[R2]interface G[R2]interface GigabitEthernet 0/0/0[R2-GigabitEthernet0/0/0][R2-GigabitEthernet0/0/0]ip ad[R2-GigabitEthernet0/0/0]ip address 24[R2-GigabitEthernet0/0/0]un[R2-GigabitEthernet0/0/0]undo sh[R2-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown. [R2-GigabitEthernet0/0/0][R2-GigabitEthernet0/0/0]q[R2][R2]int[R2]interface G[R2]interface GigabitEthernet 0/0/1[R2-GigabitEthernet0/0/1][R2-GigabitEthernet0/0/1]ip add[R2-GigabitEthernet0/0/1]ip address 24[R2-GigabitEthernet0/0/1]Mar 5 2017 19:02:40-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R2-GigabitEthernet0/0/1]un[R2-GigabitEthernet0/0/1]undo sh[R2-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R2-GigabitEthernet0/0/1][R2-GigabitEthernet0/0/1]quit[R2][R2][R2]dis[R2]display ip int[R2]display ip interface B[R2]display ip interface brief*down: administratively down^down: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 3The number of interface that is DOWN in Physical is 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R2]<R2><R2>sy<R2>system-viewEnter system view, return user view with Ctrl+Z.[R2][R2]ip rou[R2]ip route-[R2]ip route-static[R2][R2]ip ro[R2]ip route-[R2]ip route-static[R2][R2]dis[R2]display ip ro[R2]display ip routing-tableRoute Flags: R - relay, D - download to fib------------------------------------------------------------------------------Routing Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Static 60 0 RD GigabitEthernet0/0/0/24 Static 60 0 RD GigabitEthernet0/0/1/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D InLoopBack0[R2]Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R2><R2><R2><R2>saveThe current configuration will be written to the device.Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file, please wait.........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R2>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onR3配置如下<Huawei>clo<Huawei>clock d<Huawei>clock datetime 19:05:00 2017-03-05<Huawei><Huawei>sy<Huawei>system-viewEnter system view, return user view with Ctrl+Z.[Huawei][Huawei]sy[Huawei]sysname R3[R3][R3]su[R3]super p[R3]super password c[R3]super password cipher 123456[R3][R3]user-i[R3]user-interface v[R3]user-interface vty 0 4[R3-ui-vty0-4]au[R3-ui-vty0-4]authentication-mode p[R3-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R3-ui-vty0-4][R3-ui-vty0-4]se[R3-ui-vty0-4]set au[R3-ui-vty0-4]set authentication p[R3-ui-vty0-4]set authentication password c[R3-ui-vty0-4]set authentication password cipher 123456[R3-ui-vty0-4][R3-ui-vty0-4]q[R3][R3]int[R3]interface g[R3]interface GigabitEthernet 0/0/0[R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]ip ad[R3-GigabitEthernet0/0/0]ip address 24[R3-GigabitEthernet0/0/0]Mar 5 2017 19:08:28-08:00 R3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state. [R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]un[R3-GigabitEthernet0/0/0]undo sh[R3-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown.[R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]q[R3][R3]int[R3]interface g[R3]interface GigabitEthernet 0/0/1[R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]ip ad[R3-GigabitEthernet0/0/1]ip address 24[R3-GigabitEthernet0/0/1]Mar 5 2017 19:09:54-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]un[R3-GigabitEthernet0/0/1]undo sh[R3-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]q[R3][R3]dis[R3]display ip int[R3]display ip interface b[R3]display ip interface brief*down: administratively down^down: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 3The number of interface that is DOWN in Physical is 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R3][R3]<R3>sy<R3>system-viewEnter system view, return user view with Ctrl+Z.[R3][R3]iPlease check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R3><R3><R3>sy<R3>system-viewEnter system view, return user view with Ctrl+Z.[R3][R3][R3]ip ro[R3]ip route-[R3]ip route-static[R3][R3]ip ro[R3]ip route-[R3]ip route-static[R3][R3]dis[R3]display ip ro[R3]display ip routing-tableRoute Flags: R - relay, D - download to fibRouting Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Static 60 0 RD GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/24 Static 60 0 RD GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet 0/0/0/32 Direct 0 0 D GigabitEthernet 0/0/0/32 Direct 0 0 D InLoopBack0[R3][R3][R3]pingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Sequence=1 ttl=254 time=350 msReply from : bytes=56 Sequence=2 ttl=254 time=90 msReply from : bytes=56 Sequence=3 ttl=254 time=50 msReply from : bytes=56 Sequence=4 ttl=254 time=40 msReply from : bytes=56 Sequence=5 ttl=254 time=40 ms--- ping statistics ---5 packet(s) transmitted5 packet(s) received% packet lossround-trip min/avg/max = 40/114/350 ms[R3]pingPING : 56 data bytes, press CTRL_C to breakRequest time outReply from : bytes=56 Sequence=2 ttl=126 time=40 msReply from : bytes=56 Sequence=3 ttl=126 time=60 msReply from : bytes=56 Sequence=4 ttl=126 time=30 msReply from : bytes=56 Sequence=5 ttl=126 time=40 ms--- ping statistics ---5 packet(s) transmitted4 packet(s) received% packet lossround-trip min/avg/max = 30/42/60 ms[R3]save^Error: Unrecognized command found at '^' position.[R3]q<R3><R3>saveThe current configuration will be written to the device. Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file,please wait..........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R3>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onPC1测试PC2测试。

相关文档
最新文档