目前分類:LAN_SWITCH (4)

瀏覽方式: 標題列表 簡短摘要

RESET FOUNDRY SWITCH PASSWORD

 

### connect console cable and press b buttom during power up switch

FE Boot Monitor Version 03.2.00 (BLDR-Rev1a)
Enter 'b' to go to boot monitor ...
BOOT INFO: load monitor from code flash, size = 95344

BOOT MONITOR> no password
OK! Skip password check when the system is up.

BOOT MONITOR> boot system flash primary
Load image from primary copy
........
Crossbar initialization Done
Parsing Config Data ...

SW: Version 03.3.01dTc3 Copyright (c) 1996-2004 Foundry Networks, Inc.
Compiled on Apr 05 2005 at 15:35:50 labeled as FER03301d
(3445111 bytes) from Primary FER03301d.bin
Boot Monitor: Version 03.2.00Tc4
HW: Stackable FES4802-PREM
==========================================================================
Serial #: FL4502XXXX
330 MHz Power PC processor 8245 (version 129/1014) 66 MHz bus
512 KB boot flash memory
16384 KB code flash memory
128 MB DRAM
The system uptime is 1 seconds
The system : started=cold start

FSecure SSH is included in this product

FRDY-FES4802> enable
No password has been assigned yet...

FRDY-FES4802# configure terminal

FRDY-FES4802(config)# enable super-user-password admin          (note: set enable password to admin)

FRDY-FES4802(config)# write memory

.Write startup-config done.

FRDY-FES4802(config)# end

 

### restart switch to test if it works or not

FRDY-FES4802# reload
Are you sure? (enter 'y' or 'n'): y
Halt and reboot

FE Boot Monitor Version 03.2.00 (BLDR-Rev1a)
Enter 'b' to go to boot monitor ...
BOOT INFO: load monitor from code flash, size = 95344
BOOT INFO: load image from primary copy
BOOT INFO: bootparam at 00020818, mp_flash_size = 00349197
BOOT INFO: code decompression completed
BOOT INFO: branch to 00400100
........
Crossbar initialization Done
Parsing Config Data ...

SW: Version 03.3.01dTc3 Copyright (c) 1996-2004 Foundry Networks, Inc.
Compiled on Apr 05 2005 at 15:35:50 labeled as FER03301d
(3445111 bytes) from Primary FER03301d.bin
Boot Monitor: Version 03.2.00Tc4
HW: Stackable FES4802-PREM
==========================================================================
Serial #: FL4502XXXX
330 MHz Power PC processor 8245 (version 129/1014) 66 MHz bus
512 KB boot flash memory
16384 KB code flash memory
128 MB DRAM
The system uptime is 3 seconds
The system : started=warm start reloaded=by "reload"

FSecure SSH is included in this product
PS: Power supply 2 is up

FRDY-FES4802> enable                                       (note: enter new enable password admin)
Password:
FRDY-FES4802#

liaofamily 發表在 痞客邦 留言(0) 人氣()

enable ssh and https on Foundry FES4802

 

### activate ssh service on Foundry FES4802

 

telnet@FastIron> show version
SW: Version 03.4.01dTc1 Copyright (c) 1996-2005 Foundry Networks, Inc.
Compiled on Dec 12 2005 at 16:19:09 labeled as FES03401d
(2231669 bytes) from Primary FES03401d.bin
Boot Monitor: Version 03.4.00Tc4
HW: Stackable FES4802
==========================================================================
Serial #: FW1105XXXX
330 MHz Power PC processor 8245 (version 129/1014) 66 MHz bus
512 KB boot flash memory
16384 KB code flash memory
128 MB DRAM
The system uptime is 1273 days 13 hours 21 minutes 51 seconds
The system started at 03:34:00 GMT+08 Fri Jan 08 2010

 

[root@XXX ~]$ telnet FastIron
User Access Verification

Please Enter Login Name: admin
Please Enter Password:

User login successful.

telnet@FastIron> enable
Password:
telnet@FastIron# config terminal
telnet@FastIron(config)# ip dns domain-name XXX.corp.tw
telnet@FastIron(config)# crypto key generate rsa
Generating rsa key pair....................................done!
rsa public_key "1024 35 1092829580966656243725368288654838732773079439203791924499777844407959381046653312763146715728184311 5393982489084826522373696123358368970099566544026688734670835754850613198473463480899414440450809918639070653712220352657115 6207272034627506115247811480747449986565441578944283841512250XXXXXXXXXXXXXXXXXXXXXXXX FastIron@XXX.corp.tw"

rsa private_key "*************************"

 

 

### activate https service on Foundry FES4802


telnet@FastIron(config)# crypto-ssl certificate generate

Creating certificate, please wait...

ssl-certificate creation is successful
crypto-ssl certificate generate secret_data MIICpjCCAg+gAwIBAgIEguXYdjANBgkqhkiG9YDVQQDEwtEZW1vIFZlbmRvcjAeFw0wNDAxMDEwMDAwMDBaFw0wNjAxMDEwMDAwMDBaMIGMMRswGQYDVQBAsTG0ZMQwwCgYDVQQGEwNVU0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOWHEOTAclA/Q07xhGkdDArdoY3+kMSyVGiCqh91a8yy4dtTuVqVZqftcd/O3y6Q1nxhX2C8ZSNcAHMyKnhg1oZV3ZxF+CRSxGCBFWGxm3hbgkIt7hVg/ZwiqAsvl/Xq5ywDBBvC2lHH7myp7ncCQAD0zD2HQBqDQYl5xXTLdy3MfMV2Zx629H3CU5UxcxGFRyzk/IOhdUCQQDfu12b8iPOztgqgi4nR3qG5Qpuwh4coBFUYF5kVGpq/cVz0g/7xo2SyBVxzTPd/vjHWq39zWcZJ5hx6oLT3gwNAkEA52/xuIYiA/J5LuLc1UDCeVUkOZayD4fYIMkoyhQJYhfrIPKXxox9n38N959/5h/lrDNfkBU9t4O7NBsqOW9pWw==
telnet@FastIron(config)# web-management https
telnet@FastIron(config)# write memory
.Write startup-config done.
telnet@FastIron(config)#Saving SSH host keys process is ongoing. Please wait ................................................. ........................................Writing SSH host keys is done!

telnet@FastIron(config)#exit

liaofamily 發表在 痞客邦 留言(0) 人氣()

CLI to backup D-Link switch configuration by tftp

 

### activate tftp service on RHEL6

[root@XXX ~]$ vim /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}


[root@XXX ~]$ service xinetd restart


### backup D-Link switch configuration by tftp

DES-3552:admin# upload cfg_toTFTP 10.1.1.3 dest_file LS2277.cfg
Command: upload cfg_toTFTP 10.1.1.3 dest_file LS2277.cfg

Connecting to server................... Done.
Upload configuration................... Done.

liaofamily 發表在 痞客邦 留言(0) 人氣()

CLI to change command prompt of D-Link DES-3552 switch   

 

### ssh to D-Link switch

[root@XXX~]$ ssh admin@LS2277
admin@LS2277's password:

DES-3552 Fast Ethernet Switch
Command Line Interface

Firmware: Build 2.60.017
Copyright(C) 2010 D-Link Corporation. All rights reserved.

DES-3552:user#


### jump to administrator level privileges

DES-3552:user#enable admin
Command: enable admin

PassWord:
Success.

DES-3552:admin#

 

### change command prompt from DES-3552 to your SWITCH NAME

DES-3552:admin#config command_prompt LS2277
Command: config command_prompt LS2277

Success.

LS2277:admin#

liaofamily 發表在 痞客邦 留言(0) 人氣()