Alcatel Switch Configuration
Published on 7 min read
Updated on
In this series39 min read in total
An Alcatel-Lucent OmniSwitch does the same job as a Cisco switch, but its operating system, AOS, does not think the same way. The commands differ, and above all the configuration handling rests on a mechanism absent from IOS: two distinct boot directories, whose understanding conditions everything else.
This article starts from that peculiarity, then walks through the usual operations in the order you meet them: reading and saving, starting over, addressing and segmenting, stacking and monitoring.
A CLI that does not think like IOS
Three differences stand out within the first minutes.
- No nested modes. Where IOS requires
enablethenconfigure terminaltheninterface, AOS accepts every command from a single prompt. There is no(config-if)#to get lost in. - Case-insensitive commands.
show vlan,Show VLANandSHOW VLANare strictly equivalent. The examples in this article use lowercase by convention. - Saving happens in two stages, which is the subject of the next section.
For anyone coming from Cisco, this table gives the most useful equivalences:
| Goal | Cisco IOS | Alcatel AOS |
|---|---|---|
| Show the configuration | show running-config | show configuration snapshot |
| Save | write memory | write memory then copy working certified |
| Create a VLAN | vlan 10 then name TEST | vlan 10 name TEST |
| Delete a VLAN | no vlan 10 | no vlan 10 |
| Address an interface | interface vlan 10 then ip address | ip interface ... vlan 10 |
| List IP interfaces | show ip interface brief | show ip interface |
| Reboot | reload | reload from working |
Reading and saving the configuration
Showing the active configuration
show configuration snapshotThe command produces an image of the active configuration, directly reusable as a configuration file. A feature keyword narrows it to one area, for example show configuration snapshot vlan.
Understanding the two directories
This is the structuring peculiarity of AOS. The switch keeps two sets of boot files in flash memory.
| Directory | Content | Role |
|---|---|---|
/flash/working | the work-in-progress configuration | receives your saved changes |
/flash/certified | the reference configuration | safety net, known to work |
Saving in two stages
Write the active configuration into working
Terminal write memoryThe active configuration is saved into
/flash/working/boot.cfg. The certified directory stays untouched: on a reboot ontocertified, your change would be lost.Check the synchronisation state
Terminal show running-directoryThe output states which directory the switch booted from and whether
workingandcertifiedare synchronised. This is the command that answers “will my configuration survive a reboot”.Certify once the configuration is validated
Terminal copy working certifiedThis step copies
workingintocertifiedand pins the new configuration as the reference. Only run it after confirming everything works, connectivity included.
Starting over from a blank configuration
Resetting a switch recovered from another site means deleting both boot files, since the certified one would otherwise act as a fallback.
Delete both configuration files
Terminal rm /flash/working/boot.cfgrm /flash/certified/boot.cfgMove onto the working directory
Terminal cd workingReboot with no rollback timer
Terminal reload working no rollback-timeoutConfirm with
y. The switch reboots onto an empty directory and comes back with its factory configuration.
Addressing and segmenting
Creating and deleting a VLAN
vlan 10 name TESTCreates VLAN 10 and names it TEST, in one command where IOS needs two.
no vlan 10Deletes VLAN 10.
Viewing VLAN assignment on ports
show vlan portThis is the equivalent of Cisco’s show vlan brief: the command to run first when two machines cannot see each other.
Addressing an interface
ip interface <name> address <ip> mask <mask> vlan <vlan_num>show ip interfaceStacking and monitoring
Renumbering a stack element
stack set slot 1 saved-slot 21 is the current slot number, 2 the one you want to give it. The change takes effect on the next reboot.
show stack topologyShows the order of the elements and the state of the stacking cables.
Creating a user
user User1 password Test read-only allCreates the User1 account with read-only access across every command family. read-write all grants full powers instead.
Configuring SNMP
snmp security no securityThese commands cover bringing an OmniSwitch into service and running it day to day. The two-directory mechanism remains the only real surprise for anyone coming from IOS: once understood, it turns every remote change into a reversible operation.