Configuring Interfaces
Configuring the Check Interval
To configure the check interval, perform these steps:
Step 1
Enter the configuration mode:
switch# configure terminal
Step 2
Configure the check interval time to 30 seconds
switch# port-monitor check-interval 30
To disable check interval use the following command:
switch# no port-monitor check-interval
Configuring a Port Monitor Policy
To configure a port monitor policy, perform these steps:
Step 1
Enter configuration mode:
switch# configure terminal
Step 2
Specify the policy name and enter port monitoring policy configuration mode:
switch(config)# port-monitor name policyname
(Optional) Remove the policy name:
switch(config)# no port-monitor name policyname
Step 3
Apply policy type:
switch(config-port-monitor)# logical-type {core | edge | all}
Step 4
Specify the counter parameters:
switch(config-port-monitor)# counter {credit-loss-reco | err-pkt-from-port | err-pkt-from-xbar | err-pkt-to-xbar |
invalid-crc | invalid-words | link-loss | lr-rx | lr-tx | rx-datarate | signal-loss | state-change | sync-loss | timeout-discards
| tx-credit-not-available | tx-datarate | tx-discards | tx-slowport-oper-delay | txwait} poll-interval seconds {absolute
| delta} rising-threshold count1 event RMON-ID warning-threshold count2 falling-threshold count3 event RMON-ID
portguard {errordisable | flap | cong-isolate}
Cisco MDS 9000 Series Interfaces Configuration Guide, Release 8.x
Configuring the Check Interval
53