1 Reply Latest reply: Apr 1, 2011 6:56 AM by Keith Barker - CCIE RS/Security, CISSP RSS

    show policy-map interface

    Kondoh

      Hello.

       

      I'm sorry, if this question is inappropriate subject.

       

      Now, I translating an output of show policy-map interface

      into MIBs associated with each value of the output.

       

      But, I don't know how to see "show policy-map interface" command.

       

      1:"I don't know what does this value mean ?"

       

          Class-map:   class-default (match-any)
            7022 packets, 2766307 bytes
            30 second offered rate 26000 bps, drop   rate 0 bps

       

      *Regarding "Offered rate", this value is configured(Or it is computed based on some configured value) ?

       

      2:"Are these value in MIB2? "

       

                0 packets, 0 bytes       

                30 second offered rate 0 bps, drop rate 0 bps       

                Match: access-group 101       

                Queueing       

                  Output Queue: Conversation 73       

                  Bandwidth 400 (kbps) Max Threshold 64 (packets)       

                  (pkts matched/bytes matched) 0/0       

              (depth/total drops/no-buffer drops) 0/0/0       

       

              Class-map: class-default (match-any)       

                7022 packets, 2766307 bytes       

                30 second offered rate 26000 bps, drop rate 0 bps       

                Match: any       

       

      If anybody tells me the answer, I would be pleased.

      thanks in advance.

       

      regards.

      Shun@159

        • 1. Re: show policy-map interface
          Keith Barker - CCIE RS/Security, CISSP

          The 30 seconds is based on the load-interval command:

           

          load-interval

          To change the length of time for which data is used to compute load statistics, use the load-interval command in interface configuration mode or Frame Relay DLCI configuration mode. To revert to the default setting, use the no form of this command.

          load-interval seconds

          no load-interval seconds

          Syntax Description

           


          seconds

          Length of time for which data is used to compute load statistics. Value is a multiple of 30, from 30 to 600 (30, 60, 90, 120, and so on). The default is 300 seconds.

           

          Command Default

          Enabled

          Command Modes

          Interface configuration
          Frame Relay DLCI configuration

          Command History

           

           


          Release

           

          Modification

          10.3

          This command was introduced.

          12.2(4)T

          This command was made available in Frame Relay DLCI configuration mode.

          12.2(18)SXF

          Support for this command was introduced on the Supervisor Engine 720.

          12.2(28)SB

          This command was integrated into Cisco IOS Release 12.2(28)SB.

          12.2(33)SRA

          This command was integrated into Cisco IOS Release 12.2(33)SRA.

           

          Usage Guidelines

          To make computations more reactive to short bursts of traffic, you can shorten the length of time over which load averages are computed.

          If the load interval is set to 30 seconds, new data is used for load calculations over a 30-second period. This data is used to compute load statistics, including the input rate in bits and packets per second, the output rate in bits and packets per second, the load, and reliability.

          Load data is gathered every five seconds. This data is used for a weighted-average calculation in which recent load data has more weight in the computation than older load data. If the load interval is set to 30 seconds, the average is computed for the last 30 seconds of load data.

          If you change the calculation interval from the default of five minutes to a shorter period of time, the input and output statistics that are displayed by the show interface command or the show frame-relay pvc command will be more current and will be based on more nearly instantaneous data, rather than reflecting the average load over a longer period of time.

          This command is often used for dial backup purposes to increase or decrease the likelihood of implementation of a backup interface, but it can be used on any interface.

          Examples

          Interface Example

          In the following example, the default average of five minutes is changed to a 30-second average. A burst in traffic that would not trigger a dial backup for an interface configured with the default five-minute interval might trigger a dial backup for this interface, which is set for the shorter 30-second interval.

          Router(config)# interface serial 0

          Router(config-if)# load-interval 30

          Frame Relay PVC Example

          In the following example, the load interval is set to 60 seconds for a Frame Relay PVC with the DLCI 100:

          Router(config)# interface serial 1/1

          Router(config-if)# frame-relay interface-dlci 100

          Router(config-fr-dlci)# load-interval 60