Tag Archives: cisco

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.