Configure the LACP System 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. 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.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值