In this guide, we’ll walk through the process of setting up an Alcatel-Lucent switch using PuTTY. We’ll cover downloading the necessary software, connecting to the switch, and executing essential commands to reset, configure, and assign VLANs to ports.
1- Download Alcatel-Lucent Network Simulator or Use GNS3 for Testing
To begin, you’ll need a network simulator to test your configurations. You can either:
- Download the Alcatel-Lucent Network Simulator from the official website.
- Use GNS3, a popular network emulator, to simulate an Alcatel-Lucent switch environment.
2- Download and Install PuTTY
PuTTY is a free and lightweight SSH and Telnet client used for accessing and configuring network devices.
- Download PuTTY from https://www.chiark.greenend.org.uk/~sgtatham/putty/.
- Install the software by following the on-screen instructions.
3- Connect PuTTY to the Alcatel Switch via COM3
Once PuTTY is installed, follow these steps to connect to the switch:
- Open PuTTY.
- Under Connection Type, select Serial.
- Set Serial line to
COM3
(adjust if necessary based on your system). - Set Speed to
9600
. - Click Open to establish the connection.
You should now see a command-line interface where you can interact with the switch.
4- Login and Execute Commands
4.1. Reset the Switch
If you need to reset the switch to factory settings, use the following command:
delete-config
reboot
This will erase all configurations and restart the switch.
4.2. Configure the Switch After Reboot
Once the switch restarts, configure the basic settings:
- Set Switch Name:
configure system name MySwitch
- Set Time Zone:
configure system timezone UTC -5
- Enable Power Over LAN (PoE):
configure system power-over-ethernet enable
4.3. Assign VLAN to a Port
To assign a VLAN to a specific port, use:
configure vlan 10 add port 1/1/1
This assigns VLAN 10 to port 1/1/1.
4.4. System Operations Commands
reload
This command reboots the switch. It is commonly used to apply system changes or recover from issues.
go to your CMD and try these commands
> reload
reload working
This command reloads the switch using the current working configuration rather than the certified configuration.
> reload working
reload ni
Reloads a specific Network Interface (NI) module.
> reload ni <slot>
reload all
Reloads all modules within the chassis.
> reload all
reload pass-through
Performs a pass-through reload of the switch.
> reload pass-through
4.5. Configuration Management Commands
copy running-config working
Copies the active running-config to the working configuration, ensuring changes are saved.
> copy running-config working
write memory
Saves the current running configuration to both working and certified configurations.
> write memory
copy working certified
Copies the working configuration to the certified configuration to ensure settings persist across reboots.
> copy working certified
copy flash-synchro
Synchronizes the flash memory between the primary and secondary CMMs in redundant systems.
> copy flash-synchro
takeover
In a redundant system with two CMMs, this command forces a failover to the standby CMM, making it the active one.
> takeover
update
Updates the switch software components.
> update
update lanpower
Updates Power over Ethernet (PoE) settings.
> update lanpower
4.6. System Configuration Commands
system contact
Configures the system contact information.
> system contact "Admin Name"
system name
Sets the system hostname.
> system name "Switch-1"
system location
Defines the physical location of the switch.
> system location "Data Center"
system date
Sets the system date.
> system date YYYY-MM-DD
system time
Sets the system time.
> system time HH:MM:SS
system time-and-date synchro
Synchronizes the system clock with an external time source.
> system time-and-date synchro
system timezone
Configures the system timezone.
> system timezone GMT+7
system daylight savings time
Enables or disables daylight savings time.
> system daylight savings time enable
4.7. Stack Management Commands
stack set slot
Assigns a module to a specific slot.
> stack set slot <slot-number>
stack set slot mode
Sets the operational mode of a stack slot.
> stack set slot mode <mode>
stack clear slot
Clears the configuration of a specific stack slot.
> stack clear slot <slot-number>
4.8. Power and Temperature Management Commands
power ni
Manages power settings for network interfaces.
> power ni <slot> <enable/disable>
temp-threshold
Configures temperature threshold settings.
> temp-threshold <value>
4.9. Show Commands
show system
Displays system information.
> show system
show hardware info
Shows details about hardware components.
> show hardware info
show chassis
Displays chassis-related information.
> show chassis
show cmm
Provides details about the Chassis Management Module.
> show cmm
show ni
Displays information about installed network interfaces.
> show ni
show module
Lists installed modules.
> show module
show module long
Provides detailed module information.
> show module long
show module status
Displays the status of modules.
> show module status
show power
Displays power consumption details.
> show power
show fan
Shows fan speed and status.
> show fan
show temperature
Displays current temperature readings.
> show temperature
show stack topology
Displays the stack topology.
> show stack topology
show stack status
Provides the status of stack members.
> show stack status
show stack mode
Shows the mode of the stack configuration.
> show stack mode
show hash-control
Displays the hash-control settings.
> show hash-control
4.10. License Management Commands
license apply
Applies a software license.
> license apply <license-key>
license remove
Removes a software license.
> license remove <license-key>
license unlock
Unlocks additional features based on a valid license.
> license unlock <license-key>
show license info
Displays current license details.
> show license info
show license file
Shows the contents of a license file.