zoukankan      html  css  js  c++  java
  • IRF2实验

    修改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}

  • 相关阅读:
    spring retry注解
    安装mongodb并配置
    spring boot Hello World
    Linux命令echo
    Linux vi命令
    查看linux是ubuntu还是centos
    Linux系统时间, 硬件BIOS时间的校准与同步
    MySQL优化查询 5.7版本
    战略由谁来制定
    VS2015快捷键
  • 原文地址:https://www.cnblogs.com/ccshi/p/13140322.html
Copyright © 2011-2022 走看看