Device Initialization Configuration
此内容尚不支持你的语言。
By default, both serial console-based login and SSH-based login are supported on AsterNOS appliances.
The first time you log in to the switch, you need to log in from the Console port (hereinafter referred to as the serial port), and you can log in to the switch via SSH after configuring the management port IP. Local login through the serial port is the most basic way to log in to the device, and it is also the basis for configuration through other login methods.
Among them, CX102S devices generally use the service port of ethernet1 as the management port because they do not have a dedicated management port.
Connect the Lines
Section titled “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 |
| Flow Control Method | No flow control |
| Verification Method | No verification |
| Data Bits | 8 |
| Stop Bits | 1 |
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:17Debian GNU/Linux 9 sonic ttyS0sonic login:- Log in to the device using the default username and password
sonic login: adminPassword:Last login: Thu Nov 3 17:17:59 UTC 2016 from 192.168.0.79 on pts/0Linux 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#- Configure the management network port IP address
sonic# configuresonic(config)# interface mgmt 0sonic(config-mgmt- 0)# ip address 30.1.1.2/24 gw 30.1.1.1sonic(config-mgmt- 0)# vrf mgmt- Save 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