Network/Alcatel2010/06/02 13:42

1. Backup read-write 계정이 있는 경우

1) Backup 계정으로 Switch에 login
2) cd network으로 network directory로 이동
3) ls로 file 확인
4) usertable로 시작하는 file을 모두 rm “usertable숫자”의 명령어로 삭제
5) reload후에는 admin/switch의 default로 login 가능

2. Booting U-boot booting하기 위한 “Hit any key to stop autoboot: 0” message 보이는 경우

- 아래와 같은 message는 jumper 설정을 해야 U-booot mode로 booting 가능

CMM Detected
Loading boot.params...
Boot command line disabled.


- CMM
제거한 다음 Flash memory 아래에 위치한 j5011 jumper 1-2 연결



3. Backup
계정이 없는 경우 아래의 절차를 따라 Password를 recovery

1) Switch Console 연결 reload 시도

2) 부팅 “Hit any key to stop autoboot: 0 “ 에서 Enter 입력

U-Boot 1.1.0(6.1.3.601.R01) (Sep 13 2006 - 14:37:19)

MPC8248 Reset Status: External Soft, External Hard

MPC8248 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 100000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666

CPU: MPC8248 (HiP7 Rev 14, Mask 1.0 1K50M) at 400 MHz
Board: Alcatel OS68xx (Kite II)
I2C: ready
DRAM: 256 MB
FLASH: 8 MB
No environment variables found, using defaults

In: serial
Out: serial
Err: serial

No ethernet found.
IDE: Bus 0: OK 
Device 0: Model: SanDisk SDCFJ-64 Firm: HDX 4.03 Ser#: 011902G2506J0929
          Type: Removable Hard Disk
          Capacity: 61.2 MB = 0.0 GB (125440 x 512)
USB: scanning bus for devices...
  USB device not responding, giving up (status=80000000)
0 USB Devices found
Hit any key to stop autoboot: 0


2) ==> prompt
u-boot 상태로 booting

3) “fatls ide :1,0”
명령어로 /flash file 조회

=> fatls ide :1,0

FileSize
-----------
ATTR
---------
Filename
------------------------------
  0 DIR   certified
  317 00   boot.params
  0 DIR   working
  11 00   boot.slot.cfg
  1985 00   boot.cfg.1.err
  64239 00   swlog.log
  0 DIR   network
  64000 00   swlog2.log
  0 DIR   switch


4) “fatls ide :1,0 /network”
명령어로 /flash/network directory 이동

- usertable file을 확인

=> fatls ide :1,0 /network

FileSize
----------

ATTR
---------

Filename
--------------------------------

  0 DIR   .
  0 DIR   ..
  23040 00   usertable4
  33 00   policy.cfg
  404 00   ssh_host_dsa_key
  361 00   ssh_host_dsa_key.pub
  12 00   lockoutsetting


5) “
fatdelete ide :1,0 /network/usertable4 명령어로 usertable file 삭제

-
usertable4가 아닌 경우 usertable로 시작하는 모든 file을 삭제

=> fatdelete ide :1,0 /network/usertable4
Error (no IRQ) dev 0 blk 2097216: status 0x51
Error (no IRQ) dev 0 blk 2097216: status 0x51
Error (no IRQ) dev 0 blk 2097216: status 0x51
Error (no IRQ) dev 0 blk 2097216: status 0x51
Invalid FAT value 0x00000000
Deleted /network/usertable4


6) “fatls ide :1,0 /network 명령어로 usertable file 삭제되었는지 확인

=> fatls ide :1,0 /network

FileSize
----------

ATTR
---------

Filename
--------------------------------

  0 DIR   .
  0 DIR   ..
  33 00   policy.cfg
  404 00   ssh_host_dsa_key
  361 00   ssh_host_dsa_key.pub
  12 00   lockoutsetting


7) run miniboot
명령어로 reboot 시도

=> run miniboot
## Booting image at ff900000 ...
  Image Name: miniboot-6.1.3.601.R01
  Image Type: PowerPC VxWorks Kernel Image (gzip compressed)
  Data Size: 781716 Bytes = 763.4 kB
  Load Address: 00005000
  Entry Point: 00005000
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK                              :

MON DEC 03 11:05:34 : CSM-CHASSIS (103) info message:
+++ == CSM == CMM startup completed

MON DEC 03 11:05:34 : CLI (67) info message:
+++ Starting new CLI console session


8) Booting 완료 admin/switch default 값으로 login

login : admin
password : switch

Welcome to the Alcatel-Lucent OmniSwitch 6000
Software Version 6.1.5.537.R01 Service Release, November 09, 2007.

Copyright(c), 1994-2007 Alcatel-Lucent. All Rights reserved.

OmniSwitch(TM) is a trademark of Alcatel-Lucent registered
in the United States Patent and Trademark Office.

9) show user 명령어로 확인하면 default 계정만 남아있는 것을 확인

- admin의 password를 변경 시 password 명령어 입력 후 변경 가능

-> show user
User name = admin,
  Password expiration = None,
  Read Only for domains = None,
  Read/Write for domains = All,
  Snmp allowed = NO

User name = default (*),
  Password expiration = None,
  Read Only for domains = None,
  Read/Write for domains = None,
  Snmp allowed = NO,
(*)Note:
The default user is not an active user account.
It constains the default user account settings,
for new user accounts.

10) 만약 snmp 사용하고 있었다면 community name 대한 계정을 다시 생성해야

- 아래의 snmp 설정 참조

user password-size min 6
aaa authentication snmp "local"
snmp security no security
snmp community map mode enable
user "cobalt" read-write all password "public" no auth
snmp community map "public" user "cobalt" on
snmp station 221.148.52.11 162 "cobalt" v3 enable
snmp trap absorption enable
snmp trap to webview enable

11) 저장 동기화 명령어 실행 종료

-> write memory
-> copy working certified 또는copy working certified flash-synchro

저작자 표시 비영리 변경 금지
Creative Commons License
Posted by BLUEDAY™