Category Archives: cisco

cisco

IT Security Brothers (http://itsb.pro)

Hi guys, I would like to present you our new project IT Security Brothers http://itsb.pro
We provide pentest, consultations and IT outsourcing services.
Feel free to hire us for IT jobs.

cisco: ssh

Test1 (config)#username sshuser password 0 sshuserpassword

Test1 (config)#crypto key generate rsa

Test1 (config)#ip ssh version 2

Test1 (config)#line vty 0 4
Test1 (config-line)#login local
Test1 (config-line)#transport input ssh

Test1 (config-line)#exit

cisco: set passwords

Test1>en

Test1#conf t

Test1 (config)#service password-encryption

 

Console passwords:

Test1>en

Test1#conf t

Test1 (config)#line console 0

Test1 (config-line)#password clipass

Test1 (config-line)#login

Test1 (config-line)#exit

 

Vty pass:

Test1 (config)#line vty 0 4

Test1 (config-line)#password vtypass

Test1 (config-line)#login

Test1 (config-line)#exit

 

Enable priveleges:

Test1 (config)#enable password mypassword

Test1 (config)#enable secret mysecret

cisco howto monitoring

For monitoring port 2 on 3 do:

Switch (config)# monitor session 1 source interface fa0/2
Switch (config)# monitor session 1 destination interface fa0/3
Switch (config)# interface fa0/3
Switch (config)# shutdown
Switch (config)# no shutdown

For monitoring vlan33 on port 3 do:

Switch (config)# monitor session 1 source vlan 33
Switch (config)# monitor session 1 destination interface fa0/3
Switch (config)# interface fa0/3
Switch (config)# shutdown
Switch (config)# no shutdown

Port 3 will be switch to monitor mode.