Chapter 2
Configuring Interfaces
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
•
•
Enabling Port Monitor
To enable port monitor, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# port-monitor enable
switch(config)# no port-monitor enable
Configuring a Port Monitor Policy
To configure a port monitor policy, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# port-monitor name policyname
switch(config)# no port-monitor name
policyname
Step 3
switch(config-port-monitor)# port-type
access-port
switch(config-port-monitor)# port-type
trunks
switch(config-port-monitor)# port-type all
OL-19445-02, Cisco MDS NX-OS Release 4.2(x)
Activating a Port Monitor Policy, page 2-38
Displaying Port Monitor Status and Policies, page 2-38
Purpose
Enters configuration mode.
Enables (default) the port monitoring feature.
Disables port monitoring.
Purpose
Enters configuration mode.
Specifies the policy name and enters the port
monitor policy configuration mode.
Removes the policy.
Applies the policy to the access ports.
Applies the policy to the trunk ports.
Applies the policy to all ports.
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Configuring Port Monitor
2-35