Configure the LACP Port Priority

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. You must run all of the commands in this 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 in both switches to ensure that the channel group settings have been changed.

    The output has been truncated for readability. The output should be the same in both switches.

    SEFOS# show etherchannel 1 detail
     
    ...
    -------------
    Port State = Up in Bundle
    Channel Group : 1
    Mode : Active
    Pseudo port-channel = Po1
    LACP port-priority  = 128
    LACP Wait-time  = 2 secs
    ...
    -------------
    Port State = Hot standby
    Channel Group : 1
    Mode : Active
    Pseudo port-channel = Po1
    LACP port-priority  = 128
    LACP Wait-time  = 2 secs

    Note - Before configuring the LACP port priority, consider that the extreme-ethernet port, 0/3, is the standby port in switches A and B. The maximum number of ports in the port channel is 2.


  4. On switch A, configure the LACP port priority for port 0/3.
    SEFOS# configure terminal
    SEFOS(config)# interface extreme-ethernet 0/3
    SEFOS(config-if)# lacp port-priority 20
    SEFOS(config-if)# end

    The possible range of values is from 0-65535. The lower the value, the more likely that the interface will be used for LACP transmission.

  5. Type the show command to review the etherchannel information to ensure that the port 0/3 information was added to the etherchannel report.

    After you configure the LACP port priority, port 0/2 is the standby port in both switches.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值