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


Configuration Statements for the SNMP Agent

Use the following configuration statements to configure the SNMP agent at the [edit] hierarchy level.

snmp { 
    contact contact;
    name name;
    location location;
    description description;
    address [address...]; 
} 

snmp community community { 
    authorization (read-only|read-write); 
    clients clients; 
    oid oid; 
}

snmp notify target target-name { 
    address address;
    port port;
    community community;
    type (trapv1|trapv2|inform); 
}

snmp v3 snmp-community community-index { 
    community-name community-name;
    security-name security-name;
    address address; 
}

snmp v3 usm local-engine user username ... 

snmp v3 usm local-engine user username authentication-md5 { 
    authentication-password authentication-password; 
}

snmp v3 usm local-engine user username authentication-sha { 
    authentication-password authentication-password; 
}

snmp v3 usm local-engine user username privacy-aes { 
    privacy-password privacy-password; 
}

snmp v3 usm local-engine user username privacy-des { 
    privacy-password privacy-password; 
}

snmp v3 vacm access group group-name ... 

snmp v3 vacm access group group-name default-context-prefix security-model 
(any|v1|v2c|usm) ... 

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

snmp v3 vacm security-to-group security-model (v1|v2c|usm) ... 

snmp v3 vacm security-to-group security-model (v1|v2c|usm) security-name 
security-name { 
    group-name group-name; 
}

snmp view view-name ... 

snmp view view-name oid oid { 
    (include|exclude); 
}

For detailed information about each configuration statement, see the SRC-PE CLI Command Reference.


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