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


Example: Access Privilege Configuration

Define access privileges:

[edit snmp v3]

access {
        group group1 {
            default-context-prefix {
                security-model usm {                                                                 #Define an SNMPv3 security model
                    security-level privacy {

                        notify-view nv1;

                         read-view rv1;
                        write-view wv1;
                    }
                }
            }
        }
        group group2 {
            default-context-prefix {
                security-model usm {                                                                 #Define an SNMPv3 security model
                    security-level authentication {
                        read-view rv2;
                        write-view wv2;
                    }
                }
            }
        }
        group group3 {
            default-context-prefix {
                security-model v1 {                                                                 #Define an SNMPv1 security model
                    security-level none {
                        read-view rv3;
                        write-view wv3;
                    }
                }
            }
        }
    }
}

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