Dell EMC Networking S-Series: 기본 스위치 관리 구성 - SONIC 4.0

Summary: SONIC 4.0 기본 스위치 관리 구성 방법

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

지침
참고: 이 단계에서는 공장 출고 시 기본 설정과 함께 스위치가 구성된다고 가정합니다.

관리 인터페이스 네트워크 연결 설정 지침:  
  1. S Series 스위치의 콘솔 또는 관리 IP를 엽니다. 
  2. 기본 자격 증명(admin\YourPaSsWoRd)으로 권한 있는 실행 모드에 로그인합니다.
Debian GNU/Linux 9 sonic ttyS0

sonic login: admin
Password:
Last login: Mon Jul 18 22:08:17 UTC 2022 on ttyS0
Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --
  1. sonic-cli를 사용해 SONIC CLI를 시작합니다.
admin@sonic:~$ sonic-cli
sonic#
  1. 스위치 구성을 수정하려면 configure terminal 명령을 실행하여 스위치 구성을 편집한 다음 키를 누릅니다.
sonic# configure terminal
sonic(config)#
  1. 다음과 같이 관리 인터페이스의 실행 중인 구성을 표시합니다:  show running-configuration interface management 0
sonic# show running-configuration interface Management 0
!
interface Management 0
 description Management0
 mtu 1500
 autoneg on
 speed 1000
sonic#
  1. 스위치 구성을 수정하려면 configure terminal 명령을 실행하여 스위치 구성을 편집한 다음 키를 누릅니다.
sonic# configure terminal
sonic(config)#
  1. 관리 인터페이스를 구성하려면 Interface Management 0 명령을 사용합니다.
sonic(config)# interface Management 0
sonic(conf-if-eth0)#
  1. 다음을 사용하여 관리 인터페이스에서 정적 IP 주소 및 기본 게이트웨이를 구성합니다. IP 주소 1.1.1.2/24 gwaddr 1.1.1.1
sonic(conf-if-eth0)# ip address 1.1.1.2/24 gwaddr 1.1.1.1
sonic(conf-if-eth0)#
  1. end를 사용해 구성 모드를 종료하고 실행 모드로 이동합니다.
sonic(conf-if-eth0)# end
sonic#
  1. 다음과 같이 실행 모드에서 관리 인터페이스 구성이 올바른지 확인합니다: show running-configuration interface Management 0
sonic# show running-configuration interface Management 0
!
interface Management 0
 description Management0
 mtu 1500
 autoneg on
 speed 1000
 ip address 1.1.1.2/24 gwaddr 1.1.1.1
sonic#
  1. write memory를 사용해 실행 중인 구성을 시작 구성으로 저장합니다.
sonic# write memory
sonic#
참고: 정적 IP 주소가 Management 0 인터페이스에 저장되면 DHCP가 자동으로 비활성화됩니다. 정적 IP 주소가 제거되면, DHCP가 자동으로 재활성화됩니다.

관리자 수준 사용자 설정 지침:  
  1. S Series 스위치의 콘솔 또는 관리 IP를 엽니다. 
  2. 기본 자격 증명(admin\YourPaSsWoRd)으로 권한 있는 실행 모드에 로그인합니다.
Debian GNU/Linux 9 sonic ttyS0

sonic login: admin
Password:
Last login: Mon Jul 18 22:08:17 UTC 2022 on ttyS0
Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --
  1. sonic-cli를 사용해 SONIC CLI를 시작합니다.
admin@sonic:~$ sonic-cli
sonic#
  1. 스위치 구성을 수정하려면 configure terminal 명령을 실행하여 스위치 구성을 편집한 다음 키를 누릅니다.
sonic# configure terminal
sonic(config)#
  1. sysadmin 권한으로 사용자 이름 'test'와 비밀번호를 구성합니다. username test password P@ssw0rd!123 role admin
sonic(config)# username test password P@ssw0rd!123 role admin
sonic(config)#
  1. end를 사용해 구성 모드를 종료하고 실행 모드로 이동합니다.
sonic(config)# end
sonic#
  1. show running-configuration | grep test를 사용하여 사용자 구성을 확인합니다.
sonic# show running-configuration | grep user
username test role admin
  1. write memory를 사용해 실행 중인 구성을 시작 구성으로 저장합니다.
sonic# write memory
sonic#

더 자세한 내용은 Dell Technologies Enterprise SONiC 사용자 가이드 릴리스 문서를 참고하거나 Dell Technologies 기술 지원 부서에 문의하십시오.

Affected Products

Enterprise SONiC Distribution
Article Properties
Article Number: 000201926
Article Type: How To
Last Modified: 24 May 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.