[Contents] [Prev] [Next] [Index] [Report an Error]


[edit snmp] Hierarchy Level

[edit]
snmp {
    community community-name {
        authorization authorization; 
        clients {
            address restrict;
        }
        view view-name;
    }
    contact contact; 
    description description; 
    engine-id {
        (local engine-id | use-default-ip-address | use-mac-address);
    }
    filter-duplicates; 
    interface [ interface-names ]; 
    location location; 
    name name;
    nonvolatile {
        commit-delay seconds;
    }
    rmon {
        alarm index {
            description description;
            falling-event-index index;
            falling-threshold integer;
            interval seconds;
            rising-event-index index;
            rising-threshold integer;
            sample-type type;
            startup-alarm alarm;
            variable oid-variable;
        }
        event index {
            community community-name;
            description description;
            type type;
        }
    }
    traceoptions { 
        file size size files number;
        flag flag; 
    }
    trap-group group-name {
        categories [ categories ]; 
        destination-port <port-number>;
        targets {
            address;
        }
        version (all | v1 | v2);
    }
    trap-options {
            agent-address outgoing-interface;
            source-address address;
    }
    v3 {
        notify name {
            tag tag-name;
            type trap;
        }
        notify-filter profile-name {
            oid oid (include | exclude);
        }
        snmp-community community-index {
            community-name community-name; 
            security-name security-name; 
            tag tag-name;
        }
        target-address target-address-name {
            address address;
            address-mask address-mask;
            port <port-number>;
            tag-list [ tag-list ];
            target-parameters target-parameters-name;
        }
        target-parameters target-parameters-name {
            notify-filter profile-name;
                parameters {
                    message-processing-model (v1 | v2c | v3);
                    security-model (usm | v1 | v2c);
                    security-level (authentication | none | privacy);
                    security-name security-name;
            }

        }
        usm {
            local-engine {
                user username {

                    authentication-md5 {
                        authentication-password authentication-password;
                    }
                    authentication-none;
                    authentication-sha {
                        authentication-password authentication-password;
                    }
                    privacy-3des {

                        privacy-password privacy-password;

                    }
                    privacy-aes128 {
                        privacy-password privacy-password;

                    }
                    privacy-des {
                        privacy-password privacy-password;
                    }
                    privacy-none;
                }
            }
        }
        vacm {
            access {
                group group-name {
                    default-context-prefix {
                        security-model (any | usm | v1 | v2c) {
                            security-level (authentication | none | privacy) {
                                notify-view view-name;
                                read-view view-name;
                                write-view view-name;
                            }
                        }

                    }
                }
            }
            security-to-group {
                security-model (usm | v1 | v2c) {
                    security-name security-name {
                        group group-name;
                    }
                }
            }
        }
    }
    view view-name; {
        oid object-identifier (include | exclude);
    }
}



[Contents] [Prev] [Next] [Index] [Report an Error]