close

參考網址:http://www.kabewm.com/2007/02/22/solaris-10-lacp-trunking-w-cisco-6509/

Today I was tasked with setting up a Solaris trunk to a Cisco switch. The documentation is very lacking, as most only shows one side or the other. Neither show a Solaris 10 machine talking to a Cisco switch, as though this is a very abnormal configuration. For kicks I am putting my configuration here. In this example I am making the switch active LACP and the Solaris box passive LACP.

On the Solaris side, just use good ol ‘dladm’ to create the trunk as specified below, adding more ‘-d INT’ as necessary. On my system the driver was e1000g.

# dladm create-aggr -P L2 -l passive -T short -d e1000g0 -d e1000g1 1

To view the LACP details follow the example below:

# dladm show-aggr -L
key: 1 (0x0001) policy: L2 address: X:XX:XX:XX:XX:XX (auto)
LACP mode: passive LACP timer: short
device activity timeout aggregatable sync coll dist defaulted expired
e1000g0 passive long yes yes yes yes no no
e1000g1 passive long yes yes yes yes no no

To view aggregate statistics follow the example below:

# dladm show-aggr -s
key: 1 ipackets rbytes opackets obytes %ipkts %opkts
Total 398054 41821394 278529 28661590
e1000g0 282639 28945342 1365 171084 71.0 0.5
e1000g1 23084 2724062 84099 8609560 5.8 30.2

This is what I did to configure the switch. Each port on the switch must be configured the same as GigabitEthernet1/1. Be sure to configure the ports first, before creating ‘interface port-channel 1′

port-channel per-module load-balance
port-channel load-balance dst-mac
!
interface Port-channel1
switchport
switchport mode access
no ip address
!
interface GigabitEthernet1/1
switchport
switchport mode access
no ip address
lacp port-priority 4096
lacp rate fast
channel-group 1 mode active
!

* Update 2/25/2007: Certain versions of the IOS for the Cisco Catalyst 6509 do not suppport Etherchannel trunks faster than 1 Gigabit. This will require an IOS upgrade for the full bandwidth of the LACP trunk to be used.

* Update 4/06/2007: Solaris 10u3 requires reboots after aggregator changes. This is a known bug, without a current fix.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 里歐 的頭像
    里歐

    里歐's 布拉格

    里歐 發表在 痞客邦 留言(0) 人氣()