Simple Network Management Protocol (SNMP) is an Internet Standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior. It is specified in RFC 1157.

Configuration example:

vrouter running config# vrf main snmp
vrouter running snmp# static-info contact
vrouter running snmp# static-info location "Santa Barbara"
vrouter running snmp# community public authorization read-only source
vrouter running snmp# traps destination notification-type TRAP2 community public
vrouter running snmp# traps process-check
vrouter running snmp# traps link-status-check
vrouter running snmp# traps load-check threshold 95
vrouter running snmp# /
vrouter running config# commit
Configuration committed.


In most cases, you will want to enable the agent in the main VRF, but it may be configured in any other VRF.

To display the current SNMP state:

vrouter running config# show state vrf main snmp
    enabled true
        location "Copacabana, Rio de Janeiro"
    community public
        authorization read-only
        destination community public port 162 notification-type TRAP2
        link-status-check enabled true frequency 60s
        process-check enabled true frequency 2s
        load-check enabled true threshold 95

The same configuration can be made using this NETCONF XML request:

vrouter running config# show config xml absolute vrf main snmp
<config xmlns="urn:6wind:vrouter">
    <snmp xmlns="urn:6wind:vrouter/snmp">
        <location>Copacabana, Rio de Janeiro</location>

See also

The SNMP command reference for details.