'스위칭허브'에 해당되는 글 1건

  1. 2007.09.18 시스코 2950t 스위치 기본셋팅 및 패스워드분실시 복구법
2007. 9. 18. 13:05
전에 장비 업체 있을때 사용한 것들인데 지금은 명령어가 머가 뭔지 모르겠네요..^^
세월앞에 장사없다고.. ㅡ,.ㅡ;;;;

Catalyst 2950T-24 기본셋팅


한두대일경우에는 하나하나 그냥 해줄만한데 여러대일경우에는 노가다죠..
아래내용을 복사하여 워드프로그램에 붙여넣고 자신에 맞는 셋팅을 하신후에 저장합니다. 차후에 쓸일이 있을지 모르니...
수정한 내용을 전부 복사한후에 텔넷프로그램에서 붙여넣기 합니다.
커맨드가 주르륵 올라갑니다... ( ) 로 친부분은 예제입니다. 한글로 써진부분과 같이 삭제하세요.
erase startup-config
reload
en
conf t
hostname 호스트네임
enable secret 시스템패스워드
interface vlan 1
ip address 아이피주소 서브넷(111.111.111.111 255.255.255.192)
no shutdown
exit
ip access-list extended 150
deny tcp any any eq 445
deny udp any any eq 445
deny tcp any any eq 135
deny udp any any eq 135
deny udp any any eq 1025
deny tcp any any eq 1025
deny tcp any any eq 1068
deny tcp any any eq 5554
deny tcp any any eq 9996
permit ip any any
interface vlan 1
ip access-group 150 in
ip access-group 150 out
exit
ip default-gateway 게이트웨이(111.111.111.65)
line vty 0 4
password 디폴트패스워드
exit
no spanning-tree vlan 1
no cdp run
clock timezone KST 9
ntp server 111.11.111.111
service timestamps debug datetime localtime
service timestamps log datetime localtime
no ip http server
snmp-server community 서버이름
interface rang f0/1 - 24
switchport mode access
storm-control action trap
storm-control unicast level pps 3000 2500
(fa0/23, fa0/24)에 : 고객 허브를 연결시는 5000/2500 으로 설정, 임대 허브 c2950t연결시는 storm-control unicast 적용 불필요.
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
exit
int range g0/1 - 2
switchport mode access
speed 100
duplex full
exit
int g0/1
description locus
int g0/2
description locus_backup
exit
exit
wr

Catalyst 2950T-24 초기화 및 패스워드 복구

장비 초기화

cmdline#erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm]
[OK]
Erase of nvram: complete
cmdline#reload
Proceed with reload? [confirm]

패스워드 복구. 장비 전면부의 MODE 키를 누른 상태에서 전원을 인가하고 아래와 같이 진행

The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:
flash_init
load_helper
boot
switch:
switch: flash_init
switch: load_helper
switch: dir flash:
Directory of flash:/
2 -rwx 616 vlan.dat
4 drwx 10240 html
165 -rwx 3026 config.text
166 -rwx 2665985 c2950-i6q4l2-mz.121-11.EA1a.bin
167 -rwx 313 env_vars
168 -rwx 5 private-config.text
3784704 bytes available (3956736 bytes used)
switch: rename flash:config.text flash:config.old
--- 기존의 Config가 설정된 파일명을 변경.
switch:boot
--- 장비 Reset
--- 장비가 Reboot 이 이루어지면 아래와 같이 진행.

--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n

Switch>enable
Switch#rename flash:config.old flash:config.text
--- 앞에서 바꾼 파일명을 원래의 이름으로 변경.
Destination filename [config.text]?
Switch#copy flash:config.text system:running-config
---flash의 config 파일을 running-config로 복사.
Destination filename [running-config]?
cmdline#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cmdline(config)#enable secret newpassword
--- 새로운 password를 입력.
cmdline(config)#^Z
cmdline#
cmdline#wr
Building configuration...
[OK]
cmdline#

관련글 보기
2007/11/01 - [윈도우즈/컴퓨터] - 시스코 라우터 시뮬레이터 - CISCO Router eSIM 1.1
Posted by jinmoda