1、拓扑图

2、配置IP

R1

 Please press enter to start cmd line!
############
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface GigabitEt
hernet0// has turned into UP state.
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface Serial2/
/ has turned into UP state.
<Huawei>
Dec ::-: Huawei %%01IFNET//LINK_STATE(l)[]:The line protocol
PPP on the interface Serial2// has entered the UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]int g0//
[R1-GigabitEthernet0//]ip add 12.1.1.1
Dec ::-: R1 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R1-GigabitEthernet0//]q
[R1]int s
[R1]int Serial
[R1]int Serial
^
Error: Wrong parameter found at '^' position.
[R1]int Serial
[R1]int Serial ?
<-> Serial interface slot number
[R1]int Serial
^
Error: Wrong parameter found at '^' position.
[R1]int Serial //
[R1-Serial2//]ip add 11.1.1.1
[R1-Serial2//]q
[R1]
Dec ::-: R1 %%01IFNET//LINK_STATE(l)[]:The line protocol PPP
IPCP on the interface Serial2// has entered the UP state.
[R1]dis ip int
[R1]dis ip interface bri
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// 12.1.1.1/ up up
GigabitEthernet0// unassigned down down
NULL0 unassigned up up(s)
Serial2// 11.1.1.1/ up up
Serial2// unassigned down down
[R1]

R2

 Please press enter to start cmd line!
####
<Huawei>
Dec ::-: Huawei %%01IFNET//BOARD_ENABLE(l)[]:Board has bee
n available.
<Huawei>
Dec ::-: Huawei %%01IFNET//IF_ENABLE(l)[]:Interface GigabitE
thernet1// has been available.
<Huawei>
Dec ::-: Huawei %%01DEV//ENTUP(l)[]:2SA board[] register su
ccess.
<Huawei>
Dec ::-: Huawei %%01IFNET//BOARD_ENABLE(l)[]:Board has bee
n available.
<Huawei>
Dec ::-: Huawei %%01IFNET//IF_ENABLE(l)[]:Interface Serial2/
/ has been available.
<Huawei>
Dec ::-: Huawei %%01IFNET//IF_ENABLE(l)[]:Interface Serial2/
/ has been available.
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface GigabitEt
hernet0// has turned into UP state.
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface GigabitEt
hernet0// has turned into UP state.
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface Serial2/
/ has turned into UP state.
<Huawei>
Dec ::-: Huawei %%01IFNET//LINK_STATE(l)[]:The line protocol
PPP on the interface Serial2// has entered the UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]int
[R2]interface g0//
[R2-GigabitEthernet0//]ip add 12.1.1.2
Dec ::-: R2 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R2-GigabitEthernet0//]q
[R2]int s2///
^
Error: Wrong parameter found at '^' position.
[R2]int s
[R2]int Serial //
[R2-Serial2//]ip add 11.1.1.2
[R2-Serial2//]
Dec ::-: R2 %%01IFNET//LINK_STATE(l)[]:The line protocol PP
P IPCP on the interface Serial2// has entered the UP state.
[R2-Serial2//]q
[R2]int
[R2]interface g0//
[R2-GigabitEthernet0//]ip add 10.1.1.1
Dec ::-: R2 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R2-GigabitEthernet0//]q
[R2]interface g0//
[R2-GigabitEthernet0//]ip add 10.1.1.2
[R2-GigabitEthernet0//]q
[R2]dis ip int
[R2]dis ip interface br
[R2]dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// 12.1.1.2/ up up
GigabitEthernet0// 10.1.1.2/ up up
GigabitEthernet1// unassigned down down
NULL0 unassigned up up(s)
Serial2// 11.1.1.2/ up up
Serial2// unassigned down down
[R2]

R3

 The device is running!

 <Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface GigabitEt
hernet0// has turned into UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
[R3]int g0//
[R3-GigabitEthernet0//]ip add 10.1.1.3
[R3-GigabitEthernet0//]
Dec ::-: R3 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R3-GigabitEthernet0//]q
[R3]dis ip int bri
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is
The number of interface that is DOWN in Physical is
The number of interface that is UP in Protocol is
The number of interface that is DOWN in Protocol is Interface IP Address/Mask Physical Protocol
GigabitEthernet0// unassigned down down
GigabitEthernet0// 10.1.1.3/ up up
GigabitEthernet0// unassigned down down
GigabitEthernet2// unassigned down down
GigabitEthernet2// unassigned down down
GigabitEthernet2// unassigned down down
GigabitEthernet2// unassigned down down
NULL0 unassigned up up(s)
[R3]

3、R1配置浮动静态路由

[R1]ip rou
[R1]ip route-s
[R1]ip route-static 10.1.1.0 g0// 12.1.1.2
[R1]ip rou
[R1]ip route-st
[R1]ip route-static 10.1.1.0 se
[R1]ip route-static 10.1.1.0 Serial // 11.1.1.2
[R1]dis ip rou
[R1]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : Routes : Destination/Mask Proto Pre Cost Flags NextHop Interface 10.1.1.0/ Static D 12.1.1.2 GigabitEthernet
//
Static D 11.1.1.2 Serial2//
11.1.1.0/ Direct D 11.1.1.1 Serial2//
11.1.1.1/ Direct D 127.0.0.1 Serial2//
11.1.1.2/ Direct D 11.1.1.2 Serial2//
11.1.1.255/ Direct D 127.0.0.1 Serial2//
12.1.1.0/ Direct D 12.1.1.1 GigabitEthernet
//
12.1.1.1/ Direct D 127.0.0.1 GigabitEthernet
//
12.1.1.255/ Direct D 127.0.0.1 GigabitEthernet
//
127.0.0.0/ Direct D 127.0.0.1 InLoopBack0
127.0.0.1/ Direct D 127.0.0.1 InLoopBack0
127.255.255.255/ Direct D 127.0.0.1 InLoopBack0
255.255.255.255/ Direct D 127.0.0.1 InLoopBack0 [R1]ip route-static 10.1.1.0 Serial // 11.1.1.2 pri
[R1]ip route-static 10.1.1.0 Serial // 11.1.1.2 pr
[R1]ip route-static 10.1.1.0 Serial // 11.1.1.2 preference ?
INTEGER<-> Preference value range
[R1]ip route-static 10.1.1.0 Serial // 11.1.1.2 preference
Info: Succeeded in modifying route.
[R1]dis ip ro
[R1]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : Routes : Destination/Mask Proto Pre Cost Flags NextHop Interface 10.1.1.0/ Static D 12.1.1.2 GigabitEthernet
//
11.1.1.0/ Direct D 11.1.1.1 Serial2//
11.1.1.1/ Direct D 127.0.0.1 Serial2//
11.1.1.2/ Direct D 11.1.1.2 Serial2//
11.1.1.255/ Direct D 127.0.0.1 Serial2//
12.1.1.0/ Direct D 12.1.1.1 GigabitEthernet
//
12.1.1.1/ Direct D 127.0.0.1 GigabitEthernet
//
12.1.1.255/ Direct D 127.0.0.1 GigabitEthernet
//
127.0.0.0/ Direct D 127.0.0.1 InLoopBack0
127.0.0.1/ Direct D 127.0.0.1 InLoopBack0
127.255.255.255/ Direct D 127.0.0.1 InLoopBack0
255.255.255.255/ Direct D 127.0.0.1 InLoopBack0 [R1]int
[R1]interface g
[R1]interface GigabitEthernet //
[R1-GigabitEthernet0//]shut
[R1-GigabitEthernet0//]shutdown
Dec ::-: R1 %%01IFPDT//IF_STATE(l)[]:Interface GigabitEthern
et0// has turned into DOWN state.
[R1-GigabitEthernet0//]
[R1-GigabitEthernet0//]
Dec ::-: R1 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the DOWN state.
[R1-GigabitEthernet0//]dis ip ro
[R1-GigabitEthernet0//]dis ip rou
[R1-GigabitEthernet0//]dis ip rout
[R1-GigabitEthernet0//]q
[R1]dis ip rou
[R1]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : Routes : Destination/Mask Proto Pre Cost Flags NextHop Interface 10.1.1.0/ Static D 11.1.1.2 Serial2//
11.1.1.0/ Direct D 11.1.1.1 Serial2//
11.1.1.1/ Direct D 127.0.0.1 Serial2//
11.1.1.2/ Direct D 11.1.1.2 Serial2//
11.1.1.255/ Direct D 127.0.0.1 Serial2//
127.0.0.0/ Direct D 127.0.0.1 InLoopBack0
127.0.0.1/ Direct D 127.0.0.1 InLoopBack0
127.255.255.255/ Direct D 127.0.0.1 InLoopBack0
255.255.255.255/ Direct D 127.0.0.1 InLoopBack0 [R1]

HCNA配置浮动静态路由的更多相关文章

  1. 路由与交换,cisco路由器配置,浮动静态路由

    设置浮动静态路由的目的就是为了防止因为一条线路故障而引起网络故障.言外之意就是说浮动静态路由实际上是主干路由的备份.例如下图: 假如我们设路由器之间的串口(seria)为浮动静态路由(管理距离为100 ...

  2. 路由与交换,cisco路由器配置,静态路由

    网络是一个大型的拓扑结构,在路由表中,最重要的是管理距离和度量值 管理距离 管理距离用来确定路由的优先级.管理距离的范围是0-255之间的整数值.值越低代表优先级越高.0代表最高优先级.并且只有直连路 ...

  3. 两台CISCO2691测试静态路由汇总,浮动静态路由和负载分担静态路由配置

    Dynagen的配置文件内容: #Lab - autostart = False [localhost] [[]] ram = image = C:\Program Files (x86)\Dynam ...

  4. Network基础(五):配置静态路由、配置浮动路由、配置多路由的静态路由、配置默认路由

    一.配置静态路由 目标: 配置路由接口IP地址并通过静态路由的配置实现全网的互通. 方案: 按如下网络拓扑配置接口IP地址并通过静态路由的配置实现全网的互通如下图所示: 步骤: 步骤一:配置静态路由 ...

  5. 华为eNSP路由交换-静态路由

    静态路由 一. 静态路由及默认路由基本配置 1.1实验内容 在由三台路由器所组成的简单网络中,R1和R3各连着一台PC,现在要求能够实现PC-1和PC-2之间的通信.本实验将通过配置基本的静态路由和默 ...

  6. ubuntu 配置静态路由

    原文:http://blog.sina.com.cn/s/blog_6fd8d5d90101f1xy.html -------------------------------------------- ...

  7. 路由器静态IP的配置及其备份静态路由缺省路由

    静态路由时管理员手动配置并维护的路由.静态路由配置简单,被广泛应用于网络中.静态路由还可以实现负载均衡和路由备份.学习掌握好静态路由的配置是很重要的. 如下图, 首先进入路由器的命令视图,(sys) ...

  8. CCNP之静态路由实验报告

                   静态路由实验报告 一.实验要求: 1.内网IP基于172.16.0.0/16自行子网划分 2.除了R2--R4路由器各有两个环回接口 3.R1下的PC自动获取IP地址 4 ...

  9. 总结:BGP和静态路由并存,达到故障自动倒换的目的。

    总体结论: 在上云的场景中,客户需要本地数据中心到云上VPC,出现网络故障时做到自动倒换,保证业务不中断. 一.客户需求 1.客户有总厂.分厂.总厂是通过专线和VPN连接上云,分厂是通过专线先连接到总 ...

随机推荐

  1. POJ1056 IMMEDIATE DECODABILITY & POJ3630 Phone List

    题目来源:http://poj.org/problem?id=1056   http://poj.org/problem?id=3630 两题非常类似,所以在这里一并做了. 1056题目大意: 如果一 ...

  2. POJ1004 Financial Management

    题目来源:http://poj.org/problem?id=1004 题目大意: Larry今年毕业并找到了工作.他开始赚很多的钱,然而他似乎总觉得不够.Larry决定好好掌控他的资产,解决他的财务 ...

  3. Github命令git status

    输入git status可以告诉我们三件事: 1.你当前的本地库位于哪个分支上: 2.你当前的本地库和远程库的区别:它会提示本地库和远程库差了还是多了多少个提交(commit),并给你提建议,要不要p ...

  4. 【学习笔记】Python 3.6模拟输入并爬取百度前10页密切相关链接

    [学习笔记]Python 3.6模拟输入并爬取百度前10页密切相关链接 问题描述 通过模拟网页,实现百度搜索关键词,然后获得网页中链接的文本,与准备的文本进行比较,如果有相似之处则代表相关链接. me ...

  5. MVC部分视图的使用

    用户访问的视图:Index.cshtml @{ ViewBag.Title = "Home Page"; } <div class="jumbotron" ...

  6. hdu2063 最大二分匹配(匈牙利算法)

    过山车 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submiss ...

  7. 锁、CAS操作和无锁队列的实现

    https://blog.csdn.net/yishizuofei/article/details/78353722 锁的机制 锁和人很像,有的人乐观,总会想到好的一方面,所以只要越努力,就会越幸运: ...

  8. python 操作excel 的包 函数

    ###########sample 1 https://blog.csdn.net/chengxuyuanyonghu/article/details/54951399 python操作excel主要 ...

  9. Hive学习(三)Hive的Java客户端操作

    Hive的Java客户端操作分为JDBC和Thrifit Client,首先启动Hive远程服务: hive --service hiveserver 一.JDBC 在MyEclipse中首先创建连接 ...

  10. SETI ACdream - 1430 后缀自动机求不相交子串

    http://blog.csdn.net/gatevin/article/details/45875343 题目是求不重叠的不同子串个数 一般来说, endpos集合包含了子串结尾位置,结尾在&quo ...