Author's posts

Cisco C4507 스위치 CPU 점유율 상승 문제.

시스코 C4507의 CPU 사용율이 갑자기 70%이상 증가(평소 20% 수준)하는 현상 발생 1. show process cpu 명령으로 어떤 프로세스가 CPU를 많이 점유하는지 확인한다. switch#sh processes cpu CPU utilization for five seconds: 73%/12%; one minute: 70%; five minutes: 71% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 1 12146602 11934173 1017 0.00% 0.00% 0.00% 0 Chunk …

Continue reading

윈도우즈 커맨드로 IP 주소 설정하기.

MS 윈도우의 CLI에서 netsh 명령으로 IP 주소를 설정할 수 있으며, 방법은 아래와 같다. netsh 명령으로 현재 IP주소와 인터페이스의 이름을 확인해본다. 아래에서 인터페이스 이름은 ‘이더넷’ 이며, ip주소를 설정하거나 변경할때 이 이름을 사용한다. C:\Users\Works>netsh interface ipv4 show config “이더넷” 인터페이스에 대한 구성 DHCP 사용: Yes IP 주소: 192.168.0.2 서브넷 접두사: 192.168.0.0/24(마스크 255.255.255.0) 기본 게이트웨이: 192.168.0.1 게이트웨이 메트릭: …

Continue reading

Hyper-V Linux Guest의 검사점(check point) 생성 오류 해결하기

Hyper-V Linux Guest의 검사점(check point) 생성 오류 윈도우서버 2016 standard Hyper-v에서, 게스트 OS (리눅스 CentOS 6)의 검사점을 만들려고 할 때,아래 그림과 같이 오류가 발생했다.

Continue reading

Cisco 4507 muxbuffer 에러

장비: Cisco 4507에서 에러 메시지 Error Message C4K_CHASSIS-3-MUXBUFFERREADSUPERVISORSELECTIONFAILED: Failed to read linecard [dec] muxbuffer supervisor selection register 증상: configuration 초기화. I/O 보드 인식 안됨 https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/53SG/system/messages/sem_53sg/emsg.html#wp1352731 위 문서에 의하면, Explanation The active supervisor tried to read alignment information for the switching module slot’s mux buffer from the chassis mux buffer module, but was unable to do …

Continue reading

Cisco 장비 비밀번호 설정하기

아래 내용은 기본적으로 C2960에서 설정했으며, 지원되지 않는 기능(aux password, ssh)은 gns3 IOU2를 이용했다. 비밀번호는 5가지(consol, auxillary, telnet, enable, enable secret)를 설정 할 수 있다. 1. enable 비밀번호 설정 enable password와 enable secret 명령은 privileged 모드 사용 권한을 위해 설정한다. Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#enable ? last-resort Define enable …

Continue reading

Cisco 스위치 Log 포맷 설정

Cisco 스위치 Log 포맷 설정하기 시스코 C2960 스위치 로그가 아래처럼 보인다. 아래 로그는 uptime 기준으로 이벤트 발생을 보여준다. Switch#sh log … 29w2d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to up 29w2d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down 29w2d: %LINK-3-UPDOWN: Interface FastEthernet0/7, changed state to down 29w2d: %LINK-3-UPDOWN: Interface FastEthernet0/7, …

Continue reading

Hyper-v, Guest( windows server 2012R 2)부팅 문제

HP DL380G9 서버, 윈도우 2012 R2를 Disk2vhd로 이미지 만든 후(vhdx 포맷) hyper-v 게스트로 만들었을때, 부팅 안되는 문제 발생 원인은 EFI 부트 영역이 이미지로 제대로 만들어지지 않아서 발생했고, 윈도우 CD로 부팅한 후에, EFI부트 영역을 만들어주면 정상적으로 부팅됨. 참고문서: https://social.technet.microsoft.com/Forums/windowsserver/en-US/9a668872-0f58-4da3-a407-2f2018d42b50/windows-server-2012-r2-datacenter-how-to-create-hyperv-which-will-be-the-replica-of-host-os?forum=winserverhyperv

Extreme Switch 설정 변경 확인

익스트림 스위치 프롬프트의 맨 앞 * 표시는 설정 변경된 내용이 있음을 표시해 준다. 그렇다면 어떤 내용이 변경되었는지는 어떻게 확인 할 수 있을까? 시스코 스위치의 show archive config differences 같은 명령어는 발견(?)하지 못했다. 다만, python스크립트를 사용하면 확인 가능하다. 스크립트 이름은 conf_diff.py 이며, 그 내용은 https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/conf_diff/conf_diff.py 에서 확인 할 수 있다. 익스트림 스위치에서 파이썬 스크립트는 load script …

Continue reading

Cisco 스위치 설정 변경 확인

Cisco 스위치에서, 변경된 설정이 저장되었는지 저장되었는지 확인하기 위한 방법 show archive config differences 명령으로 확인 가능하다. 물론, show run, show config 명령으로 설정 내용을 일일이 비교하는 것도 가능하기는 하다. 아래 예는 e0/0-3 포트를 vlan 100에 할당하고 저장하지 않았음을 보여준다. Switch#show archive config differences !Contextual Config Diffs: interface Ethernet0/0 -switchport access vlan 100 interface Ethernet0/1 -switchport …

Continue reading

익스트림 스위치 telnet 접속 ip 주소 제한

익스트림 스위치에 telnet 접속이 가능한 ip주소 또는 호스트를 설정하는 방법. access-list 정책을 만든다(내 경우는 기존 정책에 호스트를 추가). restrict_telnet.pol이름으로 화일을 생성했음. Switch.1 # vi restrict_telnet.pol entry 1 { if match any { source-address 192.168.100.0/24 ; source-address 192.168.200.5/32 ; } then { permit ; } }

Continue reading