← All posts tagged Cisco

pc
Cisco keygen pix Лицензия PIX
Учитывая что девайсы PIX Firewall уже EOS/EOL, то я не совершу ничего страшного, если выложу его в форум. Если Fedia сочтет иначе, пусть мой пост он грохнет.

Итак, берем серийник девайса, например Serial Number: 810432876

Создаем исходный код для md5 (переводим его в HEX):
810432876 = 0x304E396C (serial) = 6C 39 4E 30
добавляем код лицензии (других не знаю)
AES+DES+UR = 0x00000039 (futures) = 39 00 00 00

= 8 bytes (39 00 00 00 6C 39 4E 30) = 390000006C394E30

Берем MD5 по этим 8ми байтам:
Код:
perl -e 'use Digest::MD5 qw(md5_hex); print md5_hex(pack("H*", "390000006C394E30"))'


Делим результат на 4 группы по 4 байта:
2c85cb16ed904126013ced6754212f60 ==> 2c85cb16 ed904126 013ced67 54212f60

Меняем порядок байт в каждой группе байтов (dword) и получаем activation-key:
==> 0x16cb852c 0x264190ed 0x67ed3c01 0x602f2154


Для 515 и 515E это работает. На них и упражнялся. Почему-то на PIX501 не получилось.. Возможно другой код лицензии нужен. На остальных не пробовал, т.к. под рукой не было.

В результате получаем такую лицензию

pix-515# activation-key 0x16cb852c 0x264190ed 0x67ed3c01 0x602f2154
Maximum Physical Interfaces : 6
Maximum VLANs : 25
Inside Hosts : Unlimited
Failover : Active/Active
VPN-DES : Enabled
VPN-3DES-AES : Enabled
Cut-through Proxy : Enabled
Guards : Enabled
URL Filtering : Enabled
Security Contexts : 2
GTP/GPRS : Disabled
VPN Peers : Unlimited

This platform has an Unrestricted (UR) license.
Both running and flash activation keys were updated with the requested key.
pc
snmp Cisco cisco.com

Enable SNMP Community Strings
This procedure is the same for both routers and Cisco IOS software-based XL Catalyst Switches.

1.Telnet to the router:

prompt#telnet 172.16.99.20
2.Enter the enable password at the prompt in order to enter the enable mode:

Router>enable
Password:
Router#3.Display the running configuration and look for the SNMP information:

Router#show running-config
Building configuration...
....
.... Note: If no SNMP information is present, continue with these steps. If any SNMP commands are listed, you can modify or disable them.

4.Go into the configuration mode:

Router#configure terminal
Enter configuration commands, one per line. End
with CNTL/Z.
Router(config)#5.Use this command in order to enable the Read-only (RO) community string:

Router(config)#snmp-server community public RO where "public" is the Read-only community string.

6.Use this command in order to enable the Read-write (RW) community string:

Router(config)#snmp-server community private RW

where "private" is the Read-write community string.

7.Exit out of the configuration mode and return to the main prompt:

Router(config)#exit
Router#8.Write the modified configuration to nonvolatile RAM (NVRAM) to save the settings:

Router#write memory
Building configuration...
[OK]
Router#