interface/{interface-type}/{interface-name}/rmon/collection

Configures RMON ethernet statistics collection.

Resource URIs

URI Description
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection Configures RMON ethernet collection statistics. Valid interface type: Ethernet.
GET URI Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/stats/{ether-stats-index}/owner Displays RMON ether statistics collection owner identity. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/buckets Displays the number of buckets for the RMON collection history. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/interval Displays the polling interval. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/owner Displays RMON history index owner identity. Valid interface type: Ethernet.
POST URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection <stats><ether-stats-index>{int32}</ether-stats-index></stats> Configures RMON collection statistics. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection <history><history-control-index>{int32}</history-control-index></history> Configures RMON collection history. Valid interface type: Ethernet.
PUT URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/stats/{ether-stats-index}/owner <owner>{string}</owner> Configures RMON ether statistics collection owner identity. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/buckets <buckets>{unit32}</buckets> Configures the number of buckets for the RMON collection history. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/interval <interval>{unit32}</interval> Configures polling interval. Valid interface type: Ethernet.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/owner <owner>{string}</owner> Configures RMON history index owner identity. Valid interface type: Ethernet.
DELETE URIs
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/stats/{ether-stats-index}
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/stats/{ether-stats-index}/owner
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/history/{history-control-index}
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/buckets
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/interval
<base_URI>/config/running/interface/(interface-type}/{interface-name}/rmon/collection/history/{history-control-index}/owner

Parameters

interface-type
Valid interface type:Ethernet only.
ether-stats-index
Specifies ethernet statistics index. Valid range is from 1 to 65535.
history-control-index
Specifies history control index. Valid range is from 1 to 65535.
owner
Specifies the owner.
bucket
Specifies the history control buckets. Valid range is from 1 to 65535. The default value is 50.
interval
Specifies the history control interval. Valid range is from 1 to 3600. The default value is 1800.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/rmon/interface/Ethernet/%222/13%22/rmon/collection/stats/65535/owner

None

<owner xmlns="urn:brocade.com:mgmt:brocade-rmon" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ethernet/%222/13%22/rmon/collection/stats/65535/owner">sk</owner>

URI

The following example uses the POST option to configure RMON collection history.

http://host:80/rest/config/running/rmon/interface/Ethernet/%222/13%22/rmon/collection

<history><history-control-index>40</history-control-index></history>

None

URI

The following example uses the DELETE option to remove owner identity.

http://host:80/rest/config/running/rmon/interface/Ethernet/%222/13%22/rmon/collection/stats/{ether-stats-index}/owner

None

None