snmp-server

Configuration API to start or stop the SNMP server on a particular VRF.

Resource URIs

URIs Description
<base_URI>/config/running/snmp-server Enables/disables SNMP server.
POST URIs Payload Description
<base_URI>/config/running/snmp-server <use-vrf> <use-vrf-name>vrf-name</use-vrf-name> </use-vrf> Enables SNMP Server on the VRF passed in the vrf-name parameter.
<base_URI>/config/running/snmp-server/use-vrf/{vrf-name} <shutdown/> Disables SNMP Server on the VRF passed in the vrf-name parameter.
DELETE URIs
<base_URI>/config/running/snmp-server/use-vrf/{vrf-name}/shutdown
<base_URI>/config/running/snmp-server/use-vrf/{vrf-name}

Parameters

vrf-name
The name of the VRF on which to enable/disable the SNMP server.
shutdown
The command to shutdown/disable the SNMP on the named VRF.

Usage Guidelines

POST and DELETE operations are supported.

Example

This example shows enabling SNMP server on a particular VRF.

http://host:80/rest/config/running/snmp-server

<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
    <use-vrf>
        <use-vrf-name>red</use-vrf-name>
    </use-vrf>
</snmp-server> 

None.

This example shows disabling SNMP server on a particular VRF.

http://host:80/rest/config/running/snmp-server

<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
    <use-vrf>
        <use-vrf-name>red</use-vrf-name>
        <shutdown/>
    </use-vrf>
</snmp-server> 

None.