Monday 8 September 2014

Alcatel Lucent SFP+ ports and 1Gb SFPs (mGIBCs)

So how do you get a 1Gb SFP to work come up when it's plugged into a 1Gb/10Gb SFP+ port (on an Alcatel Lucent 6900 in this case)? The port shows the transceiver information (-> show transceivers) correctly but I wasn't getting a "link up".

You have to turn off auto-negotiate on the port in question it seems:

My_AL -> interfaces port 2/1 autoneg disable

My_AL -> show interface 2/1 status
                      DETECTED-VALUES         CONFIGURED-VALUES
 Slot/ Admin  Auto  Speed   Duplex  Pause   Speed   Duplex  Pause  Link
 Port  Status Nego  (Mbps)                  (Mbps)                 Trap
------+------+----+--------+------+-------+--------+------+-------+-----
 2/1      en   dis    1000   Full     -       100    Half     -     dis

Friday 23 May 2014

Dynamic Link Aggregation on Alcatel Lucent

Specifically, how to remove a dynamic linkagg from an Alcatel 6900 switch.

First take a look at the linkagg:

BR-02-> show linkagg

Number  Aggregate     SNMP Id   Size Admin State  Oper State     Att/Sel Ports
-------+-------------+---------+----+------------+--------------+-------------
 127     Dynamic      40000127  16   ENABLED     DOWN            1   1

Now disable the linkagg:

BR-02-> linkagg lacp agg 127 admin-state disable

Then remove the ports currently in the dynamic linkagg (for me it was just one port - 2/12):

BR-02-> no linkagg lacp port 2/12

You then should be able to remove the linkagg entirely:

BR-02-> no linkagg lacp agg 127

However, like me, you may see the following error:

BR-02-> no linkagg lacp agg 127
ERROR: Aggregate has Service config

Take a look through your config for any auto-generated lines related to the linkagg group.

BR-02-> wr t | grep linkagg
linkagg static agg 1 size 2 admin-state enable
linkagg lacp agg 127 size 16 admin-state disable
linkagg lacp agg 127 actor admin-key 65535
spb isis interface linkagg 127

In my case I had to remove that last line:

BR-02-> no spb isis interface linkagg 127

And then repeat the linkagg removal command:

BR-02-> no linkagg lacp agg 127

Monday 14 April 2014

Software upgrade process for Alcatel Lucent switch

If you can't find the upgrade process in the switch manuals (that's because it's not there!) here's the method described in the release notes (slightly modified by me).

This is specifically for a 6900 series Omniswitch but it probably applies to other models.

Your software upgrade file should have a Image file - Tos.img and possibly also a U-Boot file (u-boot.x.x.tar.gz) and possibly a FPGA file as well (tor_fpgas_x_x.vme)

  1. Take a copy of your working directory so you have a backup of the current code:

  2. -> cp -r working working_prev

  3. Place the new image file in your working directory

  4. -> scp user@host:Tos.img ./working

  5. Copy the other two files (if they exist) into the current directory

  6. -> scp user@host:u-boot.tar.gz .
    -> scp user@host:tor_fpgas.vme .


  7. Upgrade the U-Boot file (if the file exists)

  8. -> update uboot cmm 1 file u-boot.x.x.tar.gz

  9. Upgrade the fpga (if the file exists)

  10. -> update fpga cmm 1 file tor_fpgas.vme

  11. You can now remove the u-boot and fpga files

  12. -> rm u-boot.x.x.tar.gz
    -> rm tor_fpgas.vme


  13. Upgrade the switch software by rebooting the switch from the working directory

  14. -> reload from working no rollback-timeout

  15. Check the software version after reboot

  16. -> show microcode
    /flash/certified Package           Release                 Size     Description
    -----------------+-------------------------+--------+-----------------------
    Tos.img           7.3.2.344.R01             126642216 Alcatel-Lucent OS

  17. If all looks well after the reboot you can copy the current config/software to the certified config

  18. -> copy running certified

  19. If all doesn't look well you can always revert to the previous version in your copy of the working directory

  20. -> cp -r working_prev working
    -> reload from working no rollback-timeout


Some more useful Alcatel commands to be found here:

http://www.latouche.info/admin/user_guides/omniswitch.html

Tuesday 14 January 2014

How to set the LLDP advertised address on a Procurve switch


Like so:

MySwitch# lldp config all ipAddrEnable [IP Address]

The "all" specifies all ports so can be replaced with an individual port number.
The specified [IP Address] has to have been manually configured on the switch (i.e. cannot be a DHCP allocated address).