2-36
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
OL-29284-01, Release 6.x
Chapter 2 Configuring Interfaces
Configuring Interfaces
Reverting to the Default Policy for a Specific Counter
When the no counter command is used in the config-port-group-monitor mode, the specified counter
polling values will revert to the default values as seen in the following example:
switch(config)# port-group-monitor name PGMON_policy
switch(config-port-group-monitor)# counter tx-performance poll-interval 100 delta
rising-threshold 65 falling-threshold 25
switch(config)# show port-group-monitor PGMON_policy
Policy Name : PGMON_policy
Admin status : Not Active
Oper status : Not Active
Port type : All Port Groups
------------------------------------------------------------------------------------------
Counter Threshold Interval %ge Rising Threshold %ge Falling Threshold
------- --------- -------- -------------------- ---------------------
RX Performance Delta 60 80 10
TX Performance Delta 100 65 25
switch(config)# port-group-monitor name PGMON_policy
switch(config-port-group-monitor)# no counter tx-performance
switch(config)# show port-group-monitor PGMON_policy
Policy Name : PGMON_policy
Admin status : Not Active
Oper status : Not Active
Port type : All Port Groups
------------------------------------------------------------------------------------------
Counter Threshold Interval %ge Rising Threshold %ge Falling Threshold
------- --------- -------- -------------------- ----------------------
RX Performance Delta 60 80 10
TX Performance Delta 60 80 10
------------------------------------------------------------------------------------------
Turning Off the Monitoring of Specific Counter
When the no monitor counter command is used in the config-port-group-monitor mode, it turns off
the monitoring of the specified counter in the given policy as seen in the following example:
switch(config)# show port-group-monitor PGMON_policy
Policy Name : PGMON_policy
Admin status : Not Active
Oper status : Not Active
Port type : All Port Groups
------------------------------------------------------------------------------------------
Counter Threshold Interval %ge Rising Threshold %ge Falling Threshold
------- --------- -------- -------------------- ----------------------
RX Performance Delta 26 450 250
TX Performance Delta 60 100 80
------------------------------------------------------------------------------------------
switch(config)# port-group-monitor name PGMON_policy
switch(config-port-group-monitor)# no monitor counter rx-performance
switch(config)# show port-group-monitor PGMON_policy
Policy Name : PGMON_policy
Admin status : Not Active
Oper status : Not Active