Switching

 View Only
last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  configuring snmp with custom community name

    Posted 07-21-2019 17:07

    Hello,

    I looked at this example

    set snmp name “snmp qfabric” description “qfabric0 switch”
    set snmp location “Lab 4 Row 11” contact “qfabric-admin@qfabric0”
    set snmp community public authorization read-only
    set snmp client-list list0 192.168.0.0/24
    set snmp community public client-list-name list0
    set snmp community public clients 192.170.0.0/24 restrict
    set snmp trap-group “qf-traps” destination-port 155 targets 192.168.0.100
     
    the company communit for snmp is "pizza"
    No idea who the snmp line should read.
    Thanks.


  • 2.  RE: configuring snmp with custom community name

     
    Posted 07-21-2019 17:49

    Hi jimbo55,

     

    If the SNMP community in your company is "pizza", then please replace the word "public" in this config to "pizza".  Config should look like:

     

     

    set snmp name “snmp qfabric” description “qfabric0 switch”
    set snmp location “Lab 4 Row 11” contact “qfabric-admin@qfabric0”
    set snmp community pizza authorization read-only
    set snmp client-list list0 192.168.0.0/24
    set snmp community pizza client-list-name list0
    set snmp community pizza clients 192.170.0.0/24 restrict
    set snmp trap-group “qf-traps” destination-port 155 targets 192.168.0.100

     

    Hope this helps.

    Regards,
    -r.

    --------------------------------------------------

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).

     

     

     

     

     



  • 3.  RE: configuring snmp with custom community name

    Posted 07-21-2019 18:55

    Thanks!



  • 4.  RE: configuring snmp with custom community name
    Best Answer

     
    Posted 07-21-2019 20:08

    Hi jimbo55,

     

    The client-list is just to indicate a group of clients that can use the same community.  It's an optional field and instead you can just define individual clients.  

     

    So either do:

     

    set snmp name "snmp qfabric" description "qfabric0 switch"
    set snmp location "Lab 4 Row 11" contact "qfabric-admin@qfabric0"
    set snmp community pizza authorization read-only
    set snmp client-list list0 192.168.0.0/24
    set snmp community pizza client-list-name list0
    set snmp community pizza clients 192.170.0.0/24 restrict
    set snmp trap-group "qf-traps" destination-port 155 targets 192.168.0.100

     

    or

    set snmp name "snmp qfabric" description "qfabric0 switch"
    set snmp location "Lab 4 Row 11" contact "qfabric-admin@qfabric0"
    set snmp community pizza authorization read-only
    set snmp community pizza clients 192.170.0.0/24 restrict
    set snmp trap-group "qf-traps" destination-port 155 targets 192.168.0.100

     

    Hope this helps.

    Regards,
    -r.

    --------------------------------------------------

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).