본문 바로가기
728x90
반응형

Network/Switch4

유비쿼스 스위치 기본 설정 장비 최초 부팅 시 로그인 계정 : root root 로그인 하면 새로운 계정 생성 하라고 나옴(ex : admin 입력 후 Enter) 새로운 계정 입력 후 스위치 Password 입력하라는 창이 뜨고 Password를 입력 enable conf t no ip domain-lookup enable password 입력 후 Enter를 치면 Password 입력 하는 창이 나옴, 패스워드를 입력 (enable, vty, console 진입 시 공통으로 사용됨 Cisco와 다른점) line console 0 exec-timeout 0 login exit line vty 0 7 login exit int range interface 0/1-28 no shutdown exit vlan 1 exit int vl.. 2021. 10. 20.
시스코 스위치 VLAN 설정 초기화 switch>enable switch# show flash System flash directory: (하단은 예시 / vlan.dat 파일을 삭제해야 함) File Length Name/status 4 222 vlan.dat switch# delete flash:vlan.dat switch# show flash System flash directory: (하단은 예시) File Length Name/status switch# reload System configuration has been modified. Save?[yes/no] : no Proceed with reload? [confirm] // Enter로 진행 Continue with configuration dialog? [yes/no] : .. 2021. 10. 6.
시스코 스위치 초기 설정 명령어 약어 설명 Switch> enable Switch# configure terminal Switch(config)# hostname SW1 SW1(config)# enable secret qwer12#$ SW1(config)# no ip domain-lookup SW1(config)# line console 0 SW1(config-line)# password qwer12#$ SW1(config-line)# login SW1(config-line)# exec-timeout 0 SW1(config-line)# logging synchronous SW1(config-line)# exit SW1(config)# line vty 0 4 SW1(config-line)# password qwer12#$ SW1(.. 2021. 9. 30.
시스코 스위치 초기화 switch>enable switch# show running-config //config 설정 확인 -> 필요 config 백업 switch# erase startup-config //초기 설정파일 삭제 Erasing the nvram filesystem will remove all configuration files! Continue?[confirm] // Enter로 진행 [OK] Erase of nvram : complete switch# write erase //config 설정 초기화 Erasing the nvram filesystem will remove all configuration files! Continue?[confirm] // Enter로 진행 [OK] Erase of nvram .. 2021. 9. 30.
반응형