P Commands
port-monitor activate
322
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
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.
port-monitor activate [policy-name]
no port-monitor activate [policy-name]
Syntax Description
Defaults None
Command Modes Global configuration mode (config)
Supported User Roles network-admin
vdc-admin
Command History
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
policy-name (Optional) Port-monitor policy. The maximum number of alphanumeric characters is
32.
Release Modification
4.1(2) This command was introduced.
Command Description
counter Configures an individual counter.