码迷,mamicode.com
首页 > 其他好文 > 详细

IRF2实验

时间:2020-06-16 13:30:42      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:new   ret   rabl   acp   回车   自动重启   top   configure   code   

技术图片

 

 

 

修改B的设备编号

<H3C>system-view

System View: return to User View with Ctrl+Z.

[H3C]irf member 1 renumber 2

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y

[H3C]quit

< H3C >reboot

A也要重启reboot

修改A的优先级,并配置irf端口,并绑定物理端口Ten-GigabitEthernet 1/0/52

<H3C>system-view

[H3C]irf member 1 priority 5

[H3C]interface Ten-GigabitEthernet 1/0/52

[H3C-Ten-GigabitEthernet1/0/52]shutdown

[H3C-Ten-GigabitEthernet1/0/52]quit

[H3C]irf-port 1/2

[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/52

[H3C-irf-port1/2]quit

[H3C]interface Ten-GigabitEthernet 1/0/52

[H3C-Ten-GigabitEthernet1/0/52]undo shutdown

[H3C-Ten-GigabitEthernet1/0/52]save

[H3C-Ten-GigabitEthernet1/0/52]

配置Birf端口,并绑定物理端口Ten-GigabitEthernet 1/0/52

[H3C]interface Ten-GigabitEthernet 2/0/52

[H3C-Ten-GigabitEthernet2/0/52]shutdown

[H3C-Ten-GigabitEthernet2/0/52]quit

[H3C]irf-port 2/1

[H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/52

[H3C-irf-port2/1]quit

[H3C]interface Ten-GigabitEthernet 2/0/52

[H3C-Ten-GigabitEthernet2/0/52]undo shutdown

[H3C-Ten-GigabitEthernet2/0/52]save

[H3C-Ten-GigabitEthernet2/0/52]

激活Airf端口配置

[H3C]irf-port-configuration active

激活Birf端口配置(竞选失败的一方会自动重启)

[H3C]irf-port-configuration active

A上创建动态聚合端口

[H3C]interface Bridge-Aggregation 2

[H3C-Bridge-Aggregation2]link-aggregation mode dynamic

[H3C-Bridge-Aggregation2]mad en

[H3C-Bridge-Aggregation2]mad enable

You need to assign a domain ID (range: 0-4294967295)

[Current domain is: 0]:            \\回车

The assigned domain ID is: 0

MAD LACP only enable on dynamic aggregation interface.

[H3C-Bridge-Aggregation2]quit

[H3C]

A上添加聚合端口

[H3C]interface GigabitEthernet 1/0/1

[H3C-GigabitEthernet1/0/1]port link-aggregation group 2

[H3C-GigabitEthernet1/0/1]quit

[H3C]interface GigabitEthernet 2/0/1

[H3C-GigabitEthernet2/0/1]port link-aggregation group 2

设备C的配置聚合端口

<H3C>system-view

[H3C]interface Bridge-Aggregation 2

[H3C-Bridge-Aggregation2]link-aggregation mode dynamic

[H3C-Bridge-Aggregation2]quit

[H3C]interface GigabitEthernet 1/0/1

[H3C-GigabitEthernet1/0/1]port link-aggregation group 2

[H3C-GigabitEthernet1/0/1]quit

[H3C]interface GigabitEthernet 1/0/2

[H3C-GigabitEthernet1/0/2]port link-aggregation group 2

 

测试

<H3C>dis irf

MemberID    Role    Priority  CPU-Mac         Description

  *1        Master  5         5ed5-baab-0100  ---

  +2        Standby 1         5ed5-c2b9-0200  ---

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

 * indicates the device is the master.

 + indicates the device through which the user logs in.

 

 The Bridge MAC of the IRF is: 5ed5-baab-0100

 Auto upgrade                : yes

 Mac persistent              : 6 min

 Domain ID  

<H3C>dis irf configuration

 MemberID NewID    IRF-Port1                     IRF-Port2

 1        1        disable                       Ten-GigabitEthernet1/0/52

 2        2        Ten-GigabitEthernet2/0/52     disable

 

 

<H3C>dis irf topology

                              Topology Info

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

               IRF-Port1                IRF-Port2

 MemberID    Link       neighbor      Link       neighbor    Belong To

 1           DIS        ---           UP         2           5ed5-baab-0100

 2           UP         1             DIS        ---         5ed5-baab-0100

 

<H3C>dis mad

MAD ARP disabled.

MAD ND disabled.

MAD LACP enabled.

MAD BFD disabled.

[H3C-GigabitEthernet2/0/1]dis mad verbose

Current MAD status: Detect

Excluded ports(configurable):

Excluded ports(can not be configured):

  Ten-GigabitEthernet1/0/52

  Ten-GigabitEthernet2/0/52

MAD ARP disabled.

MAD ND disabled.

MAD enabled aggregation port:

  Bridge-Aggregation2

MAD BFD disabled.

 

[H3C]dis link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Port Status: S -- Selected, U -- Unselected, I -- Individual

Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

 

Aggregate Interface: Bridge-Aggregation2

Aggregation Mode: Dynamic

Loadsharing Type: Shar

System ID: 0x8000, 5ed5-baab-0100

Local:

  Port             Status  Priority Oper-Key  Flag

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

  GE1/0/1          S       32768    1         {ACDEF}

  GE2/0/1          S       32768    1         {ACDEF}

Remote:

  Actor            Partner Priority Oper-Key  SystemID               Flag

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

  GE1/0/1          2       32768    1         0x8000, 5ed5-cba3-0300 {ACDEF}

  GE2/0/1          3       32768    1         0x8000, 5ed5-cba3-0300 {ACDEF}

 

IRF2实验

标签:new   ret   rabl   acp   回车   自动重启   top   configure   code   

原文地址:https://www.cnblogs.com/ccshi/p/13140322.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!