We will up SNMP v2 on your Cisco Catalyst 3650, FortiGate 60D, and Juniper EX4200 involves enabling SNMP and configuring a community string for management access.
1. Cisco Catalyst 3650
Configuration:
-
Access the device CLI:
enable configure terminal
-
Enable SNMP and set the community string:
snmp-server community public RO snmp-server community private RW
- Replace
public
with your read-only (RO) community string andprivate
with your read-write (RW) community string.
- Replace
-
(Optional) Specify SNMP server (NMS) location and contact:
snmp-server location Lab_Network snmp-server contact Admin_Name
-
Enable SNMP traps (optional):
snmp-server enable traps snmp-server host 192.168.1.100 traps version 2c public
- Replace
192.168.1.100
with your SNMP server IP andpublic
with the correct community string.
- Replace
-
Exit and save the configuration:
end write memory
2. FortiGate 60D
Configuration:
-
Enable SNMP via GUI:
- Go to System > SNMP.
- Click Create New under the SNMP Agent section.
-
Configure SNMP settings:
- Community: Set the SNMP community string (e.g.,
public
). - Description: Add a description for the SNMP setup (e.g.,
Lab Monitoring
). - Host IP: Add the IP address of the SNMP manager (e.g.,
192.168.1.100
). - Access Permissions: Specify whether it is read-only or read-write.
- Version: Choose SNMP v2c.
- Community: Set the SNMP community string (e.g.,
-
Enable SNMP on the interface:
- Go to Network > Interfaces.
- Edit the interface where SNMP access is required (e.g.,
LAN
orWAN
). - Enable SNMP under Administrative Access.
-
Save the configuration.
CLI Alternative:
config system snmp community
edit "public"
set status enable
set events cpu-high mem-low log-full
config hosts
edit 1
set ip 192.168.1.100 255.255.255.255
set interface "internal"
next
end
next
end
3. Juniper EX4200
Configuration:
-
Access the device CLI:
cli configure
-
Set up SNMP community:
set snmp community public authorization read-only set snmp community private authorization read-write
- Replace
public
andprivate
with your preferred community strings.
- Replace
-
Specify SNMP contact and location:
set snmp contact "Admin_Name" set snmp location "Lab_Network"
-
Enable SNMP traps (optional):
set snmp trap-group my-traps version v2 set snmp trap-group my-traps targets 192.168.1.100
- Replace
192.168.1.100
with the SNMP server's IP address.
- Replace
-
Commit the configuration:
commit exit
Verification
-
Cisco Catalyst 3650:
show snmp community show snmp host
-
FortiGate 60D:
Verify using the GUI or CLI:diagnose snmp stats
-
Juniper EX4200:
show snmp community show snmp statistics
This completes the SNMP v2 configuration on your devices. Test with an SNMP monitoring tool like Nagios, Zabbix, or SolarWinds to confirm functionality.