set rmon capture

Use this command to configure an RMON capture entry, or to enable or disable an existing entry.

Syntax

set rmon capture index {channel [action {lock | wrap}] [slice slice] [loadsize loadsize] [offset offset] [asksize asksize] [owner owner]}

Parameters

index Specifies a buffer control entry.
channel Specifies the channel to which this capture entry will be applied.
action lock | wrap (Optional) Specifies the action of the buffer when it is full as:
  • lock - Packets will cease to be accepted
  • wrap - Oldest packets will be overwritten
slice slice (Optional) Specifies the maximum octets from each packet to be saved in a buffer (default: 100).
loadsize loadsize (Optional) Specifies the maximum octets from each packet to be downloaded from the buffer (default: 100).
offset offset (Optional) Specifies that the first octet from each packet that will be retrieved.
asksize asksize (Optional) Specifies that the requested maximum octets will be saved in this buffer.
owner (Optional) Specifies the name of the entity that configured this entry.

Defaults

  • If not specified, action defaults to lock.
  • If not specified, offset defaults to 0.
  • If not specified, asksize defaults to 1 (which will request as many octets as possible)
  • If slice and loadsize are not specified, 100 will be applied.
  • If owner is not specified, it will be set to monitor.

Mode

All command modes.

Usage

Configuring RMON capture causes hardware based forwarding to be disabled, resulting in all traffic from the port to be forwarded by the CPU.

Example

This example shows how to create RMON capture entry 1 to “listen” on channel 628:

System(rw)->set rmon capture 1 628