XML Support for ABM and LM in N3500

This chapter contains XML and CLI supported in N3500.

XML Support for ABM and LM in N3500

The following commands show XML Output for ABM and LM:

show hardware profile buffer monitor sampling

CLI :

MTC-8(config)# show hardware profile buffer monitor sampling

Sampling CLI issued at: 05/25/2016 04:18:56

Sampling interval: 200
XML :

MTC-8(config)# show hardware profile buffer monitor sampling | xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://w

ww.cisco.com/nxos:1.0:mtc_usd_cli">

 <nf:data>

  <show>

   <hardware>

    <profile>

     <buffer>

      <monitor>

       <__XML__BLK_Cmd_show_hardware_profile_buffer_monitor_summary>

        <__XML__OPT_Cmd_show_hardware_profile_buffer_monitor___readonly__>

         <__readonly__>

          <cmd_name>Sampling CLI</cmd_name>

          <cmd_issue_time>05/25/2016 04:19:12</cmd_issue_time>

          <TABLE_sampling>

           <ROW_sampling>

            <sampling_interval>200</sampling_interval>

           </ROW_sampling>

          </TABLE_sampling>

         </__readonly__>

        </__XML__OPT_Cmd_show_hardware_profile_buffer_monitor___readonly__>

       </__XML__BLK_Cmd_show_hardware_profile_buffer_monitor_summary>

      </monitor>

     </buffer>

    </profile>

   </hardware>

  </show>

 </nf:data>

</nf:rpc-reply>

]]>]]>

show hardware profile buffer monitor detail | xml

XML :

<show>
   <hardware>
    <profile>
     <buffer>
      <monitor>
       <__XML__BLK_Cmd_show_hardware_profile_buffer_monitor_summary>
        <__XML__OPT_Cmd_show_hardware_profile_buffer_monitor___readonly__>
         <__readonly__>
          <cmd_name>Detail CLI</cmd_name>
          <cmd_issue_time>10/02/2001 10:58:58</cmd_issue_time>
          <TABLE_detail_entry>
           <ROW_detail_entry>
            <detail_util_name>Ethernet1/1</detail_util_name>
            <detail_util_state>Active</detail_util_state>
           </ROW_detail_entry>
           <ROW_detail_entry>
            <time_stamp>10/02/2001 10:58:58</time_stamp>
            <__XML__DIGIT384k_util>0</__XML__DIGIT384k_util>
            <__XML__DIGIT768k_util>0</__XML__DIGIT768k_util>
            <__XML__DIGIT1152k_util>0</__XML__DIGIT1152k_util>
            <__XML__DIGIT1536k_util>0</__XML__DIGIT1536k_util>
            <__XML__DIGIT1920k_util>0</__XML__DIGIT1920k_util>
            <__XML__DIGIT2304k_util>0</__XML__DIGIT2304k_util>
            <__XML__DIGIT2688k_util>0</__XML__DIGIT2688k_util>
            <__XML__DIGIT3072k_util>0</__XML__DIGIT3072k_util>
            <__XML__DIGIT3456k_util>0</__XML__DIGIT3456k_util>
            <__XML__DIGIT3840k_util>0</__XML__DIGIT3840k_util>
            <__XML__DIGIT4224k_util>0</__XML__DIGIT4224k_util>
            <__XML__DIGIT4608k_util>0</__XML__DIGIT4608k_util>
            <__XML__DIGIT4992k_util>0</__XML__DIGIT4992k_util>
            <__XML__DIGIT5376k_util>0</__XML__DIGIT5376k_util>
            <__XML__DIGIT5760k_util>0</__XML__DIGIT5760k_util>
            <__XML__DIGIT6144k_util>0</__XML__DIGIT6144k_util>
           </ROW_detail_entry>
           <ROW_detail_entry>
            <time_stamp>10/02/2001 10:58:57</time_stamp>
            <__XML__DIGIT384k_util>0</__XML__DIGIT384k_util>
            <__XML__DIGIT768k_util>0</__XML__DIGIT768k_util>
            <__XML__DIGIT1152k_util>0</__XML__DIGIT1152k_util>
            <__XML__DIGIT1536k_util>0</__XML__DIGIT1536k_util>
            <__XML__DIGIT1920k_util>0</__XML__DIGIT1920k_util>
            <__XML__DIGIT2304k_util>0</__XML__DIGIT2304k_util>
            <__XML__DIGIT2688k_util>0</__XML__DIGIT2688k_util>
            <__XML__DIGIT3072k_util>0</__XML__DIGIT3072k_util>
            <__XML__DIGIT3456k_util>0</__XML__DIGIT3456k_util>
            <__XML__DIGIT3840k_util>0</__XML__DIGIT3840k_util>
            <__XML__DIGIT4224k_util>0</__XML__DIGIT4224k_util>
            <__XML__DIGIT4608k_util>0</__XML__DIGIT4608k_util>
            <__XML__DIGIT4992k_util>0</__XML__DIGIT4992k_util>
            <__XML__DIGIT5376k_util>0</__XML__DIGIT5376k_util>
            <__XML__DIGIT5760k_util>0</__XML__DIGIT5760k_util>
            <__XML__DIGIT6144k_util>0</__XML__DIGIT6144k_util>
           </ROW_detail_entry>
           <ROW_detail_entry>
            <time_stamp>10/02/2001 10:58:56</time_stamp>
            <__XML__DIGIT384k_util>0</__XML__DIGIT384k_util>
            <__XML__DIGIT768k_util>0</__XML__DIGIT768k_util>
            <__XML__DIGIT1152k_util>0</__XML__DIGIT1152k_util>
            <__XML__DIGIT1536k_util>0</__XML__DIGIT1536k_util>
            <__XML__DIGIT1920k_util>0</__XML__DIGIT1920k_util>
            <__XML__DIGIT2304k_util>0</__XML__DIGIT2304k_util>
            <__XML__DIGIT2688k_util>0</__XML__DIGIT2688k_util>
            <__XML__DIGIT3072k_util>0</__XML__DIGIT3072k_util>
            <__XML__DIGIT3456k_util>0</__XML__DIGIT3456k_util>
            <__XML__DIGIT3840k_util>0</__XML__DIGIT3840k_util>
            <__XML__DIGIT4224k_util>0</__XML__DIGIT4224k_util>
            <__XML__DIGIT4608k_util>0</__XML__DIGIT4608k_util>
            <__XML__DIGIT4992k_util>0</__XML__DIGIT4992k_util>
            <__XML__DIGIT5376k_util>0</__XML__DIGIT5376k_util>
            <__XML__DIGIT5760k_util>0</__XML__DIGIT5760k_util>
            <__XML__DIGIT6144k_util>0</__XML__DIGIT6144k_util>
           </ROW_detail_entry>
           <ROW_detail_entry>
            <time_stamp>10/02/2001 10:58:55</time_stamp>
            <__XML__DIGIT384k_util>0</__XML__DIGIT384k_util>
            <__XML__DIGIT768k_util>0</__XML__DIGIT768k_util>
            <__XML__DIGIT1152k_util>0</__XML__DIGIT1152k_util>
            <__XML__DIGIT1536k_util>0</__XML__DIGIT1536k_util>
            <__XML__DIGIT1920k_util>0</__XML__DIGIT1920k_util>
            <__XML__DIGIT2304k_util>0</__XML__DIGIT2304k_util>
            <__XML__DIGIT2688k_util>0</__XML__DIGIT2688k_util>
            <__XML__DIGIT3072k_util>0</__XML__DIGIT3072k_util>
            <__XML__DIGIT3456k_util>0</__XML__DIGIT3456k_util>
            <__XML__DIGIT3840k_util>0</__XML__DIGIT3840k_util>
            <__XML__DIGIT4224k_util>0</__XML__DIGIT4224k_util>
            <__XML__DIGIT4608k_util>0</__XML__DIGIT4608k_util>
            <__XML__DIGIT4992k_util>0</__XML__DIGIT4992k_util>
            <__XML__DIGIT5376k_util>0</__XML__DIGIT5376k_util>
            <__XML__DIGIT5760k_util>0</__XML__DIGIT5760k_util>
            <__XML__DIGIT6144k_util>0</__XML__DIGIT6144k_util>
           </ROW_detail_entry>
           <ROW_detail_entry>
            <time_stamp>10/02/2001 10:58:54</time_stamp>
            <__XML__DIGIT384k_util>0</__XML__DIGIT384k_util>
            <__XML__DIGIT768k_util>0</__XML__DIGIT768k_util>
            <__XML__DIGIT1152k_util>0</__XML__DIGIT1152k_util>
            <__XML__DIGIT1536k_util>0</__XML__DIGIT1536k_util>
            <__XML__DIGIT1920k_util>0</__XML__DIGIT1920k_util>
            <__XML__DIGIT2304k_util>0</__XML__DIGIT2304k_util>
            <__XML__DIGIT2688k_util>0</__XML__DIGIT2688k_util>
            <__XML__DIGIT3072k_util>0</__XML__DIGIT3072k_util>
            <__XML__DIGIT3456k_util>0</__XML__DIGIT3456k_util>
            <__XML__DIGIT3840k_util>0</__XML__DIGIT3840k_util>
            <__XML__DIGIT4224k_util>0</__XML__DIGIT4224k_util>
            <__XML__DIGIT4608k_util>0</__XML__DIGIT4608k_util>
            <__XML__DIGIT4992k_util>0</__XML__DIGIT4992k_util>
            <__XML__DIGIT5376k_util>0</__XML__DIGIT5376k_util>
            <__XML__DIGIT5760k_util>0</__XML__DIGIT5760k_util>
            <__XML__DIGIT6144k_util>0</__XML__DIGIT6144k_util>
           </ROW_detail_entry>

show hardware profile buffer monitor brief

XML :

show hardware profile buffer monitor brief | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://w
ww.cisco.com/nxos:1.0:mtc_usd_cli">
<nf:data>
<show>
<hardware>
<profile>
<buffer>
<monitor>
<__XML__BLK_Cmd_show_hardware_profile_buffer_monitor_summary>
<__XML__OPT_Cmd_show_hardware_profile_buffer_monitor___readonly__>
<__readonly__>
<cmd_name>Brief CLI</cmd_name>
<cmd_issue_time>03/21/2016 09:06:38</cmd_issue_time>
<TABLE_ucst_hdr>
<ROW_ucst_hdr>
<ucst_hdr_util_name>Buffer Block 1</ucst_hdr_util_name>
<ucst_hdr_1sec_util>0KB</ucst_hdr_1sec_util>
<ucst_hdr_5sec_util>0KB</ucst_hdr_5sec_util>
<ucst_hdr_60sec_util>N/A</ucst_hdr_60sec_util>
<ucst_hdr_5min_util>N/A</ucst_hdr_5min_util>
<ucst_hdr_1hr_util>N/A</ucst_hdr_1hr_util>
<ucst_hdr_total_buffer>Total Shared Buffer Available = 5397 Kbytes
</ucst_hdr_total_buffer>
<ucst_hdr_class_threshold>Class Threshold Limit = 5130 Kbytes
</ucst_hdr_class_threshold>
</ROW_ucst_hdr>
</TABLE_ucst_hdr>
<TABLE_brief_entry>
<ROW_brief_entry>
<brief_util_name>Ethernet1/45</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>

<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/46</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/47</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/48</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/21</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/22</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/23</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>

<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/24</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/9</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/10</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/11</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>
<brief_util_name>Ethernet1/12</brief_util_name>
<brief_1sec_util>0KB</brief_1sec_util>
<brief_5sec_util>0KB</brief_5sec_util>
<brief_60sec_util>N/A</brief_60sec_util>
<brief_5min_util>N/A</brief_5min_util>
<brief_1hr_util>N/A</brief_1hr_util>

show hardware profile latency monitor sampling

CLI

MTC-8(config)# show hardware profile latency monitor sampling

Sampling CLI issued at: 05/25/2016 04:19:54

Sampling interval: 20
XML

MTC-8(config)# show hardware profile latency monitor sampling | xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://w

ww.cisco.com/nxos:1.0:mtc_usd_cli">

 <nf:data>

  <show>

   <hardware>

    <profile>

     <latency>

      <monitor>

       <__XML__BLK_Cmd_show_hardware_profile_latency_monitor_summary>

        <__XML__OPT_Cmd_show_hardware_profile_latency_monitor___readonly__>

         <__readonly__>

          <cmd_issue_time>05/25/2016 04:20:06</cmd_issue_time>

          <device_instance>0</device_instance>

          <TABLE_sampling>

           <ROW_sampling>

            <sampling_interval>20</sampling_interval>

           </ROW_sampling>

          </TABLE_sampling>

         </__readonly__>

        </__XML__OPT_Cmd_show_hardware_profile_latency_monitor___readonly__>

       </__XML__BLK_Cmd_show_hardware_profile_latency_monitor_summary>

      </monitor>

     </latency>

    </profile>

   </hardware>

  </show>

 </nf:data>

</nf:rpc-reply>

]]>]]>

show hardware profile latency monitor threshold

CLI

MTC-8(config)# show hardware profile latency monitor threshold

Sampling CLI issued at: 05/25/2016 04:20:53

Threshold Avg: 3000

Threshold Max: 300000
XML

MTC-8(config)# show hardware profile latency monitor threshold | xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://w

ww.cisco.com/nxos:1.0:mtc_usd_cli">

 <nf:data>

  <show>

   <hardware>

    <profile>

     <latency>

      <monitor>

       <__XML__BLK_Cmd_show_hardware_profile_latency_monitor_summary>

        <__XML__OPT_Cmd_show_hardware_profile_latency_monitor___readonly__>

         <__readonly__>

          <cmd_issue_time>05/25/2016 04:21:04</cmd_issue_time>

          <device_instance>0</device_instance>

          <TABLE_threshold>

           <ROW_threshold>

            <threshold_avg>3000</threshold_avg>

            <threshold_max>300000</threshold_max>

           </ROW_threshold>

          </TABLE_threshold>

         </__readonly__>

        </__XML__OPT_Cmd_show_hardware_profile_latency_monitor___readonly__>

       </__XML__BLK_Cmd_show_hardware_profile_latency_monitor_summary>

      </monitor>

     </latency>

    </profile>

   </hardware>

  </show>

 </nf:data>

</nf:rpc-reply>

]]>]]>