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-monitormode, 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-performancepoll-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-performanceswitch(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-monitormode, 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

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

2-36

OL-29284-01, Release 6.x

Page 58
Image 58
Cisco Systems DSC9148D8G48PK9 manual Reverting to the Default Policy for a Specific Counter