Login Device
By default, AsterNOS devices support login through both the serial console and SSH (Secure Shell).
When initially logging into the switch, you will need to use the console port (referred to as the serial port below) to establish a connection. After configuring the management interface’s IP address, you can then use SSH to log into the switch. Local login via the serial console is the fundamental method for accessing the device, and it forms the basis for configuring other login methods. The specific steps are as follows:
This series of switches utilize RJ-45 connectors for serial console connections. The distribution of serial console ports varies among different models. Generally, they can be found on the front panel of the device, while some might be located on the rear panel, often marked with the label “CON.”
After the device is powered on, connect the switch’s serial console port to a server or PC. It’s important to ensure that the communication parameter settings of the user terminal match the default configuration of the switch’s serial console to establish communication. The default values for each parameter are as shown in the table below:
| Parameter | Default Value |
|---|---|
| Baud Rate | 115200 |
| Data Bits | 8 |
| Stop Bits | 1 |
| Parity | None |
Serial Port Login Device
Section titled “Serial Port Login Device”- Initial Login via Console Port: Connect to the device through the Console port. After pressing Enter, a login prompt will appear.
Welcome to minicom 2.7 OPTIONS: I18nCompiled on Nov 15 2018, 20:18:47.Port /dev/ttyUSB1, 11:24:17 Press CTRL-A Z for help on special keysDebian GNU/Linux 9 sonic ttyS0sonic login:- Logging into the Device with Default Credentials:
Username: admin Password: asteros
sonic login: admin
Password:
Last login: Thu Nov 3 17:17:59 UTC 2016 from 192.168.0.79 on pts/0
Linux sonic 5.10.34-asternos #5 SMP PREEMPT Thu Jul 14 08:20:14 EDT 2022 aarch64
_ _ _ _ ___ ____ / \ ___ | |_ ___ _ __ | \ | | / _ \ / ___| / _ \ / __| | __| / _ \| '__|| \| || | | |___ \ / ___ \ __ \ | |_ | __/ | | | |\ || |_| | ___) |/_/ _\|___/ __| ___| |_| |_| _| ___/ |____/
------- Asterfusion Network Operating System -------
Help: http://www.asterfusion.com/
Last login: Wed Jun 23 06:44:22 2021 from 192.168.10.198...Entering cli view, please wait...sonic#- Configuring the Management Interface IP Address:
sonic# configuresonic(config)# interface mgmt 0sonic(config-mgmt-0)# ip address 30.1.1.2/24 30.1.1.1sonic(config-mgmt-0)# vrf mgmt- Saving the Configuration:
sonic# writesave running-config...Existing files will be overwritten, continue? [y/N]: yRunning command: /usr/local/bin/sonic-cfggen -d --print-data > /etc/sonic/config_db.json