Article Number: 000218783
Debian GNU/Linux 9 sonic ttyS1 sonic login: admin Password: YourPaSsWoRd
user@debug:~$ ssh admin@sonic_ip_address(or SONIC DNS Name) admin@sonic's password:
You are required to change your password immediately (root enforced) Changing password for admin. (current) UNIX password: YourPaSsWoRd Enter new UNIX password: ********* Retype new UNIX password: ******** Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 You are on SONIC -- Software for Open Networking in the Cloud – Unauthorized access and/or use are prohibited. All access and/or use are subject to monitoring. Help: http://azure.github.io/SONiC/ admin@sonic:~$
SSH 登录
默认情况下,SONiC 使用 DHCP 从 DHCP 服务器获取管理接口 (Management0) 的 IP 地址(请参阅 使用 DHCP 服务器 )。要设置远程 SSH 登录以配置交换机,请执行以下操作:
sonic# config terminal sonic(config)# interface Management 0 sonic(conf-if-Management0)# ip address 10.1.1.10/24 gwaddr 10.1.1.1 sonic(conf-if-Management0)# no shutdown sonic(conf-if-Management0)# exit sonic(config)# exit sonic# write memory
Debian GNU/Linux 9 sonic ttyS1 sonic login: admin Password: YourPaSsWoRd
user@debug:~$ ssh admin@sonic_ip_address(or SONIC DNS Name) admin@sonic's password:
admin@sonic:~$.要访问管理框架 CLI,请输入 SONiC CLI 命令。
sonic#操作员用户无法访问 Linux shell。
Enterprise SONiC Distribution, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, PowerSwitch Z9264F-ON
30 Oct 2023
2
How To