port-monitor activate
port-monitor activate
To activate a Simple Network Management Protocol (SNMP) port-monitor policy, use the port-monitor
activate command. To deactivate a port-monitor policy, use the no form of this command.
Syntax Description
policy-name
Defaults
None
Command Modes
Global configuration mode (config)
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.1(2)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to activate an SNMP port-monitor policy:
switch(config)# port-monitor name policy_1
switch(config-port-monitor)# port-monitor activate policy_1
switch(config)#
This example shows how to deactivate a port-monitor policy:
switch(config-port-monitor)# no port-monitor activate policy_1
switch(config)#
Related Commands
Command
counter
Cisco Nexus 7000 Series NX-OS System Management Command Reference
322
port-monitor activate [policy-name]
no port-monitor activate [policy-name]
(Optional) Port-monitor policy. The maximum number of alphanumeric characters is
32.
Modification
This command was introduced.
Description
Configures an individual counter.
P Commands
OL-25806-03