Thursday, 12 June 2014

Cisco 300 Switch: Configuring Interfaces and SNMPv3 (CLI)

Interface settings


It is much quicker and easier to configure the interfaces using the CLI.



This allows interfaces 9 - 10 to allow DHCP offers to pass through these interfaces. These interfaces are links to the main switch, with STP enabled by default you will have no problems in doing this with no extra configuration required.


SNMPv3





Some of these commands got cut off, so heres the commands in full;

Cisco 300 Switch: Basic Settings


The default IP set is 192.168.1.254, so I need to change this to one of my reserved IP addresses.

To do this either console in, or directly connect the switch to your workstation (just make sure the default IP does not conflict with any internal addresses. You can just disable any other NIC's to stop that.

Console Settings


If you connect by console, make sure you have the following settings;

  • 115200 bits per second
  • 8 data bits
  • no parity
  • 1 stop bit
  • no flow control

Once you connect the default user and password is;

  • cisco
  • cisco

It will prompt you to change the default password, you can either do this now or later.

Management IP


Enter the following commands to change the management IP address (where x.x.x.x = IP address and y.y.y.y = Subnet Mask)

  • conf t
  • int vlan1
  • ip add x.x.x.x y.y.y.y
  • do wr me
 You can now connect the switch to your internal network and access the web brower to confgiure it via a GUI. If you want to enable SSH you can enable it via CLI or via the GUI.

Cisco 300 Switch: Enable SNMP (GUI)

Enable SNMP


  • Click 'Security'
  • Then 'TCP/UDP Services'
  • Select 'SNMP Services' and click enable

Engine ID


  • Click 'SNMP'
  • Then 'Engine ID'
  • For 'Local Engine ID' click 'User Defined' and enter 64 HEX charactuers
  • Press 'Apply'

Groups


  • Click 'Groups'
  • Then 'Add...'
  • Enter a group name, SNMP version, and the secruity permissions that you wish to set;



  •  Press 'Apply'

Users


  • Click 'Users'



  • Press 'Apply'

SNMP Recipients


  • Next depending on your SNMP version click 'Notification Recipients SNMPv3'
  • Click 'Add...'
  • Fill in as required;



  • Press 'Apply'

Save your settings.

You can then verify its working with your monitoring/mangement station;