Configure \ Enable SNMP On A Cisco Router Or Switch

In order for to Monitor a Cisco Router or Switch using SMNP with a 3rd party software like MTRG we need to enable SNMP on the device and set a SNMP String.

To do it follow the steps below:

Log in to the router and enter configuration mode:

Router#configure terminal

Enable SMNP:

Router(config)#snmp-server community public RO
Router(config)#snmp-server community private RW
Router(config)#exit

Then save the changes:

Router#write memory

View SNMP command :

Router# sh snmp
Chassis: FHK1215F41P
2411 SNMP packets input
    0 Bad SNMP version errors
    0 Unknown community name
    0 Illegal operation for community name supplied
    0 Encoding errors
    2819 Number of requested variables
    0 Number of altered variables
    178 Get-request PDUs
    2233 Get-next PDUs
    0 Set-request PDUs
    0 Input queue packet drops (Maximum queue size 1000)
2411 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    18 No such name errors
    0 Bad values errors
    0 General errors
    2411 Response PDUs
    0 Trap PDUs

To Remove \ Disable SNMP

Router(config)#no snmp-server community public RO
Router(config)#no snmp-server community private RW

 

 

How To Configure An IP address On A Cisco Switch

When using Cisco switches there is a need to remotely manage the switches in order to apply , monitor and change the switch configuration, to do so we need to assign the switch an IP address.

To set an IP address on the Switch:

Log onto the router using the console cable and type:

 Switch(config)#int vlan 1
Switch(config-if)#ip address 10.60.1.1 255.255.248.0
Switch(config-if)#no shut
Switch(config-if)#end

To set a new password on the Switch Type:

Switch#config t�
Switch(config)#enable secret Myint771
Switch(config)#end

Don’t forget to save the the changes using:

Switch#copy run start

How To Set A Password And Enable Telnet Access To A Cisco Router

To change the Defualt password (in Cisco routers the defualt usename and password is cisco) on a Cisco router and Enable Telnet access to the router we need to type the following commands:

router#config t
Router(config)#enable secret mypassword

Set VTY password (Telnet)

Router(config)#line vty 0 15
Router(config-line)#login
Router(config-line)#password mypassword

How To Enable Cisco SDM On Cisco 2800 Router

Since Cisco released Cisco IOS version 14 we can now apply and manage the router configuration using a GUI.

By defualt the Cisco SDM GUI is disable, In order to unable the GUI we need to apply a few commands to the router.

To enable the SDM GUI:

Log into the router and type:

Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http server
Router(config)# ip http secure-server
Router(config)# ip http authentication local end
Router(config)# ip http timeout-policy idle 600 life 86400 requests 10000

The last command will change the defualt user name and password which is cisco for username and cisco for password.

 

Router(config)# username username privilege 15 secret 0 password

Example:

Router(config)# username admin privilege 15 secret 0 newpassword

The last step is to access the router using the web browser:

http://ip_address

With Cisco 2800 series pre configured routers we also need to remove the defualt ACL which block access to the router.

 

 

 

.

 

View Exchange 2007 Users Mailbox Size

In order to view all users mailboxes size in Exchange 2007 in one list like Exchange 2003 Server we need to use the Exchange Managment Shell.

View all the users mailbox size:

1. Go to Exchange Managment Shell amd type:

get-mailboxstatistics | fl displayname,totalitemsize

 To view other mailboxes information type:

get-mailboxstatistics 

The C:windowsServicePackFiles Folder

The C:windowsServicePackFiles Folder stores all the copies the service packs which are used by windows 2003 system for file version.

The C:windowsServicePackFiles Folder stores all the copies the service packs which are used by windows 2003 system for file version.