HCNA配置浮动静态路由
1、拓扑图
2、配置IP
R1
1 Please press enter to start cmd line! 2 ############ 3 <Huawei> 4 Dec 10 2017 14:59:09-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt 5 hernet0/0/0 has turned into UP state. 6 <Huawei> 7 Dec 10 2017 14:59:12-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface Serial2/0 8 /0 has turned into UP state. 9 <Huawei> 10 Dec 10 2017 14:59:15-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol 11 PPP on the interface Serial2/0/0 has entered the UP state. 12 <Huawei>sys 13 Enter system view, return user view with Ctrl+Z. 14 [Huawei]sysname R1 15 [R1]int g0/0/0 16 [R1-GigabitEthernet0/0/0]ip add 12.1.1.1 24 17 Dec 10 2017 15:00:43-08:00 R1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP 18 on the interface GigabitEthernet0/0/0 has entered the UP state. 19 [R1-GigabitEthernet0/0/0]q 20 [R1]int s 21 [R1]int Serial 1 22 [R1]int Serial 1 23 ^ 24 Error: Wrong parameter found at '^' position. 25 [R1]int Serial 26 [R1]int Serial ? 27 <2-2> Serial interface slot number 28 [R1]int Serial 2 29 ^ 30 Error: Wrong parameter found at '^' position. 31 [R1]int Serial 2/0/0 32 [R1-Serial2/0/0]ip add 11.1.1.1 24 33 [R1-Serial2/0/0]q 34 [R1] 35 Dec 10 2017 15:03:52-08:00 R1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol PPP 36 IPCP on the interface Serial2/0/0 has entered the UP state. 37 [R1]dis ip int 38 [R1]dis ip interface bri 39 *down: administratively down 40 ^down: standby 41 (l): loopback 42 (s): spoofing 43 The number of interface that is UP in Physical is 3 44 The number of interface that is DOWN in Physical is 2 45 The number of interface that is UP in Protocol is 3 46 The number of interface that is DOWN in Protocol is 2 47 48 Interface IP Address/Mask Physical Protocol 49 GigabitEthernet0/0/0 12.1.1.1/24 up up 50 GigabitEthernet0/0/1 unassigned down down 51 NULL0 unassigned up up(s) 52 Serial2/0/0 11.1.1.1/24 up up 53 Serial2/0/1 unassigned down down 54 [R1]
View Code
R2
1 Please press enter to start cmd line! 2 #### 3 <Huawei> 4 Dec 10 2017 14:59:07-08:00 Huawei %%01IFNET/4/BOARD_ENABLE(l)[0]:Board 1 has bee 5 n available. 6 <Huawei> 7 Dec 10 2017 14:59:07-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[1]:Interface GigabitE 8 thernet1/0/0 has been available. 9 <Huawei> 10 Dec 10 2017 14:59:08-08:00 Huawei %%01DEV/4/ENTUP(l)[2]:2SA board[2] register su 11 ccess. 12 <Huawei> 13 Dec 10 2017 14:59:08-08:00 Huawei %%01IFNET/4/BOARD_ENABLE(l)[3]:Board 2 has bee 14 n available. 15 <Huawei> 16 Dec 10 2017 14:59:08-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[4]:Interface Serial2/ 17 0/0 has been available. 18 <Huawei> 19 Dec 10 2017 14:59:08-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[5]:Interface Serial2/ 20 0/1 has been available. 21 <Huawei> 22 Dec 10 2017 14:59:10-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[6]:Interface GigabitEt 23 hernet0/0/0 has turned into UP state. 24 <Huawei> 25 Dec 10 2017 14:59:10-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[7]:Interface GigabitEt 26 hernet0/0/1 has turned into UP state. 27 <Huawei> 28 Dec 10 2017 14:59:12-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[8]:Interface Serial2/0 29 /0 has turned into UP state. 30 <Huawei> 31 Dec 10 2017 14:59:15-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[9]:The line protocol 32 PPP on the interface Serial2/0/0 has entered the UP state. 33 <Huawei>sys 34 Enter system view, return user view with Ctrl+Z. 35 [Huawei]sysname R2 36 [R2]int 37 [R2]interface g0/0/0 38 [R2-GigabitEthernet0/0/0]ip add 12.1.1.2 24 39 Dec 10 2017 15:03:19-08:00 R2 %%01IFNET/4/LINK_STATE(l)[10]:The line protocol IP 40 on the interface GigabitEthernet0/0/0 has entered the UP state. 41 [R2-GigabitEthernet0/0/0]q 42 [R2]int s2/0/0/ 43 ^ 44 Error: Wrong parameter found at '^' position. 45 [R2]int s 46 [R2]int Serial 2/0/0 47 [R2-Serial2/0/0]ip add 11.1.1.2 24 48 [R2-Serial2/0/0] 49 Dec 10 2017 15:03:52-08:00 R2 %%01IFNET/4/LINK_STATE(l)[11]:The line protocol PP 50 P IPCP on the interface Serial2/0/0 has entered the UP state. 51 [R2-Serial2/0/0]q 52 [R2]int 53 [R2]interface g0/0/1 54 [R2-GigabitEthernet0/0/1]ip add 10.1.1.1 24 55 Dec 10 2017 15:04:49-08:00 R2 %%01IFNET/4/LINK_STATE(l)[12]:The line protocol IP 56 on the interface GigabitEthernet0/0/1 has entered the UP state. 57 [R2-GigabitEthernet0/0/1]q 58 [R2]interface g0/0/1 59 [R2-GigabitEthernet0/0/1]ip add 10.1.1.2 24 60 [R2-GigabitEthernet0/0/1]q 61 [R2]dis ip int 62 [R2]dis ip interface br 63 [R2]dis ip interface brief 64 *down: administratively down 65 ^down: standby 66 (l): loopback 67 (s): spoofing 68 The number of interface that is UP in Physical is 4 69 The number of interface that is DOWN in Physical is 2 70 The number of interface that is UP in Protocol is 4 71 The number of interface that is DOWN in Protocol is 2 72 73 Interface IP Address/Mask Physical Protocol 74 GigabitEthernet0/0/0 12.1.1.2/24 up up 75 GigabitEthernet0/0/1 10.1.1.2/24 up up 76 GigabitEthernet1/0/0 unassigned down down 77 NULL0 unassigned up up(s) 78 Serial2/0/0 11.1.1.2/24 up up 79 Serial2/0/1 unassigned down down 80 [R2]
View Code
R3
1 The device is running! 2 3 <Huawei> 4 Dec 10 2017 14:59:09-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt 5 hernet0/0/1 has turned into UP state. 6 <Huawei>sys 7 Enter system view, return user view with Ctrl+Z. 8 [Huawei]sysname R3 9 [R3]int g0/0/1 10 [R3-GigabitEthernet0/0/1]ip add 10.1.1.3 24 11 [R3-GigabitEthernet0/0/1] 12 Dec 10 2017 15:06:03-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 13 on the interface GigabitEthernet0/0/1 has entered the UP state. 14 [R3-GigabitEthernet0/0/1]q 15 [R3]dis ip int bri 16 *down: administratively down 17 ^down: standby 18 (l): loopback 19 (s): spoofing 20 The number of interface that is UP in Physical is 2 21 The number of interface that is DOWN in Physical is 6 22 The number of interface that is UP in Protocol is 2 23 The number of interface that is DOWN in Protocol is 6 24 25 Interface IP Address/Mask Physical Protocol 26 GigabitEthernet0/0/0 unassigned down down 27 GigabitEthernet0/0/1 10.1.1.3/24 up up 28 GigabitEthernet0/0/2 unassigned down down 29 GigabitEthernet2/0/0 unassigned down down 30 GigabitEthernet2/0/1 unassigned down down 31 GigabitEthernet2/0/2 unassigned down down 32 GigabitEthernet2/0/3 unassigned down down 33 NULL0 unassigned up up(s) 34 [R3]
View Code
3、R1配置浮动静态路由
[R1]ip rou [R1]ip route-s [R1]ip route-static 10.1.1.0 24 g0/0/0 12.1.1.2 [R1]ip rou [R1]ip route-st [R1]ip route-static 10.1.1.0 24 se [R1]ip route-static 10.1.1.0 24 Serial 2/0/0 11.1.1.2 [R1]dis ip rou [R1]dis ip routing-table Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: PublicDestinations : 12 Routes : 13 Destination/Mask Proto Pre Cost Flags NextHop Interface10.1.1.0/24 Static 60 0 D 12.1.1.2 GigabitEthernet 0/0/0Static 60 0 D 11.1.1.2 Serial2/0/011.1.1.0/24 Direct 0 0 D 11.1.1.1 Serial2/0/011.1.1.1/32 Direct 0 0 D 127.0.0.1 Serial2/0/011.1.1.2/32 Direct 0 0 D 11.1.1.2 Serial2/0/011.1.1.255/32 Direct 0 0 D 127.0.0.1 Serial2/0/012.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet 0/0/012.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/012.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/0127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0 255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0[R1]ip route-static 10.1.1.0 24 Serial 2/0/0 11.1.1.2 pri [R1]ip route-static 10.1.1.0 24 Serial 2/0/0 11.1.1.2 pr [R1]ip route-static 10.1.1.0 24 Serial 2/0/0 11.1.1.2 preference ?INTEGER<1-255> Preference value range [R1]ip route-static 10.1.1.0 24 Serial 2/0/0 11.1.1.2 preference 66 Info: Succeeded in modifying route. [R1]dis ip ro [R1]dis ip routing-table Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: PublicDestinations : 12 Routes : 12 Destination/Mask Proto Pre Cost Flags NextHop Interface10.1.1.0/24 Static 60 0 D 12.1.1.2 GigabitEthernet 0/0/011.1.1.0/24 Direct 0 0 D 11.1.1.1 Serial2/0/011.1.1.1/32 Direct 0 0 D 127.0.0.1 Serial2/0/011.1.1.2/32 Direct 0 0 D 11.1.1.2 Serial2/0/011.1.1.255/32 Direct 0 0 D 127.0.0.1 Serial2/0/012.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet 0/0/012.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/012.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/0127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0 255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0[R1]int [R1]interface g [R1]interface GigabitEthernet 0/0/0 [R1-GigabitEthernet0/0/0]shut [R1-GigabitEthernet0/0/0]shutdown Dec 10 2017 15:13:51-08:00 R1 %%01IFPDT/4/IF_STATE(l)[5]:Interface GigabitEthern et0/0/0 has turned into DOWN state. [R1-GigabitEthernet0/0/0] [R1-GigabitEthernet0/0/0] Dec 10 2017 15:13:51-08:00 R1 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the DOWN state. [R1-GigabitEthernet0/0/0]dis ip ro [R1-GigabitEthernet0/0/0]dis ip rou [R1-GigabitEthernet0/0/0]dis ip rout [R1-GigabitEthernet0/0/0]q [R1]dis ip rou [R1]dis ip routing-table Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: PublicDestinations : 9 Routes : 9 Destination/Mask Proto Pre Cost Flags NextHop Interface10.1.1.0/24 Static 66 0 D 11.1.1.2 Serial2/0/011.1.1.0/24 Direct 0 0 D 11.1.1.1 Serial2/0/011.1.1.1/32 Direct 0 0 D 127.0.0.1 Serial2/0/011.1.1.2/32 Direct 0 0 D 11.1.1.2 Serial2/0/011.1.1.255/32 Direct 0 0 D 127.0.0.1 Serial2/0/0127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0 255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0[R1]
转载于:https://www.cnblogs.com/me80/p/8017003.html
HCNA配置浮动静态路由相关推荐
- 中兴路由器中浮动静态路由的配置
一.实验目的 1.掌握中兴1800路由器的工作原理. 2.熟练掌握浮动静态路由的配置过程. 二.实验内容 1.绘制拓扑图,根据拓扑图进行试验: 2.配置路由器,并最终验证网络的连通性. 三.实验过程 ...
- 交换机堆叠+链路聚合+浮动静态路由
交换机堆叠+链路聚合+浮动静态路由 堆叠技术 实验用到的软件 实验拓扑 IRF堆叠 设备配置 MAD 端口聚合配置 浮动静态路由 堆叠技术 近期做项目用到了堆叠技术,本次堆叠技术利用模拟器做一次巩固记 ...
- matlab 路由表,实验1静态ECMP的浮动静态路由配置
实验任务1:静态ECMP配置 建立物理连接 静态等价路由的配置 [RTA]ip route-static 192.168.2.0 24 192.168.1.2 [RTA]ip route-static ...
- 实验1静态ECMP的浮动静态路由配置
实验任务1:静态ECMP配置 建立物理连接 静态等价路由的配置 [RTA]ip route-static 192.168.2.0 24 192.168.1.2 [RTA]ip route-static ...
- 华三 h3c 静态ECMP和浮动静态路由配置
一:静态ECMP配置 [R1]int g 0/0 [R1-GigabitEthernet0/0]ip address 192.168.1.254 24 [R1-GigabitEthernet0/1]i ...
- ensp--静态ECMP和浮动静态路由配置
网络拓扑: R3配置: R4配置: 查看R3的路由表: 会有两条到达192.168.2.0网段的等值路由 查看R4的路由表: 会有两条到达192.168.0.0网段的等值路由 等值路由起到了分担和备份 ...
- 自制浮动静态路由实验(简单)
什么是浮动静态路由:通过在一台路由器上设置到达同一目的地的多条静态路由(不同的路径,不同的metric值或AD值),使得来自任意源的数据分组优选开销小的路径,剩下的路径作为备份. 实验拓扑: (没找到 ...
- TCP/IP 2.5浮动静态路由
今天穿了一件小西装~挺酷的~我喜欢! 实验我是用dynamips软件做的net文件和配置我都放在附件里面了. 浮动静态路由<?xml:namespace prefix = o ns = &quo ...
- 案例研究:浮动静态路由
[拓扑] [描述] 一台新的路由器R5通过两条并行链路连接到R3上,一条链路连接它们各自接口S0.另一条连接各自的接口S1(拓扑中没有标出具体的接口).添加第二条链路主要是考虑到线路冗余:如果主链路1 ...
最新文章
- 使用 Windows 服务器备份执行 Exchange 2010 备份
- 那些年,我们追过的java8
- 【51单片机快速入门指南】9:省电模式(低功耗)
- 如何利用navicat可视化软件添加与新建mysql数据库
- 墙裂推荐 | 漫画解读Elasticsearch原理,看完你就懂
- xshell部署web项目_前端轻量化部署脚手架实践
- Smart Client Software Factory 初试
- Delphi 2010 新增功能之: Rtti 单元(5): 获取方法的更多信息
- android通过Canvas和Paint截取无锯齿圆形图片
- 【leetcode】复写零
- @override注解_Spring中的各种注解深入理解
- win10JDK环境变量的配置
- 软件测试中的Fault、Error和Failure
- Redis集群——去中心化模式
- python批量修改字典的键或值
- 高德地图的基础使用(一)显示地图
- 解决多个数独重叠联系
- 【定位不准的烦心事系列】第1篇:谈谈卫星定位的位置干扰
- c语言幸运转盘实验报告,电子幸运转盘设计.doc
- 在计算机系统中 屏幕的显示分辨率为,屏幕分辨率调不了怎么办 电脑分辨率显示不正确时应该怎么做...
热门文章
- linux进程优雅退出,Golang信号处理及如何实现进程的优雅退出详解
- 【java】编写一个圆柱体类Cylinder,它继承于Circle类
- php中连接网页头尾部,网页共用头部和尾部的部分方法
- amtemu v0.9.2下载_悦剪辑安卓版下载-悦剪辑app下载v2.2
- thzthz.net forum.php,xthz画质修改器
- java根据模板生成word文档_Python办公自动化:使用python来自动生成word文档
- python画图turtle小人_python海龟绘图怎么增加每次画圆的半径|海龟python做图教程...
- 常见食物营养成分表图_提醒大家;甲状腺结节的“根源”已揭晓,4种常见蔬菜,请趁早列入黑名单...
- 微芯片TWIZ5200: W5200 以太网 PICtail Plus 板
- mysql nginx 无法访问_nginx可以启动成功却无法访问