set smon vlan

Use this command to create, start, or stop SNMP VLAN-related statistics counting.

Syntax

set smon vlan {create | enable | disable} port-string [owner]

Parameters

create | enable | disable Creates, enables, or disables SMON VLAN statistics counting. Create automatically enables (starts) counters.
port-string Specifies one or more source ports on which to collect statistics.
owner (Optional) Specifies an administratively assigned name of the owner of this entity.

Defaults

If owner is not specified, none will be applied.

Mode

All command modes.

Usage

The S- K- and 7100-Series platform supports 16 SMON VLAN switch-wide VLAN sessions (The 7100-Series uses VTAP ports). On the 7100-Series Port-VLAN sessions (for physical ports and LAGs) are not supported. Resources available to SMON VLAN sessions are shared with other SMON tasks and port mirroring. Depending upon your configuration needs, you may not be able to configure the maximum number of supported SMON VLAN sessions.

Examples

This S- and K-Series example shows how to set the device to gather SMON VLAN-related statistics from 1-Gigabit Ethernet port 14 in module 3:

System(rw)->set smon vlan enable ge.3.14

This 7100-Series example shows how to set the device to gather SMON VLAN-related statistics from VTAP 1:

System(rw)->set smon vlan enable vtap.0.1