Aboot Configuration Commands
Installation Commands (Aboot)
CONSOLESPEED
The CONSOLESPEED command in the boot-config file specifies the console baud rate when the switch is booted. The connected terminal must match the specified rate to communicate with the switch. Baud rate options include 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.
The default baud rate is 9600.
Command Syntax
CONSOLESPEED= baud_rate
Parameters
baud_rate specifies the console speed. Values include 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.
Example
CONSOLESPEED=2400
NET Commands
Aboot uses NET commands in the boot-config file during switch booting to configure the network interface used for switch configuration. You can enter these commands manually in Aboot.
NETDEV indicates the configured network interface. If boot-config does not contain a NETDEV command, the booting process does not attempt to configure a network interface. Other NET commands specify settings that Aboot uses to configure the interface.
Command Syntax
NETDEV=device_interface
NETAUTO=auto_setting
NETIP=interface_address
NETMASK=interface_mask
NETGW=gateway_address
NETDOMAIN=domain_name
NETDNS=dns_address
- device_interface the network interface. Options
include:
- ma1 management port 1.
- ma2 management port 2.
- auto_setting the configuration method. Options
include:
- dhcp interface is configured through a DHCP server; other NET commands are not.
- If the NETAUTO command is omitted, the interface configures with other NET commands.
- interface_address interface IP address, in dotted-decimal notation.
- interface_mask interface subnet mask, in dotted-decimal notation.
- gateway_address default gateway IP address, in dotted decimal notation.
- domain_name interface domain name.
- dns_address IP address of the Domain Name Server, in dotted decimal notation.
- This command specifies management port 1 as the
network interface configured for management
traffic.
NETDEV=ma1
- This command instructs the switch to configure the network interface through
a DHCP server, ignoring other NET
commands.
NETAUTO=dhcp
- These NET commands configure the network
interface.
NETIP=10.12.15.10 NETMASK=255.255.255.0 NETGW=10.12.15.24 NETDOMAIN=mycompany.com NETDNS=10.12.15.13
install bios source
install bios source command is used to install an Aboot Update File (AUF) to upgrade Aboot firmware.
install bios source indicates the location of the source file and the actions taken.
Command Syntax
install bios source SOURCE [active | standby] [reload | now]
Parameters
SOURCE the file location.
- This command installs an AUF file update.auf stored in
/mnt/flash.
switch# install bios source flash:/update.auf
Note: Follow the prompts after executing the command during the installation process. - This command performs a reboot directly after
installation.
switch# install bios source flash:/update.auf reload
- This command skips the prompts and performs the reboot automatically after
installation.
switch# install bios source flash:/update.auf now
- This command performs the installation only on the standby
supervisor.
switch# install bios source flash:/update.auf standby
Note: By default, the active supervisor gets upgraded, followed by the standby where applicable.
PASSWORD (ABOOT)
PASSWORD specifies the Aboot password, as described in Accessing the Aboot Shell. The Aboot shell does not require a password when boot-config does not contain a PASSWORD command.
The boot-config file stores the password as an MD5-encrypted string generated from a clear-text seed by the UNIX password program or the crypt library function. When entering the Aboot password, the user types the clear-text seed.
There is no method of recovering the password from the encrypted string. If the clear-text password is lost, delete the corresponding PASSWORD command line from the boot-config file.
The EOS boot secret command adds or modifies the PASSWORD configuration line.
Command Syntax
PASSWORD = encrypted_string
Parameters
encrypted_string, the encrypted string that corresponds to the clear-text Aboot password.
Example
PASSWORD=$1$CdWp5wfe$pzNtE3ujBoFEL8vjcq7jo/
SWI
SWI specifies the location and file name of the EOS image file that Aboot loads when booting, using the same format as boot-config to designate a local or network path.
Command Syntax
SWI = SWI_PATH
Parameters
- file_path specifies a file location on the internal flash drive.
- file:file_path specifies a file location in the switch directory.
- usb1:file_path specifies a file location on the USB drive.
- http:file_path specifies an HTTP path to the image file.
- ftp:file_path specifies an FTP path to the image file.
- tftp:file_path specifies a TFTP path to the image file.
- nfs:file_path specifies an NFS path to the image file.
- This SWI command in boot-config causes Aboot to boot the
switch from the file EOS.swi on the switch’s
internal flash
drive.
SWI=flash:EOS.swi
- This SWI command in boot-config causes Aboot to boot the
switch from the file EOS.swi at the specified
location on
foo.com.
SWI=http://foo.com/images/EOS.swi