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. LUNA16数据集(二)肺结节可视化

    在检测到肺结节后,还需要可视化,这样才能为诊断服务. 我使用的项目地址为:https://github.com/wentaozhu/DeepLung 项目基于论文:DeepLung: Deep 3D ...

  2. JavaScript Succinctly 读后笔记

    1.JavaScript does not have block scope  2.Scope is determined during function definintion,  not invo ...

  3. Mysql5.7.20源码编译安装

    一.下载源码包 1.1 下载mysql源码包 MySQL源码,网址为:https://dev.mysql.com/downloads/mysql/ : 1.2 下载boost 下载网址为:http:/ ...

  4. EF上下文容器,保存线程唯一性

    在工作中有个疑问,就是EF上下文容器到底创建了多少个? 在asp.net中,EF上下文容器.如果只要有一个,则每次一个用户访问,添加一些实体,然后又不会自动销毁,就会造成内存爆炸.如果每次创建一个,则 ...

  5. centos7安装与卸载软件

    安装 yum install 服务名 查看服务名 rpm -qa |grep -i aerospike 或者 yum list installed | grep aerospike 卸载 yum re ...

  6. 关于int类型表示的最大位数

    Integer 整型是有个范围的,而这个范围是跟平台版本有关的32位(最大值为:2^31 - 1)与64位(最大值为:2^63 - 1)的范围不一致.这时候超出范围的数字会被解释为float类型,所以 ...

  7. table size script :

    I think Jonathan Lewis has explained the algorithm before, but it's alsosomething that we have inves ...

  8. Postman如何做接口测试

    Postman 之前是作为Chrome 的一个插件,现在要下载应用才能使用. 以下是postman 的界面: 各个功能区的使用如下: 快捷区: 快捷区提供常用的操作入口,包括运行收藏夹的一组测试数据, ...

  9. JEECMS站群管理系统-- Jeecms安装过程

    Jeecms是基于java技术研发的站群管理系统,稳定.安全.高效.跨平台.无限扩展是jeecms 的优点,系统支持mysql.oracle.sqlserver.db2等主流数据库. 轻松建设大规模网 ...

  10. WebGL 踩坑系列-2

    需求:绘制斑点在球面上走过的路径 思路:要绘制斑点在球面上走过的路径,首先要记录上一时刻和当前时刻该斑点所在球面的位置,并且实时更新当前时刻的斑点位置和上一时刻的斑点位置. 为了方便,上一时刻斑点所在 ...