Configuration Guide
Basic Configuration
Login Device
5 min
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 connect the lines connect the lines 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 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 i18n compiled on nov 15 2018, 20 18 47 port /dev/ttyusb1, 11 24 17 press ctrl a z for help on special keys debian gnu/linux 9 sonic ttys0 sonic 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# configure sonic(config)# interface mgmt 0 sonic(config mgmt 0)# ip address 30 1 1 2/24 30 1 1 1 sonic(config mgmt 0)# vrf mgmt saving the configuration sonic# write save running config existing files will be overwritten, continue? \[y/n] y running command /usr/local/bin/sonic cfggen d print data > /etc/sonic/config db json
