Modern technology gives us many things.

CONFIG CISCO

CONFIG CISCO


register sw

config-register 0x122

no system ignore startupconfig switch all


hostname ACCESS-IT

interface vlan 200

ip adress 192.168.200.20 255.255.255.0

no shutdown

ip domain-name cisco.net

crypto key genrate rsa 1024

ip ssh version 2

username root privilage 15 secret 123456@cisco.net@mcseha.ir

line vty 0 5

trasport input ssh or telnet

login local

ip dhcp snooping vlan 1-200

ip dhcp snooping

ip domain-name cisco.net

clock timezone Teh 3 30

interface Vlan1

no ip address

shutdown

interface vlan 200

ip adress 192.168.200.20 255.255.255.0

no shutdown

logging source-interface Vlan200

logging host 192.168.2.5

snmp-server community yaGROUP RO

ntp server 192.168.10.50

CONFIG CISCO


snmp

snmp

(config)#no snmp-server

sh snmp

%SNMP agent not enabled

no snmp-server
no snmp-server

(config)#snmp-server community mcseha


err disable

err disable

interface gigabitethernet 1/0/24

spanninig tree portfast

errdisable recovery couse psecure -violation

err disable recovery interval 30

err disable recovery couse all

err disable recovery interval 30

sh interface gigabitethernet/0/48


config ip helper

اول scope توی dhcp می سازید

بعد در سوییچ core یک

دستورات زیر را اعمال می کنیم

ویلن می سازیم  ایپی می دهیم و اینترفیس ویلن را در سوییچ core میسازیم

vlan 22

interface vlan 22

ip address 192.168.22.1 255.255.255.0

ip helper-address 192.168.2.31 >> ip dhcp server


licence cisco

اول چک کردن مدل

sh inventory

چک کردن لایسنس

رزرو لایسنس

licence boot level 1

licence smart reservation

حذف لایسنس

no licence boot level 1

no licence smart reservation

برای تعویض فریم ور این ها را یاد بگیرید ram-rom-nvram-flash

ّبک اپ و تعویض ios سویچ

نمایش پوشه ها dir

dir را که بزنی پوشه های بوت فلش سویچ را می بینی و یه فایل هست با پشوند bin

فایل bin را کپی میکنیم

بعد دستور

copy bootflash: tftp /?

سورس نیم و destination میاد که باید دقیقا اسم اون فایل بین را کپی کنید ادرس tftp سرور را میزنید

dir /?

dir usb0:

Dswitch#copy flash tftp:
Source filename [cat4500e-universalk9.SPA.03.0.E.-5.E.bin]?
Address or name of remote host []? 10.16.14.124
Destination filename [:]? catز4500e-universalk9.SPA.0.00.E.-5.E.bin
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

حالا تعویض framware

فایل فلش را داخل usb فلش میریزیم و usb فلش را فرمت fat 32 میکنیم

دستور dir

dir usb0:

dir all :

کل فایل های داخل سویچ را نشان می دهد

dir all :

cop usb :bin fil

تنظیم boot

boot system flash: اسم فایل bin

sh run | boot in

sh boot

پاک کردن کل کانفیگ سویچ

erase startup-config
delete flash:vlan.dat

Reload
save configuratin: No

___

show logging | include changed

1 نظر
  1. yama می گوید

    پسورد رکاوری سویچ dist4500x
    Password Recovery Procedure for the Catalyst 4500 switch (deleting configuration)
    Jump to navigationJump to search
    Cisco WS-C4500X-32SFP+ / set to default, JK

    ***** The system will autoboot in 5 seconds *****
    Type control-C to prevent autobooting.
    . . .
    Autoboot cancelled……… please wait!!!
    rommon 1 > [interrupt]

    rommon 1 >confreg

    Configuration Summary :
    => console baud: 9600
    => autoboot from: commands specified in ‘BOOT’ environment variable
    do you wish to change the configuration? y/n [n]: yes
    enable “diagnostic mode”? y/n [n]:
    enable “use net in IP bcast address”? y/n [n]:
    enable “load rom after netboot fails”? y/n [n]:
    enable “use all zero broadcast”? y/n [n]:
    enable “break/abort has effect”? y/n [n]:
    enable “ignore system config info”? y/n [n]: y
    change console baud rate? y/n [n]:
    change the boot characteristics? y/n [n]:
    Configuration Summary :
    => ignore system config info
    => console baud: 9600
    => autoboot from: commands specified in ‘BOOT’ environment variable
    do you wish to save this configuration? y/n [n]: yes
    You must reset or power cycle for new configuration to take effect

    rommon 2 >boot

    The system will autoboot in 5 seconds *****

    Type control-C to prevent autobooting.
    . . .
    Autoboot cancelled……… please wait!!!
    rommon 1 > [interrupt]

    rommon 2 >clear config all

    This command will clear all configuration in NVRAM.
    This command will cause ifIndex to be reassigned on the next system startup.
    Do you want to continue (y/n) [n]? yes
    Clearing NVRAM… done!
    rommon 3 >boot
    https://wiki.nesevo.com/index.php/Password_Recovery_Procedure_for_the_Catalyst_4500_switch_(deleting_configuration)

ارسال یک پاسخ

آدرس ایمیل شما منتشر نخواهد شد.