H3C-DRNI配置_drni keepalive_时间也曾罪过的博客-程序员宝宝

技术标签: RS  M-LAG技术  VPC技术  H3C  数据中心交换机  二层交换技术  

3.4 DRNI配置

组网图:

 

3.4.1 配置步骤

(1)      配置Device A

# 系统配置。

<DeviceA> system-view

[DeviceA] drni system-mac 1-1-1        /配置drni的MAC地址

[DeviceA] drni system-number 1         /配置drni系统的编号

[DeviceA] drni system-priority 123     /配置drni的优先级

# 配置Keepalive报文的目的IP地址和源IP地址。

[DeviceA] drni keepalive ip destination 1.1.1.1 source 1.1.1.2

# 配置端口GigabitEthernet1/0/5工作在三层模式,并配置IP地址为Keepalive报文的源IP地址。

[DeviceA] interface gigabitethernet 1/0/5

[DeviceA-GigabitEthernet1/0/5] port link-mode route

[DeviceA-GigabitEthernet1/0/5] ip address 1.1.1.2 24

[DeviceA-GigabitEthernet1/0/5] quit

# 配置Keepalive链路接口为保留接口。

[DeviceA] drni mad exclude interface gigabitethernet 1/0/5

# 创建二层聚合接口3,并配置该接口为动态聚合模式。

[DeviceA] interface bridge-aggregation 3

[DeviceA-Bridge-Aggregation3] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation3] quit

# 分别将端口GigabitEthernet1/0/1和GigabitEthernet1/0/2加入到聚合组3中。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 3

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 3

[DeviceA-GigabitEthernet1/0/2] quit

# 将二层聚合接口3配置为IPP口。

[DeviceA] interface bridge-aggregation 3

[DeviceA-Bridge-Aggregation3] port drni intra-portal-port 1

[DeviceA-Bridge-Aggregation3] quit

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

[DeviceA] interface bridge-aggregation 4

[DeviceA-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation4] quit

# 分别将端口GigabitEthernet1/0/3和GigabitEthernet1/0/4加入到聚合组4中。

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 4

[DeviceA-GigabitEthernet1/0/3] quit

[DeviceA] interface gigabitethernet 1/0/4

[DeviceA-GigabitEthernet1/0/4] port link-aggregation group 4

[DeviceA-GigabitEthernet1/0/4] quit

# 将二层聚合接口4加入分布式聚合组4中。

[DeviceA] interface bridge-aggregation 4

[DeviceA-Bridge-Aggregation4] port drni group 4

[DeviceA-Bridge-Aggregation4] quit

(2)      配置Device B

# 系统配置。

<DeviceB> system-view

[DeviceB] drni system-mac 1-1-1

[DeviceB] drni system-number 2

[DeviceB] drni system-priority 123

# 配置Keepalive报文的目的IP地址和源IP地址。

[DeviceB] drni keepalive ip destination 1.1.1.2 source 1.1.1.1

# 配置端口GigabitEthernet1/0/5工作在三层模式,并配置IP地址为Keepalive报文的源IP地址。

[DeviceB] interface gigabitethernet 1/0/5

[DeviceB-GigabitEthernet1/0/5] port link-mode route

[DeviceB-GigabitEthernet1/0/5] ip address 1.1.1.1 24

[DeviceB-GigabitEthernet1/0/5] quit

# 配置Keepalive链路接口为保留接口。

[DeviceB] drni mad exclude interface gigabitethernet 1/0/5

# 创建二层聚合接口3,并配置该接口为动态聚合模式。

[DeviceB] interface bridge-aggregation 3

[DeviceB-Bridge-Aggregation3] link-aggregation mode dynamic

[DeviceB-Bridge-Aggregation3] quit

# 分别将端口GigabitEthernet1/0/1和GigabitEthernet1/0/2加入到聚合组3中。

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] port link-aggregation group 3

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] port link-aggregation group 3

[DeviceB-GigabitEthernet1/0/2] quit

# 将二层聚合接口3配置为IPP口。

[DeviceB] interface bridge-aggregation 3

[DeviceB-Bridge-Aggregation3] port drni intra-portal-port 1

[DeviceB-Bridge-Aggregation3] quit

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

[DeviceB] interface bridge-aggregation 4

[DeviceB-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceB-Bridge-Aggregation4] quit

# 分别将端口GigabitEthernet1/0/3和GigabitEthernet1/0/4加入到聚合组4中。

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] port link-aggregation group 4

[DeviceB-GigabitEthernet1/0/3] quit

[DeviceB] interface gigabitethernet 1/0/4

[DeviceB-GigabitEthernet1/0/4] port link-aggregation group 4

[DeviceB-GigabitEthernet1/0/4] quit

# 将二层聚合接口4加入分布式聚合组4中。

[DeviceB] interface bridge-aggregation 4

[DeviceB-Bridge-Aggregation4] port drni group 4

[DeviceB-Bridge-Aggregation4] quit

(3)      配置Device C

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

<DeviceC> system-view

[DeviceC] interface bridge-aggregation 4

[DeviceC-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceC-Bridge-Aggregation4] quit

# 分别将端口GigabitEthernet1/0/1~GigabitEthernet1/0/4加入到聚合组4中。

[DeviceC] interface range gigabitethernet 1/0/1 to gigabitethernet 1/0/4

[DeviceC-if-range] port link-aggregation group 4

[DeviceC-if-range] quit

3.4.2 验证配置

# 查看Device A上分布式聚合的Keepalive报文信息。

[DeviceA] display drni keepalive

Neighbor keepalive link status: Up

Neighbor is alive for: 104 sec, 16 ms

Last keepalive packet sending status: Successful

Last keepalive packet sending time: 2017/03/09 10:12:09 620 ms

Last keepalive packet receiving status: Successful

Last keepalive packet receiving time: 2017/03/09 10:12:09 707 ms

Distributed relay keepalive parameters:

Destination IP address: 1.1.1.1

Source IP address: 1.1.1.2

Keepalive UDP port : 6400

Keepalive VPN name : N/A

Keepalive interval : 1000 ms

Keepalive timeout  : 5 sec

Keepalive hold time: 3 sec

以上信息表明Device A和Device B设备间无故障。

# 查看Device A上IPP口和DR口的摘要信息和详细信息。

[DeviceA] display drni summary

Global consistency check           : SUCCESS

Inconsistent type 1 global settings:

IPP        IPP ID        State

BAGG3       1             UP

DR interface DR group ID State  Check result  Type 1 inconsistency

BAGG4        4         UP      SUCCESS      /UP代表成功 

[DeviceA] display drni verbose

Flags: A -- Home_Gateway, B -- Neighbor_Gateway, C -- Other_Gateway,

       D -- IPP_Activity, E -- DRCP_Timeout, F -- Gateway_Sync,

       G -- Port_Sync, H -- Expired

IPP/IPP ID: BAGG3/1

State: UP

Local state/Peer state: ABDFG/ABDFG

Local Selected ports Index: 1, 2

Peer Selected ports Index: 1, 2

 

DR interface/DR group ID: BAGG4/4

State: UP

Local state/Peer state: ABDFG/ABDFG

Local Selected ports Index: 16387, 16388

Peer Selected ports Index: 32771, 32772

以上信息表明Device A和Device B成功组成分布式聚合系统。

# 查看Device C上聚合组4的详细信息。

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/u012169012/article/details/103280086

智能推荐

数组元素的查找(折半查找)_然夏莫非的博客-程序员宝宝

/* 数组的查找 折半查找:前提是该数组是有序的数组 */import java.util.Scanner;public class arrLookup{ public static void main(String[] args){ int[] arr = {1,4,6,8,34,56,78}; Syst

[Python]图像处理——图像增强_昌昊的博客-程序员宝宝

原图:处理思路:具体实现:将原图进行拉普拉斯变换后,与原图的索菲尔算子边缘检测+平滑后进行相乘,获得到的新的矩阵再进行与原图进行矩阵点代表的元素进行相加,获得到的矩阵经过GAMMA变换后,得到输出。编写程序如下:from PIL import Imageimport matplotlib.pyplot as plt # plt 用于显示图片import numpy as npi...

元宇宙系统全面学习线路_Beth_Chan的博客-程序员宝宝

问题导读1.元宇宙已经发展了多少年?2.元宇宙是什么?3.元宇宙有哪些概念?4.元宇宙支持技术有哪些?5.元宇宙和VR有什么区别?6.元宇宙有哪些机会?7.元宇宙如何开发,有哪些赛道?元宇宙的发展跟互联网发展是非常类似的,在我们上学那会,学校、家长是反对我们上网的,因为那时候网游太容易上瘾了,包括QQ聊天,是非常新奇的。然而互联网发展到今天,我们已经离不开网络了。元宇宙其实也是一样的,元宇宙孕育于游戏,所以让我们觉得元宇宙=游戏, 其实元宇宙是会改变各行各业的。特别是工业元宇宙将会提

html正方形单选框代码,单选框/复选框_Dennis Feng的博客-程序员宝宝

[html]代码库单选、复选框Demofunction getSelectedEffect(effects) {//获取效果选项for ( var i = 0; i &lt; effects.length; i++) {if (effects[i].checked)return effects[i].value;}return "[没有选择]";}function getSelectedProgr...

1500个用户代理User agent,用于随机UA代理_chushiyan的博客-程序员宝宝

采集自https://developers.whatismybrowser.com/useragents/explore/"Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Fire...

随便推点

建一座安全的“天空城” ——揭秘腾讯WeTest如何与祖龙共同挖掘手游安全漏洞..._diezhuzhuo3333的博客-程序员宝宝

作者:腾讯WeTest手游安全测试团队商业转载请联系腾讯WeTest获得授权,非商业转载请注明出处。WeTest导读《九州天空城3D》上线至今,长期稳定在APP Store畅销排行的前五,本文将介绍腾讯WeTest手游安全团队在游戏上线前为《九州天空城3D》挖掘安全漏洞的全过程。《九州天空城3D》(下文简称《九州》)是祖龙娱乐的一款正版授权次世代3D飞行手游,在...

Springboot 启动Banner设置_spring的banner设置宝可梦_lockie_zou的博客-程序员宝宝

SpringBoot项目启动时会在控制台打印一个默认的启动图案,这个图案就是我们要讲的banner。看似简单的banner,我们能够对它做些什么呢?本篇文章就带大家深入了解一下banner的使用(版本:SpringBoot2.1.4)。制作自己的banner第一步:在src/main/resources下面创建banner.txt。第二步:访问网站http://patorjk.com/...

windows10环境下的RabbitMQ安装步骤(图文)_普通网友的博客-程序员宝宝

记录下本人在win10环境下安装RabbitMQ的步骤,以作备忘。

ajax方式和修改form属性action(提交路径)方式提交form表单_通过id改action路径_nrsc的博客-程序员宝宝

浏览器和服务器的数据交互方式主要有六种:1.表单提交;2.超链接;3.js/jquery方式 3.1 地址栏的替换 location.href="地址栏";(本文有) 3.2 js提交表单(本文有) 3.3 ajax(本文有)前台页面代码如下:

【记录】flink读取hive,只能读取表结构,无法读取数据_failed to fetch next result_槐序i的博客-程序员宝宝

2020-11-26 10:31:31,611 INFO org.apache.flink.yarn.YarnClusterDescriptor [] - The Flink YARN session cluster has been started in detached mode. In order to stop Flink gracefully, use the following command:$ echo “stop” | ./bin/yarn-sessi

推荐文章

热门文章

相关标签