cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1096
Views
0
Helpful
2
Replies

Need help to translate some commands to Yang model in IOS XR

Stan Huang
Cisco Employee
Cisco Employee

Hello experts,

Can anyone help me to translate the following command to yang model?   Thanks.

  1. show interfaces [interface_name]
  2. show interfaces [interface_name] detail
  3. show controlllers SONET [interface_name]
  4. show controlllers [interface_name] phy
  5. clear counters SONET [interface_name]
  6. clear counters POS [interface_name]
  7. clear counters [interface_name]
1 Accepted Solution

Accepted Solutions

einarnn
Cisco Employee
Cisco Employee

Here are some pointers.

  • show interfaces [interface_name]
  • show interfaces [interface_name] detail

Look in the module Cisco-IOS-XR-pfi-im-cmd-oper.

  • show controlllers SONET [interface_name]
  • show controlllers [interface_name] phy

Look in the module Cisco-IOS-XR-pmengine-oper.

  • clear counters SONET [interface_name]
  • clear counters POS [interface_name]
  • clear counters [interface_name]

As of IOS-XR 6.3.1, we do not have clear RPCs for these counters.

Cheers,

Einar

View solution in original post

2 Replies 2

einarnn
Cisco Employee
Cisco Employee

Here are some pointers.

  • show interfaces [interface_name]
  • show interfaces [interface_name] detail

Look in the module Cisco-IOS-XR-pfi-im-cmd-oper.

  • show controlllers SONET [interface_name]
  • show controlllers [interface_name] phy

Look in the module Cisco-IOS-XR-pmengine-oper.

  • clear counters SONET [interface_name]
  • clear counters POS [interface_name]
  • clear counters [interface_name]

As of IOS-XR 6.3.1, we do not have clear RPCs for these counters.

Cheers,

Einar

Hi ,

This is Priyanka,I am new to net conf and working configuration  on CISCO XR device with NET CONF protocol using ncclient library.looking for XML RPC for respective cli commands.

Its becoming hard to find XML RPC for all CLI commands EX:show bgp summary).Please let me know any docs or links related to XML RPC file for all cli commands.

 

Any leads will be helpful.Thanks in advance.

 

Regards,

Priyanka

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: