artofrf.com

Ali's Technology Blog

Menu
  • Home
  • Important Links
  • About Me
  • Tools and Scripts
Menu

Adding SNMP to Juniper EX2300-C

Posted on March 2, 2021March 3, 2021 by mali

Most of the Juniper switches are now cloud ready and have been integrated as part of the Mist/Juniper Wired Assurance into Mist Dashboard. There are still some features that are not configurable via web interface and require some good old CLI. Cool thing is that you can simply add the needed CLI commands to either the Org template or Site level template and push them out to all the switches.

SNMP configuration is one of the configuration option that needs to be done via CLI. I have a Juniper EX2300-C switch in my lab and I used the following process to setup basic SNMP v2.

set snmp community testmist authorization read-only clients 192.168.20.103 (create read only community and allow only from one IP)
set snmp contact ~Ali~615-123-4567
set snmp location ~MyHome~

From the “Network” and then “Switch Configuration” screen, switch template for a specific site can be updated.

Pick the site you want to make changes to

In the next screen simply check the box, “Override Configuration Template” to override the Org template if any. Next I simply entered my SNMP commands and clicked on save.

Once the configuration syncs SNMP can be tested. I also verified SNMP config from the switch.

Using the following command on my Mac, I was able to pull SNMP data:
snmpwalk -c testmist -v 2c 192.168.10.105

SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. ex2300-c-12p Ethernet Switch, kernel JUNOS 18.2R3-S4.1, Build date: 2020-04-17 04:24:32 UTC Copyright (c) 1996-2020 Juniper Networks, Inc.
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (303152426) 35 days, 2:05:24.26
SNMPv2-MIB::sysContact.0 = STRING: ~Ali~615-123-4567
SNMPv2-MIB::sysName.0 = STRING: ali-mist-lab00-sw00
SNMPv2-MIB::sysLocation.0 = STRING: ~MyHome~
SNMPv2-MIB::sysServices.0 = INTEGER: 6
IF-MIB::ifNumber.0 = INTEGER: 57
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
|
|
|
IF-MIB::ifDescr.4 = STRING: lsi
IF-MIB::ifDescr.5 = STRING: dsc
IF-MIB::ifDescr.6 = STRING: lo0
IF-MIB::ifDescr.7 = STRING: tap
IF-MIB::ifDescr.8 = STRING: gre
IF-MIB::ifDescr.9 = STRING: ipip
IF-MIB::ifDescr.10 = STRING: pime
IF-MIB::ifDescr.11 = STRING: pimd
IF-MIB::ifDescr.12 = STRING: mtun
IF-MIB::ifDescr.22 = STRING: lo0.16385
IF-MIB::ifDescr.33 = STRING: me0
IF-MIB::ifDescr.34 = STRING: me0.0
IF-MIB::ifDescr.35 = STRING: vme
IF-MIB::ifDescr.36 = STRING: vme.0
IF-MIB::ifDescr.37 = STRING: bme0
IF-MIB::ifDescr.220 = STRING: bme0.0
IF-MIB::ifDescr.501 = STRING: cbp0
IF-MIB::ifDescr.502 = STRING: esi
IF-MIB::ifDescr.503 = STRING: irb
IF-MIB::ifDescr.504 = STRING: pip0
IF-MIB::ifDescr.505 = STRING: vtep
IF-MIB::ifDescr.506 = STRING: jsrv
IF-MIB::ifDescr.507 = STRING: jsrv.1
IF-MIB::ifDescr.508 = STRING: irb.0
IF-MIB::ifDescr.509 = STRING: pfh-0/0/0
IF-MIB::ifDescr.510 = STRING: pfe-0/0/0
IF-MIB::ifDescr.511 = STRING: pfe-0/0/0.16383
IF-MIB::ifDescr.512 = STRING: pfh-0/0/0.16383
IF-MIB::ifDescr.513 = STRING: pfh-0/0/0.16384
IF-MIB::ifDescr.514 = STRING: ge-0/0/0
IF-MIB::ifDescr.515 = STRING: ge-0/0/1
IF-MIB::ifDescr.516 = STRING: ge-0/0/2
IF-MIB::ifDescr.517 = STRING: ge-0/0/3
IF-MIB::ifDescr.518 = STRING: ge-0/0/4
IF-MIB::ifDescr.519 = STRING: ge-0/0/5
IF-MIB::ifDescr.520 = STRING: ge-0/0/0.0
IF-MIB::ifDescr.521 = STRING: ge-0/0/1.0
IF-MIB::ifDescr.522 = STRING: ge-0/0/2.0
IF-MIB::ifDescr.523 = STRING: ge-0/0/3.0
IF-MIB::ifDescr.524 = STRING: ge-0/0/4.0
IF-MIB::ifDescr.525 = STRING: ge-0/0/5.0
IF-MIB::ifDescr.526 = STRING: ge-0/0/6
IF-MIB::ifDescr.527 = STRING: ge-0/0/7
IF-MIB::ifDescr.528 = STRING: ge-0/0/8
IF-MIB::ifDescr.529 = STRING: ge-0/0/6.0
IF-MIB::ifDescr.530 = STRING: ge-0/0/7.0
IF-MIB::ifDescr.531 = STRING: ge-0/0/8.0
IF-MIB::ifDescr.532 = STRING: ge-0/0/9
IF-MIB::ifDescr.533 = STRING: ge-0/0/10
IF-MIB::ifDescr.534 = STRING: ge-0/0/11
IF-MIB::ifDescr.535 = STRING: ge-0/0/9.0
IF-MIB::ifDescr.536 = STRING: ge-0/0/10.0
IF-MIB::ifDescr.537 = STRING: ge-0/0/11.0
IF-MIB::ifDescr.538 = STRING: irb.10
IF-MIB::ifDescr.539 = STRING: irb.1
IF-MIB::ifDescr.540 = STRING: irb.20
IF-MIB::ifDescr.541 = STRING: irb.30
Category: Juniper/Mist

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Nile Secure Guest – Configuration and Use Case
  • WLAN Pros Toolbox
  • Nile does NAC – Configuring Trust Engine
  • WLAN Validator
  • PCAP I/O Graph Analyzer

Tags

AirDrop arista Arista AGNI Arista CV-CUE Arista NAC Arista WIPS Arista WPA3 UPSK Aruba Central Automating Mist Switch Templates Automation AWDL Configuring Switch Templates in Mist CWAP 403 EAP Format MAC Addresses Hamina Network Planner Juniper SRX300 MacBook Marvis mdns MFD8 MFD9 Mist Access Assurance MistAI Mist Auto Placement Mist MPSK Mist Wireless NaaS Networking Field Day NFD32 NileNav Nile Secure Nile Wi-Fi Social Channels Tech Field Day Troubleshooting with Marvis Troubleshooting with Mist Troubleshooting with Mist AI Troubleshooting with Wireshark Wireless Adjuster Wireless Adjuster Level II Wireless troubleshooting WLPC wlpc2023 Wyebot

Tech Blogs

  • WiFiTodd
  • CCNA Wireless
  • Cisco Full Bars
  • Packet Life
  • Havilandweb
  • Gjermund Raaen
  • Bad-Fi
  • The ASCII Construct
  • Juniper Port Checker
  • WiFrizzy
  • Spectrum Chart
  • BadgerWiFi

Recent Comments

  • Hiten Thakkar on PCAP I/O Graph Analyzer
  • mali on Deploying Nile Secure – My First NSB
  • Larry Farrish on Deploying Nile Secure – My First NSB
  • Courtney on Mist Access Point – CSV
  • ayoub chabrouk on Ubiquiti stealing the show at MFD11

Archives

  • August 2026
  • July 2026
  • March 2026
  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • August 2025
  • May 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • November 2022
  • October 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • November 2018
  • October 2018
  • September 2018
  • May 2018
  • January 2018
  • December 2017
  • August 2017
  • January 2017
  • September 2014
  • December 2013
  • October 2013
  • May 2013
  • August 2012
  • July 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Categories

  • AeroHive
  • Arista
  • Arista
  • Aruba
  • Aruba
  • Aruba Central
  • BYoD
  • Certifications
  • Cisco
  • Cisco
  • Cisco EEM Scripting
  • Cisco Routing
  • Cisco Security
  • Cisco VoIP
  • Cisco VPN
  • Cisco Wireless
  • Conferences and Meetings
  • Design
  • Ekahau
  • General
  • Hamina
  • IoT, IIoT, OT
  • Juniper Security
  • Juniper Switching
  • Juniper/Mist
  • Linux
  • Microsoft
  • Mist
  • Mist Wireless
  • Nile
  • Nile Secure
  • Nile Wi-Fi
  • Programming/Automation
  • Python
  • Ruckus
  • Ruckus Wireless
  • Ruckus/Brocade
  • Ruckus/Brocade Scripting
  • Ruckus/Brocade Switching
  • Secure Guest Service
  • Security
  • Switching
  • Tools
  • Troubleshooting
  • Trust Engine
  • Uncategorized
  • Windows
  • Wireless
  • Wireless
  • WLAN Tools
© 2026 artofrf.com | Powered by Minimalist Blog WordPress Theme