Forum Discussion

afroz_2039's avatar
afroz_2039
Icon for Nimbostratus rankNimbostratus
Jan 30, 2012

Deleting an SNMP access method

Hi team,

 

 

i accidentally created a snmp access method as "test : 10.35.xxx.91, 10.35.xxx..118)" in SNMP : Agent : Access (v1, v2c) , now when i am trying to delete it,it is not deleting or open it ,it is showing me error "No object identifier specified in context".

 

 

 

Kindly help , is there any method via CLI that i can delete.

 

 

 

Regards

 

Afroz

 

 

 

 

 

  • [admin@XXX:Active] ~ b snmpd list

     

    snmpd {

     

    allow {

     

    "127."

     

    "10.35.225.91"

     

    "10.35.225.36"

     

    }

     

    authtrapenable disable

     

    include none

     

    syscontact "Customer Name "

     

    syslocation "Network Closet 1"

     

    sysservices 78

     

    community {

     

    i3ntuity_1 {

     

    access ro

     

    community name "3ntuity"

     

    ipv6 disable

     

    oid none

     

    source "10.35.225.36"

     

    }

     

    iaddmtest_1 {

     

    access ro

     

    community name "addmtest"

     

    ipv6 disable

     

    oid none

     

    source "10.35.225.91, 10.35.225.118"

     

    }

     

    }

     

    }

     

  • Mike_Kahler_488's avatar
    Mike_Kahler_488
    Historic F5 Account
    I loaded your config and reproduced your same error. Having multiple "source" addresses is the issue. You can remove the object using bigpipe on the command line:

     

     

    b snmpd { community { iaddmtest_1 } delete }

     

    b save all

     

     

  • i'm having this same issue but i don't have two sources. i created the snmp access in the gui.

     

    [admin@sisldbp1:Active] ~ b snmpd list

     

    snmpd {

     

    allow {

     

    "127."

     

    "10.160.19.16"

     

    "10.160.19.17"

     

    "10.160.9.129"

     

    "10.242.11.29"

     

    "10.160.9.132"

     

    }

     

    include "com2sec6 f5 default public

     

    com2sec6 f5 127.0.0.1 internal

     

    group f5 v1 f5

     

    group f5 v2c f5

     

    group f5 usm f5

     

    group mygroup v1 mynet

     

    group mygroup v2c mynet

     

    group mygroup usm mynet

     

    view all included .1 80

     

    access f5 \"\" v1 noauth exact all all none

     

    access f5 \"\" v2c noauth exact all all none

     

    access f5 \"\" usm noauth exact all all none

     

    "

     

    load max1 5

     

    load max15 5

     

    load max5 5

     

    syscontact "Customer Name "

     

    syslocation "Network Closet 1"

     

    sysservices 78

     

    community iR3_D0n7y_1 {

     

    access ro

     

    community name "STRING"

     

    ipv6 disable

     

    oid none

     

    source "10.160.9.132"

     

  • i'm having this same issue but i don't have two sources. i created the snmp access in the gui.what do you want to delete?

    deleting iR3_D0n7y_1 seems to be fine in my unit.

    [root@ve10:Active] config  b snmpd list
    snmpd {
       allow {
          "127."
          "10.160.19.16"
          "10.160.19.17"
          "10.160.9.129"
          "10.242.11.29"
          "10.160.9.132"
       }
       include "com2sec6 f5 default public
    com2sec6 f5 127.0.0.1 internal
    group f5 v1 f5
    group f5 v2c f5
    group f5 usm f5
    group mygroup v1 mynet
    group mygroup v2c mynet
    group mygroup usm mynet
    view all included .1 80
    access f5 \"\" v1 noauth exact all all none
    access f5 \"\" v2c noauth exact all all none
    access f5 \"\" usm noauth exact all all none
    "
       load max1 5
       load max15 5
       load max5 5
       syscontact "Customer Name "
       syslocation "Network Closet 1"
       sysservices 78
       community iR3_D0n7y_1 {
             access ro
             community name "STRING"
             ipv6 disable
             oid none
             source "10.160.9.132"
          }
    }
    [root@ve10:Active] config  b snmpd community iR3_D0n7y_1 delete
    [root@ve10:Active] config  b snmpd list
    snmpd {
       allow {
          "127."
          "10.160.19.16"
          "10.160.19.17"
          "10.160.9.129"
          "10.242.11.29"
          "10.160.9.132"
       }
       include "com2sec6 f5 default public
    com2sec6 f5 127.0.0.1 internal
    group f5 v1 f5
    group f5 v2c f5
    group f5 usm f5
    group mygroup v1 mynet
    group mygroup v2c mynet
    group mygroup usm mynet
    view all included .1 80
    access f5 \"\" v1 noauth exact all all none
    access f5 \"\" v2c noauth exact all all none
    access f5 \"\" usm noauth exact all all none
    "
       load max1 5
       load max15 5
       load max5 5
       syscontact "Customer Name "
       syslocation "Network Closet 1"
       sysservices 78
    }