Configure the LACP System Priority

本文介绍如何在两台交换机上配置Port Channel,包括启用Port Channel、设置物理端口模式、配置LACP系统及端口优先级等步骤。
部署运行你感兴趣的模型镜像


http://docs.oracle.com/cd/E19285-01/html/E21709/z400137f1407920.html#scrolltoc

In the following example, all of the ports in both switches are configured to belong to port channel 1. Ports 0/1, 0/2, and 0/3 are part of the LA. Unless otherwise noted, you must perform all of the commands in the following procedure on both switches.

  1. Enable port channeling, and create the port channel (1 in this example).
    SEFOS# configure terminal
    SEFOS(config)# set port-channel enable
    SEFOS(config)# interface port-channel 1
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# exit
  2. Configure the physical ports, and set the mode for each of the interfaces.
    SEFOS(config)# interface extreme-ethernet 0/1
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# channel-group 1 mode active
    SEFOS(config-if)# exit
    SEFOS(config)# interface extreme-ethernet 0/2
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# channel-group 1 mode active
    SEFOS(config-if)# exit
    SEFOS(config)# interface extreme-ethernet 0/3
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# channel-group 1 mode active
    SEFOS(config-if)# exit
    SEFOS(config-if)# end
  3. Review the etherchannel information on both switches to ensure that all of the ports have been added to the port channel.

    The output on both switches should be the same.

    SEFOS# show etherchannel 1 detail

    Note - Before you configure the LACP system priority, note that the extreme-ethernet port, 0/3, is the standby port in both switch A and switch B.


  4. Set the LACP system priority in switch B.
    SEFOS# configure terminal
    SEFOS(config)# lacp system-priority 20

    The values for the priority range from 0 to 65535. The lower the value, the higher the system priority. The switch with the lower system priority value determines the links between the LACP partner switches that are in active and standby states for each LACP port channel.

  5. Configure the LACP port priority for port 0/3 in switch A.
    SEFOS(config)# interface extreme-ethernet 0/3
    SEFOS(config-if)# lacp port-priority 20
    SEFOS(config-if)# end
  6. Review the etherchannel information.

    The output in the following examples has been truncated to show the relevant information. In this procedure, the output is different for each switch.

    SEFOS# show etherchannel 1 detail

    The relevant output in switch A should be:

    ...
    LACP System Priority: 32768
    ...

    The relevant output in switch B should be:

    ...
    LACP System Priority: 20
    ...

    Note - After you configure the LACP system priority, note that the extreme-ethernet port, 0/3, in switch A and switch B continue to be standby ports. The port priority for port 0/3 in switch A does not take effect because the system priority of switch A is less than the system priority of switch B.


您可能感兴趣的与本文相关的镜像

GPT-SoVITS

GPT-SoVITS

AI应用

GPT-SoVITS 是一个开源的文本到语音(TTS)和语音转换模型,它结合了 GPT 的生成能力和 SoVITS 的语音转换技术。该项目以其强大的声音克隆能力而闻名,仅需少量语音样本(如5秒)即可实现高质量的即时语音合成,也可通过更长的音频(如1分钟)进行微调以获得更逼真的效果

root@p134-168-070:~# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v5.10.200.bsk.2-amd64 Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: encap3+4 (4) MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 802.3ad info LACP rate: fast Min links: 1 Aggregator selection policy (ad_select): stable System priority: 65535 System MAC address: b8:e9:24:df:b1:89 Active Aggregator Info: Aggregator ID: 2 Number of ports: 1 Actor Key: 1 Partner Key: 0 Partner Mac Address: 00:00:5e:00:01:bd Slave Interface: eth1 MII Status: up Speed: 200000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: b8:e9:24:df:b1:89 Slave queue ID: 0 Aggregator ID: 1 Actor Churn State: churned Partner Churn State: churned Actor Churned Count: 1 Partner Churned Count: 1 details actor lacp pdu: system priority: 65535 system mac address: b8:e9:24:df:b1:89 port key: 1 port priority: 255 port number: 1 port state: 71 details partner lacp pdu: system priority: 65535 system mac address: 00:00:00:00:00:00 oper key: 1 port priority: 255 port number: 1 port state: 1 Slave Interface: eth0 MII Status: up Speed: 200000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: b8:e9:24:df:b1:88 Slave queue ID: 0 Aggregator ID: 2 Actor Churn State: none Partner Churn State: none Actor Churned Count: 0 Partner Churned Count: 0 details actor lacp pdu: system priority: 65535 system mac address: b8:e9:24:df:b1:89 port key: 1 port priority: 255 port number: 2 port state: 63 details partner lacp pdu: system priority: 200 system mac address: 00:00:5e:00:01:bd oper key: 0 port priority: 255 port number: 31 port state: 63
06-14
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值