Configuring A Port Monitor Policy - Cisco Nexus 5000 Series Configuration Manual

Nx-os san
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Port Monitoring

Configuring a Port Monitor Policy

SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# port-monitor name policyname
3. switch(config-port-monitor)# port-type all
4. switch(config-port-monitor)# counter {credit-loss-reco | timeout-discards | tx-credit-not-available }
poll-interval seconds {absolute | delta} rising-threshold value1 event event-id1 falling-threshold value2
event event-id2
5. switch(config-port-monitor)# [no] counter {credit-loss-reco | timeout-discards | tx-credit-not-available
} poll-interval seconds {absolute | delta} rising-threshold value1 event event-id1 falling-threshold
value2 event event-id2
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# port-monitor name policyname
Step 3
switch(config-port-monitor)# port-type all
Step 4
switch(config-port-monitor)# counter {credit-loss-reco |
timeout-discards | tx-credit-not-available } poll-interval
seconds {absolute | delta} rising-threshold value1 event
event-id1 falling-threshold value2 event event-id2
Step 5
switch(config-port-monitor)# [no] counter
{credit-loss-reco | timeout-discards |
tx-credit-not-available } poll-interval seconds {absolute
| delta} rising-threshold value1 event event-id1
falling-threshold value2 event event-id2
This example shows how to specify the poll interval and threshold for timeout discards:
switch# configure terminal
switch(config)# port-monitor cisco
switch(config-port-monitor)# counter timeout-discards poll-interval 10
This example show how to specify the poll interval and threshold for credit loss recovery:
switch# configure terminal
switch(config)# port-monitor cisco
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide, Release 5.2(1)N1(1)
300
Fibre Channel Slow Drain Device Detection and Congestion Avoidance- An Overview
Purpose
Enters global configuration mode.
Specifies the policy name and enters the port monitor
policy configuration mode.
Applies the policy to all ports.
Specifies the poll interval in seconds, the thresholds in
absolute numbers, and the event IDs of events to be
triggered for the following reasons:
• credit-loss-reco—Credit loss recovery
• timeout-discards—Timeout discards
• tx-credit-not-available—Average credit non-available
duration
Turns on monitoring for the specified counter.
The no form of this command turns off monitoring for the
specified counter.
OL-27583-01

Advertisement

Table of Contents
loading

Table of Contents