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
(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
پسورد رکاوری سویچ 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)