A SERVICE OF

logo

2-34
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
OL-29284-01, Release 6.x
Chapter 2 Configuring Interfaces
Configuring Interfaces
Activating a Port Monitor Policy
Detailed Steps
To activate a port monitor policy, follow these steps:
Configuring a Port Monitor Port Guard
Detailed Steps
To configure a port monitor policy, follow these steps:
Note By default, the port monitor port guard is disabled. To enable this feature, you must explicitly configure
the port monitor port guard feature on a particular counter by performing Step 3 or Step 4.
Configuring Port Group Monitor
This section includes the following topics:
Enabling Port Group Monitor, page 2-35
Configuring a Port Group Monitor Policy, page 2-35
Command Purpose
Step 1
switch# config t
Enters configuration mode.
Step 2
switch(config)# port-monitor activate
policyname
Activates the specified port monitor policy.
switch(config)# port-monitor activate
Activates the default port monitor policy.
switch(config)# no port-monitor activate
policyname
Deactivates the specified port monitoring policy.
Command Purpose
Step 1
switch# config t
Enters configuration mode.
Step 2
switch(config)# port-monitor name
policyname
Specifies the policy name and enters the port
monitoring policy configuration mode.
switch(config)# no port-monitor name
policyname
Removes the policy.
Step 3
switch(config-port-monitor)# counter
link-loss poll-interval
seconds
delta
rising-threshold
percentage1
event
event-id
falling-threshold
percentage2
event
event-id
portguard flap
Specifies the delta link loss, poll interval in
seconds, the thresholds in percentage, and the
event IDs of events to be triggered. It also
specifies that the port is flappped (is up or down)
when the event occurs.
Step 4
switch(config-port-monitor)# counter
link-loss poll-interval
seconds
delta
rising-threshold
percentage1
event
event-id
falling-threshold
percentage2
event
event-id
portguard errordisable
Specifies the delta link loss, poll interval in
seconds, the thresholds in percentage, and the
event IDs of events to be triggered. It also
specifies that the interface is down (error
disabled) when the event occurs.