[c-nsp] Nexus family rate-limit monitor via SNMP

Lincoln Dale ltd at cisco.com
Tue Jun 8 23:08:53 EDT 2010


On 09/06/2010, at 7:47 AM, Livio Zanol Puppim wrote:

> Does anybody knows if it's possible to monitor rate-limit utilization using
> SNMP in any equipements of the "nexus family"? I haven't found any MIB with
> this information (ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus7000/Nexus7000MIBSupportList.html).

can you elaborate what you mean by "monitor rate-limit utilization"?

as in policing values using (say) CISCO-CLASS-BASED-QOS-MIB?
if so, no that MIB is not yet present in NX-OS but is on the roadmap.

you can get all policing data by CLI ("show policy-map (whatever)") or via XML/Netconf, or a combination of the above if you wish (CLI input, XML output) and use it in conjunction with a preshared ssh key if you wish to automate it,

e.g. getting statistics on Control Plane policing with XML output:

lincoln-dales-macbook$ ssh ltd at ltd-n7010-1 "show policy-map interface control-plane | xml"
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="copp_cli">
 <nf:data>
  <show>
   <policy-map>
    <interface>
     <control-plane>
      <__XML__BLK_Cmd_show_policy_map_interface_module>
       <__XML__OPT_Cmd_show_policy_map_interface___readonly__>
        <__readonly__>
         <pmap-name>copp-system-policy</pmap-name>
         <opt_any_or_all>match-any</opt_any_or_all>
         <cmap-name>copp-system-class-critical</cmap-name>
         <access_grp>
          <acc_grp_name>copp-system-acl-bgp</acc_grp_name>
          <acc_grp_name>copp-system-acl-bgp6</acc_grp_name>
          <acc_grp_name>copp-system-acl-eigrp</acc_grp_name>
          <acc_grp_name>copp-system-acl-igmp</acc_grp_name>
          <acc_grp_name>copp-system-acl-msdp</acc_grp_name>
          <acc_grp_name>copp-system-acl-ospf</acc_grp_name>
          <acc_grp_name>copp-system-acl-ospf6</acc_grp_name>
          <acc_grp_name>copp-system-acl-pim</acc_grp_name>
          <acc_grp_name>copp-system-acl-pim6</acc_grp_name>
          <acc_grp_name>copp-system-acl-rip</acc_grp_name>
          <acc_grp_name>copp-system-acl-vpc</acc_grp_name>
         </access_grp>
         <set_vld_flg>665</set_vld_flg>
         <cir>39600</cir>
         <opt_kbps_mbps_gbps_pps_cir>kbps</opt_kbps_mbps_gbps_pps_cir>
         <bc>310</bc>
         <opt_kbytes_mbytes_gbytes_bc>ms</opt_kbytes_mbytes_gbytes_bc>
         <slot-no>0</slot-no>
         <conform-bytes>0</conform-bytes>
         <opt_drop_transmit_conform>transmit</opt_drop_transmit_conform>
         <violate-bytes>0</violate-bytes>
         <opt_drop_transmit_violate>drop</opt_drop_transmit_violate>
         <slot-no>1</slot-no>
         <conform-bytes>0</conform-bytes>
         <opt_drop_transmit_conform>transmit</opt_drop_transmit_conform>
         <violate-bytes>0</violate-bytes>
         <opt_drop_transmit_violate>drop</opt_drop_transmit_violate>
         <opt_any_or_all>match-any</opt_any_or_all>
         <cmap-name>copp-system-class-important</cmap-name>
         <access_grp>
          <acc_grp_name>copp-system-acl-cts</acc_grp_name>
          <acc_grp_name>copp-system-acl-glbp</acc_grp_name>
          <acc_grp_name>copp-system-acl-hsrp</acc_grp_name>
          <acc_grp_name>copp-system-acl-hsrp6</acc_grp_name>
          <acc_grp_name>copp-system-acl-vrrp</acc_grp_name>
          <acc_grp_name>copp-system-acl-wccp</acc_grp_name>
          <acc_grp_name>copp-system-acl-icmp6-msgs</acc_grp_name>
          <acc_grp_name>copp-system-acl-pim-reg</acc_grp_name>
         </access_grp>
         <set_vld_flg>665</set_vld_flg>
         <cir>1060</cir>
         <opt_kbps_mbps_gbps_pps_cir>kbps</opt_kbps_mbps_gbps_pps_cir>
         <bc>1250</bc>
         <opt_kbytes_mbytes_gbytes_bc>ms</opt_kbytes_mbytes_gbytes_bc>
         <slot-no>0</slot-no>
         <conform-bytes>0</conform-bytes>
         <opt_drop_transmit_conform>transmit</opt_drop_transmit_conform>
         <violate-bytes>0</violate-bytes>
         <opt_drop_transmit_violate>drop</opt_drop_transmit_violate>
         <slot-no>1</slot-no>
	.....
        </__readonly__>
       </__XML__OPT_Cmd_show_policy_map_interface___readonly__>
      </__XML__BLK_Cmd_show_policy_map_interface_module>
     </control-plane>
    </interface>
   </policy-map>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>lincoln-dales-macbook$ 




cheers,

lincoln.


More information about the cisco-nsp mailing list