• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

s12504x-AF

2023-07-04提问
  • 0关注
  • 0收藏,594浏览
粉丝:0人 关注:0人

问题描述:

s12504x-AF交换机配置m-lag 起不来 是怎么回事 求配置案例

最佳答案

粉丝:237人 关注:8人

官网:

https://www.h3c.com/cn/d_202209/1694530_30005_0.htm

https://www.h3c.com/cn/Service/Document_Software/Document_Center/Home/Switches/00-Public/Configure/Operation_Manual/H3C_M_LAG-Long/?CHID=784720

暂无评论

1 个回答

您好,请知:

以下是M-LAG的配置举例,请参考:

1.21.3  DRNI双活网关场景下通过动态路由接入DRNI配置举例

1. 组网需求

图1-14所示,用户在服务器上通过三层路由方式接入到DRNI时,需要满足以下要求:

·     当一条接入链路发生故障时,流量可以快速切换到另一条链路,保证可靠性。

·     用户流量在两条接入链路上负载分担。

2. 组网图

图1-14 DRNI双活网关场景下通过动态路由接入DRNI配置组网图

3. 配置步骤

(1)     配置Device A

# 配置DRNI系统参数。

<DeviceA> system-view

[DeviceA] drni system-mac 2-2-2

[DeviceA] drni system-number 1

[DeviceA] drni system-priority 123

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

[DeviceA] drni keepalive ip destination 21.1.1.2 source 21.1.1.1

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

[DeviceA] interface fortygige 1/0/5

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

[DeviceA-FortyGigE1/0/5] ip address 21.1.1.1 24

[DeviceA-FortyGigE1/0/5] ipv6 address 21::1 64

[DeviceA-FortyGigE1/0/5] quit

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

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

# 创建动态二层聚合接口1。

[DeviceA] interface bridge-aggregation 1

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

[DeviceA-Bridge-Aggregation1] quit

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

[DeviceA] interface fortygige 1/0/3

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

[DeviceA-FortyGigE1/0/3] quit

[DeviceA] interface fortygige 1/0/4

[DeviceA-FortyGigE1/0/4] port link-aggregation group 1

[DeviceA-FortyGigE1/0/4] quit

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

[DeviceA] interface bridge-aggregation 1

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

[DeviceA-Bridge-Aggregation1] quit

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

[DeviceA] interface bridge-aggregation 3

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

[DeviceA-Bridge-Aggregation3] port drni group 1

[DeviceA-Bridge-Aggregation3] quit

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

[DeviceA] interface fortygige 1/0/1

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

[DeviceA-FortyGigE1/0/1] quit

[DeviceA] interface fortygige 1/0/2

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

[DeviceA-FortyGigE1/0/2] quit

# 创建VLAN 102、VLAN 103。

[DeviceA] vlan 102 103

# 配置二层聚合接口3为Trunk端口,并允许VLAN 102和VLAN 103的报文通过。

[DeviceA] interface bridge-aggregation 3

[DeviceA-Bridge-Aggregation3] port link-type trunk

[DeviceA-Bridge-Aggregation3] port trunk permit vlan 102 103

[DeviceA-Bridge-Aggregation3] quit

# 创建接口Vlan-interface102,并配置其IPv4和IPv6地址,作为双活网关。

[DeviceA] interface vlan-interface 102

[DeviceA-Vlan-interface102] ip address 10.102.0.1 255.255.255.0

[DeviceA-Vlan-interface102] ipv6 address 10:102::1 64

# 配置DRNI虚拟IPv4和IPv6地址,以便和下行设备Device D建立OSPF和OSPFv3邻居关系。

[DeviceA-Vlan-interface102] port drni virtual-ip 10.102.0.3 24 active

[DeviceA-Vlan-interface102] port drni ipv6 virtual-ip FE80::2 link-local

# 配置接口Vlan-interface102的MAC地址。

[DeviceA-Vlan-interface102] mac-address 3-3-3

[DeviceA-Vlan-interface102] quit

# 配置Vlan-interface102接口为DRNI保留接口。

[DeviceA] drni mad exclude interface vlan-interface 102

# 创建接口Vlan-interface103,并配置其IPv4和IPv6地址,作为双活网关。

[DeviceA] interface vlan-interface 103

[DeviceA-Vlan-interface103] ip address 10.103.0.1 24

[DeviceA-Vlan-interface103] ipv6 address 10:103::1 64

# 配置DRNI虚拟IPv4和IPv6地址,以便和下行设备Device D建立BGP和BGP4+邻居关系。

[DeviceA-Vlan-interface103] port drni virtual-ip 10.103.0.3 24 active

[DeviceA-Vlan-interface103] port drni ipv6 virtual-ip 10:103::3 64 active

# 配置接口Vlan-interface103的MAC地址。

[DeviceA-Vlan-interface103] mac-address 4-4-4

[DeviceA-Vlan-interface103] quit

# 配置Vlan-interface103接口为DRNI保留接口。

[DeviceA] drni mad exclude interface vlan-interface 103

# 配置上行口FortyGigE1/0/6的IPv4地址和IPv6地址。

[DeviceA] interface fortygige 1/0/6

[DeviceA-FortyGigE1/0/6] port link-mode route

[DeviceA-FortyGigE1/0/6] ip address 32.1.1.1 24

[DeviceA-FortyGigE1/0/6] ipv6 address 32:1::1 64

[DeviceA-FortyGigE1/0/6] quit

# 配置OSPF。

[DeviceA] ospf 1 router-id 11.1.1.1

[DeviceA-ospf-1] area 0

[DeviceA-ospf-1-area-0.0.0.0] quit

[DeviceA-ospf-1] quit

[DeviceA] interface vlan-interface 102

[DeviceA-Vlan-interface102] ospf 1 area 0

[DeviceA-Vlan-interface102] ospf peer sub-address enable 10.102.0.3

[DeviceA-Vlan-interface102] quit

[DeviceA] interface fortygige 1/0/6

[DeviceA-FortyGigE1/0/6] ospf 1 area 0

[DeviceA-FortyGigE1/0/6] quit

# 配置OSPFv3。

[DeviceA] ospfv3 1

[DeviceA-ospfv3-1] router-id 10.1.1.1

[DeviceA-ospfv3-1] area 0

[DeviceA-ospfv3-1-area-0.0.0.0] quit

[DeviceA-ospfv3-1] quit

[DeviceA] interface vlan-interface 102

[DeviceA-Vlan-interface102] ospfv3 1 area 0

[DeviceA-Vlan-interface102] quit

[DeviceA] interface fortygige 1/0/6

[DeviceA-FortyGigE1/0/6] ospfv3 1 area 0

[DeviceA-FortyGigE1/0/6] quit

# 配置BGP。

[DeviceA] bgp 100

[DeviceA-bgp-default] router-id 12.1.1.1

[DeviceA-bgp-default] peer 32.1.1.2 as-number 100

[DeviceA-bgp-default] peer 10.103.0.2 as-number 100

[DeviceA-bgp-default] peer 10.103.0.2 source-address 10.103.0.3

[DeviceA-bgp-default] address-family ipv4

[DeviceA-bgp-default-ipv4] peer 10.103.0.2 enable

[DeviceA-bgp-default-ipv4] network 10.103.0.0  255.255.255.0

[DeviceA-bgp-default-ipv4] peer 32.1.1.2 enable

[DeviceA-bgp-default-ipv4] network 32.1.1.0 255.255.255.0

[DeviceA-bgp-default-ipv4] quit

# 配置BGP4+。

[DeviceA-bgp-default] peer 32:1::2 as-number 100

[DeviceA-bgp-default] peer 10:103::2 as-number 100

[DeviceA-bgp-default] peer 10:103::2 source-address 10:103::3

[DeviceA-bgp-default] address-family ipv6

[DeviceA-bgp-default-ipv6] peer 10:103::2 enable

[DeviceA-bgp-default-ipv6] network 10:103::2  64

[DeviceA-bgp-default-ipv6] peer 32:1::2 enable

[DeviceA-bgp-default-ipv6] network  32:1::2 64

[DeviceA-bgp-default-ipv6] quit

[DeviceA-bgp-default] quit

(2)     配置Device B

# 配置DRNI系统参数。

<DeviceB> system-view

[DeviceB] drni system-mac 2-2-2

[DeviceB] drni system-number 2

[DeviceB] drni system-priority 123

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

[DeviceB] drni keepalive ip destination 21.1.1.1 source 21.1.1.2

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

[DeviceB] interface fortygige 1/0/5

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

[DeviceB-FortyGigE1/0/5] ip address 21.1.1.2 255.255.255.0

[DeviceB-FortyGigE1/0/5] ipv6 address 21::2 64

[DeviceB-FortyGigE1/0/5] quit

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

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

# 创建动态二层聚合接口1。

[DeviceB] interface bridge-aggregation 1

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

[DeviceB-Bridge-Aggregation1] quit

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

[DeviceB] interface fortygige 1/0/3

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

[DeviceB-FortyGigE1/0/3] quit

[DeviceB] interface fortygige 1/0/4

[DeviceB-FortyGigE1/0/4] port link-aggregation group 1

[DeviceB-FortyGigE1/0/4] quit

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

[DeviceB] interface bridge-aggregation 1

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

[DeviceB-Bridge-Aggregation1] quit

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

[DeviceB] interface bridge-aggregation 3

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

[DeviceB-Bridge-Aggregation3] port drni group 1

[DeviceB-Bridge-Aggregation3] quit

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

[DeviceB] interface fortygige 1/0/1

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

[DeviceB-FortyGigE1/0/1] quit

[DeviceB] interface fortygige 1/0/2

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

[DeviceB-FortyGigE1/0/2] quit

# 创建VLAN 102、103。

[DeviceB] vlan 102 103

# 配置二层聚合接口3为Trunk端口,并允许VLAN 102和VLAN 103的报文通过。

[DeviceB] interface bridge-aggregation 3

[DeviceB-Bridge-Aggregation3] port link-type trunk

[DeviceB-Bridge-Aggregation3] port trunk permit vlan 102 103

[DeviceB-Bridge-Aggregation3] quit

# 创建接口Vlan-interface102,并配置其IPv4和IPv6地址,作为双活网关。

[DeviceB] interface vlan-interface 102

[DeviceB-Vlan-interface102] ip address 10.102.0.1 24

[DeviceB-Vlan-interface102] ipv6 address 10:102::1 64

# 配置DRNI虚拟IPv4和IPv6地址,以便和下行设备Device D建立OSPF和OSPFv3邻居关系。

[DeviceB-Vlan-interface102] port drni virtual-ip 10.102.0.4 24 active

[DeviceB-Vlan-interface102] port drni ipv6 virtual-ip FE80::4 link-local

# 配置接口Vlan-interface102的MAC地址。

[DeviceB-Vlan-interface102] mac-address 3-3-3

[DeviceB-Vlan-interface102] quit

# 配置Vlan-interface102接口为DRNI保留接口。

[DeviceB] drni mad exclude interface vlan-interface 102

# 创建接口Vlan-interface103,并配置其IPv4和IPv6地址,作为双活网关。

[DeviceB] interface vlan-interface 103

[DeviceB-Vlan-interface103] ip address 10.103.0.1 24

[DeviceB-Vlan-interface103] ipv6 address 10:103::1 64

# 配置DRNI虚拟IPv4和IPv6地址,以便和下行设备Device D建立BGP和BGP4+邻居关系。

[DeviceB-Vlan-interface103] port drni virtual-ip 10.103.0.4 24 active

[DeviceB-Vlan-interface103] port drni ipv6 virtual-ip 10:103::4 64 active

# 配置接口Vlan-interface103的MAC地址。

[DeviceB-Vlan-interface103] mac-address 4-4-4

[DeviceB-Vlan-interface103] quit

# 配置Vlan-interface103接口为DRNI保留接口。

[DeviceB] drni mad exclude interface vlan-interface 103

# 配置上行口FortyGigE1/0/6的IPv4地址和IPv6地址。

[DeviceB] interface fortygige 1/0/6

[DeviceB-FortyGigE1/0/6] port link-mode route

[DeviceB-FortyGigE1/0/6] ip address 33.1.1.1 24

[DeviceB-FortyGigE1/0/6] ipv6 address 33:1::1 64

[DeviceB-FortyGigE1/0/6] quit

# 配置OSPF。

[DeviceB] ospf 1 router-id 11.1.1.2

[DeviceB-ospf-1] area 0

[DeviceB-ospf-1-area-0.0.0.0] quit

[DeviceB-ospf-1] quit

[DeviceB] interface vlan-interface 102

[DeviceB-Vlan-interface102] ospf 1 area 0

[DeviceB-Vlan-interface102] ospf peer sub-address enable 10.102.0.4

[DeviceB-Vlan-interface102] quit

[DeviceB] interface fortygige 1/0/6

[DeviceB-FortyGigE1/0/6] ospf 1 area 0

[DeviceB-FortyGigE1/0/6] quit

# 配置OSPFv3。

[DeviceB] ospfv3 1

[DeviceB-ospfv3-1] router-id 10.1.1.2

[DeviceB-ospfv3-1] area 0

[DeviceB-ospfv3-1-area-0.0.0.0] quit

[DeviceB-ospfv3-1] quit

[DeviceB] interface vlan-interface 102

[DeviceB-Vlan-interface102] ospfv3 1 area 0

[DeviceB-Vlan-interface102] quit

[DeviceB] interface fortygige 1/0/6

[DeviceB-FortyGigE1/0/6] ospfv3 1 area 0

[DeviceB-FortyGigE1/0/6] quit

# 配置BGP。

[DeviceB] bgp 100

[DeviceB-bgp-default] router-id 12.1.1.2

[DeviceB-bgp-default] peer 33.1.1.2 as-number 100

[DeviceB-bgp-default] peer 10.103.0.2 as-number 100

[DeviceB-bgp-default] peer 10.103.0.2 source-address 10.103.0.4

[DeviceB-bgp-default] address-family ipv4

[DeviceB-bgp-default-ipv4] peer 10.103.0.2 enable

[DeviceB-bgp-default-ipv4] network 10.103.0.0  255.255.255.0

[DeviceB-bgp-default-ipv4] peer 33.1.1.2 enable

[DeviceB-bgp-default-ipv4] network 33.1.1.0 255.255.255.0

[DeviceB-bgp-default-ipv4] quit

# 配置BGP4+。

[DeviceB-bgp-default] peer 33:1::2 as-number 100

[DeviceB-bgp-default] peer 10:103::2 as-number 100

[DeviceB-bgp-default] peer 10:103::2 source-address 10:103::4

[DeviceB-bgp-default] address-family ipv6

[DeviceB-bgp-default-ipv6] peer 10:103::2 enable

[DeviceB-bgp-default-ipv6] network 10:103::2  64

[DeviceB-bgp-default-ipv6] peer 33:1::2 enable

[DeviceB-bgp-default-ipv6] network  33:1::2 64

[DeviceB-bgp-default-ipv6] quit

[DeviceB-bgp-default] quit

(3)     配置Device C

# 配置接口FortyGigE1/0/1和FortyGigE1/0/2的IPv4地址和IPv6地址。

[DeviceC] interface fortygige 1/0/1

[DeviceC-FortyGigE1/0/1] port link-mode route

[DeviceC-FortyGigE1/0/1] ip address 32.1.1.2 24

[DeviceC-FortyGigE1/0/1] ipv6 address 32:1::2 64

[DeviceC-FortyGigE1/0/1] quit

[DeviceC] interface fortygige 1/0/2

[DeviceC-FortyGigE1/0/2] port link-mode route

[DeviceC-FortyGigE1/0/2] ip address 33.1.1.2 24

[DeviceC-FortyGigE1/0/2] ipv6 address 33:1::2 64

[DeviceC-FortyGigE1/0/2] quit

# 配置OSPF。

[DeviceC] ospf 1 router-id 11.1.1.3

[DeviceC-ospf-1] area 0

[DeviceC-ospf-1-area-0.0.0.0] quit

[DeviceC-ospf-1] quit

[DeviceC] interface fortygige 1/0/1

[DeviceC-FortyGigE1/0/1] ospf 1 area 0

[DeviceC-FortyGigE1/0/1] quit

[DeviceC] interface fortygige 1/0/2

[DeviceC-FortyGigE1/0/2] ospf 1 area 0

[DeviceC-FortyGigE1/0/2] quit

# 配置OSPFv3。

[DeviceC] ospfv3 1

[DeviceC-ospfv3-1] router-id 10.1.1.3

[DeviceC-ospfv3-1] area 0

[DeviceC-ospfv3-1-area-0.0.0.0] quit

[DeviceC-ospfv3-1] quit

[DeviceC] interface fortygige 1/0/1

[DeviceC-FortyGigE1/0/1] ospfv3 1 area 0

[DeviceC-FortyGigE1/0/1] quit

[DeviceC] interface fortygige 1/0/2

[DeviceC-FortyGigE1/0/2] ospfv3 1 area 0

[DeviceC-FortyGigE1/0/2] quit

# 配置BGP。

[DeviceC] bgp 100

[DeviceC-bgp-default] router-id 12.1.1.3

[DeviceC-bgp-default] peer 33.1.1.1 as-number 100

[DeviceC-bgp-default] peer 32.1.1.1 as-number 100

[DeviceC-bgp-default] address-family ipv4

[DeviceC-bgp-default-ipv4] peer 33.1.1.1 enable

[DeviceC-bgp-default-ipv4] network 33.1.1.0  255.255.255.0

[DeviceC-bgp-default-ipv4] peer 32.1.1.1 enable

[DeviceC-bgp-default-ipv4] network 32.1.1.0 255.255.255.0

[DeviceC-bgp-default-ipv4] quit

# 配置BGP4+。

[DeviceC-bgp-default] peer 33:1::1 as-number 100

[DeviceC-bgp-default] peer 32:1::1 as-number 100

[DeviceC-bgp-default] address-family ipv6

[DeviceC-bgp-default-ipv6] peer 32:1::1 enable

[DeviceC-bgp-default-ipv6] peer 33:1::1 enable

[DeviceC-bgp-default-ipv6] network 32:1:: 64

[DeviceC-bgp-default-ipv6] network 33:1:: 64

[DeviceC-bgp-default-ipv6] quit

[DeviceC-bgp-default] quit

(4)     配置Device D

# 创建VLAN 102、VLAN 103。

<DeviceD> system-view

[DeviceD] vlan 102 103

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

[DeviceD] interface bridge-aggregation 3

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

[DeviceD-Bridge-Aggregation3] quit

# 将端口FortyGigE1/0/1~FortyGigE1/0/4加入到聚合组3中。

[DeviceD] interface range fortygige 1/0/1 to fortygige 1/0/4

[DeviceD-if-range] port link-aggregation group 3

[DeviceD-if-range] quit

# 配置二层聚合接口3为Trunk端口,并允许VLAN 102和VLAN 103的报文通过。

[DeviceD] interface bridge-aggregation 3

[DeviceD-Bridge-Aggregation3] port link-type trunk

[DeviceD-Bridge-Aggregation3] port trunk permit vlan 102 103

[DeviceD-Bridge-Aggregation3] quit

# 创建接口Vlan-interface102,并配置其IPv4和IPv6地址。

[DeviceD] interface vlan-interface 102

[DeviceD-Vlan-interface102] ip address 10.102.0.2 24

[DeviceD-Vlan-interface102] ipv6 address 10:102::2 64

[DeviceD-Vlan-interface102] quit

# 创建接口Vlan-interface103,并配置其IPv4和IPv6地址。

[DeviceD] interface vlan-interface 103

[DeviceD-Vlan-interface103] ip address 10.103.0.2 24

[DeviceD-Vlan-interface103] ipv6 address 10:103::2 64

[DeviceD-Vlan-interface103] quit

# 配置OSPF。

[DeviceD] ospf 1 router-id 11.1.1.4

[DeviceD-ospf-1] area 0

[DeviceD-ospf-1-area-0.0.0.0] quit

[DeviceD-ospf-1] quit

[DeviceD] interface vlan-interface 102

[DeviceD-Vlan-interface102] ospf 1 area 0

[DeviceD-Vlan-interface102] quit

[DeviceD] interface vlan-interface 103

[DeviceD-Vlan-interface103] ospf 1 area 0

[DeviceD-Vlan-interface103] quit

# 配置OSPFv3。

[DeviceD] ospfv3 1

[DeviceD-ospfv3-1] router-id 10.1.1.4

[DeviceD-ospfv3-1] area 0

[DeviceD-ospfv3-1-area-0.0.0.0] quit

[DeviceD-ospfv3-1] quit

[DeviceD] interface vlan-interface 102

[DeviceD-Vlan-interface102] ospfv3 1 area 0

[DeviceD-Vlan-interface102] quit

[DeviceD] interface vlan-interface 103

[DeviceD-Vlan-interface103] ospfv3 1 area 0

[DeviceD-Vlan-interface103] quit

# 配置BGP。

[DeviceD] bgp 100

[DeviceD-bgp-default] router-id 12.1.1.4

[DeviceD-bgp-default] peer 10.103.0.3 as-number 100

[DeviceD-bgp-default] peer 10.103.0.4 as-number 100

[DeviceD-bgp-default] address-family ipv4

[DeviceD-bgp-default-ipv4] peer 10.103.0.3 enable

[DeviceD-bgp-default-ipv4] peer 10.103.0.4 enable

[DeviceD-bgp-default-ipv4] network 10.103.0.3  255.255.255.0

[DeviceD-bgp-default-ipv4] quit

# 配置BGP4+。

[DeviceD-bgp-default] peer 10:103::3 as-number 100

[DeviceD-bgp-default] peer 10:103::4 as-number 100

[DeviceD-bgp-default] address-family ipv6

[DeviceD-bgp-default-ipv6] peer 10:103::3 enable

[DeviceD-bgp-default-ipv6] peer 10:103::4 enable

[DeviceD-bgp-default-ipv6] network 10:103::3 64

[DeviceD-bgp-default-ipv6] quit

[DeviceD-bgp-default] quit

4. 验证配置

# 查看DRNI的简要信息和详细信息,可以看到DR系统正常工作,以Device A为例。

[DeviceA] display drni summary

Flags: A -- Aggregate interface down, B -- No peer DR interface configured

       C -- Configuration consistency check failed

 

IPP: BAGG1

IPP state (cause): UP

Keepalive link state (cause): UP

 

                     DR interface information

DR interface  DR group  Local state (cause)  Peer state  Remaining down time(s)

BAGG3         1         UP                   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: BAGG1/1

State: UP

Cause: -

Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG

Local Selected ports (index): FGE1/0/3 (260), FGE1/0/4 (261)

Peer Selected ports indexes: 260, 261

 

DR interface/DR group ID: BAGG3/1

Local DR interface state: UP

Peer DR interface state: UP

DR group state: UP

Local DR interface down cause: -

Remaining DRNI DOWN time: -

Local DR interface LACP MAC: COnfig=N/A, Effective=0002-0002-0002

Peer DR interface LACP MAC: COnfig=N/A, Effective=0002-0002-0002

Local DR interface LACP priority: COnfig=32768, Effective=123

Peer DR interface LACP priority: COnfig=32768, Effective=123

Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG

Local Selected ports (index): FGE1/0/1 (258), FGE1/0/2 (259)

Peer Selected ports indexes: 258, 259

# 查看设备上的OSPF邻居信息,可以看到OSPF中各邻居的信息,以Device A为例。

[DeviceA] display ospf peer

 

         OSPF Process 1 with Router ID 11.1.1.1

               Neighbor Brief Information

 

 Area: 0.0.0.0

 Router ID       Address         Pri Dead-Time  State             Interface

 11.1.1.3        32.1.1.2        1   39         Full/BDR          FGE1/0/6

 11.1.1.4        10.102.0.2      1   31         Full/DROther      Vlan102

 11.1.1.2        10.102.0.4      1   37         Full/DR           Vlan102

# 查看设备上的OSPFv3邻居信息,可以看到OSPFv3中各邻居的信息,以Device A为例。

[DeviceA] display ospfv3 peer

 

               OSPFv3 Process 1 with Router ID 10.1.1.1

 

 Area: 0.0.0.0

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 10.1.1.3        1   Full/BDR          00:00:34  0      FGE1/0/6

 10.1.1.2        1   Full/BDR          00:00:32  0      Vlan102

 10.1.1.4        1   Full/DROther      00:00:39  0      Vlan102

# 查看设备上的BGP邻居信息,可以看到BGP中各邻居的信息,以Device A为例。

[DeviceA] display bgp peer ipv4

 

 BGP local router ID: 12.1.1.1

 Local AS number: 100

 Total number of peers: 2                 Peers in established state: 2

 

  * - Dynamically created peer

  ^ - Peer created through link-local address

  Peer                    AS  MsgRcvd  MsgSent OutQ PrefRcv Up/Down  State

 

  10.103.0.2             100        6        6    0       1 00:01:50 Established

  32.1.1.2               100        5        5    0       2 00:00:01 Established

# 查看设备上的BGP4+邻居信息,可以看到BGP4+中各邻居的信息,以Device A为例。

[DeviceA] display bgp peer ipv6

 

 BGP local router ID: 12.1.1.1

 Local AS number: 100

 Total number of peers: 2                 Peers in established state: 2

 

  * - Dynamically created peer

  ^ - Peer created through link-local address

  Peer                    AS  MsgRcvd  MsgSent OutQ PrefRcv Up/Down  State

 

  10:103::2              100        9        9    0       1 00:04:26 Established

  32:1::2                100        6        6    0       2 00:02:13 Established

 


暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明