P Commands
port-type
325
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
port-type
To configure a port type for the Simple Network Management Protocol (SNMP) port monitoring, use the
port-type command. To delete the port-type configuration for port monitoring, use the no form of this
command.
port-type {access-port | all | trunks}
no port-type {access-port | all | trunks}
Syntax Description
Defaults None
Command Modes Port-monitor configuration (config-port-monitor)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure a port type for the SNMP port-monitor configuration:
switch(config)# port-monitor name PM1
switch(config-port-monitor)# port-type all
switch(config-port-monitor)#
This example shows how to remove a port-type configuration:
switch(config-port-monitor)# no port-type all
switch(config-port-monitor)#
Related Commands
access-port Configures port monitoring for access ports.
all Configures port monitoring for all ports.
trunks Configures port monitoring for trunk ports.
Release Modification
4.1(2) This command was introduced.
Command Description
port-monitor activate Activates the specified port-monitor policy.