[j-nsp] SNMPv3 with v2c support

Eric Van Tol eric at atlantech.net
Wed Dec 19 10:13:48 EST 2012


Hi all,
I'm trying to get SNMPv3 configured with v2c (polling only, no traps) support for a legacy NMS and I am obviously doing something wrong.  I know it's something stupid, but I'm not sure what.  Could someone look at my config below and slap me with a clue bat?  Thanks in advance.

-evt

~~~~~~~~~~~~~~~~~~~~~~~~~
usm {
    local-engine {
        user user1 {
            authentication-sha {
                authentication-key "xxxxxx"; ## SECRET-DATA
            }
            privacy-aes128 {
                privacy-key "xxxxxxx"; ## SECRET-DATA
            }
        }
    }
}
vacm {
    security-to-group {
        security-model usm {
            security-name user1 {
                group all-mibs-group;
            }
        }
        security-model v2c {
            security-name legacy1 {
                group all-mibs-group-v2c;
            }
        }
    }
    access {
        group all-mibs-group {
            default-context-prefix {
                security-model usm {
                    security-level privacy {
                        read-view all-mibs;
                    }
                }
            }
        }
        group all-mibs-group-v2c {
            default-context-prefix {
                security-model v2c {
                    security-level none {
                        read-view all-mibs;
                    }
                }
            }
        }
    }
}
target-address ta-host1 {
    address 192.168.225.22;
    address-mask 255.255.255.255;
    target-parameters tp-legacy;
}
target-parameters tp-legacy {
    parameters {                        
        message-processing-model v2c;
        security-model v2c;
        security-level none;
        security-name legacy1;
    }
}
snmp-community index1 {
    community-name "xxxxxxx"; ## SECRET-DATA
    security-name legacy1;
    tag ta-host1;
}

[snmp]
view all-mibs {
    oid .1;
}



More information about the juniper-nsp mailing list