10 votes
Accepted

Does anyone know how to import ssh public key to ASR9K (IOS-XR)?

I got response from Cisco Tech support and there are a few things not correctly described in the manual. First, ASR router supports key size 1024 bit or smaller contrary to its manual(supporting up ...
user avatar
5 votes
Accepted

Cisco XR, factory reset for ZTP (Solved!!!)

Problem Found! Cisco Bug in 7.3.1 The issue was me not executingztp clean Initially tested this on 7.3.1. where this command did not have any effect. Decided to also run this on a NCS running 7.2.2. ...
user avatar
5 votes

ICMP "echo request" handling on routers running Cisco IOS-XR

On ASR9k running IOS-XR ICMP packets destined to the router are handled by LTPS (Local Packet Transport System). I believe that under normal circumstances the entire processing of such packet is done ...
user avatar
  • 628
4 votes
Accepted

difference between Cisco "cbQosClassMapStats" and "cbQosPoliceStats" SNMP objects

Class-maps can be used for much more than just policing traffic. The more general "cbQOSClassMapStats" would show a different count if you were also taking other actions than just "police". For ...
user avatar
  • 8,258
4 votes
Accepted

BGP MED On IOS XR

Unfortunately on IOS the show advertised command has always showed the attributes of the route pre policy. It will drop routes that were denied but the attributes are the original ones. Instead I ...
user avatar
  • 1,617
4 votes
Accepted

How to save the initial startup configuration in IOS XR?

You can rollback to a specific configuration state with the command rollback configuration to <commit-id> You can see the commit-id numbers with the command show configuration commit list
user avatar
  • 62.4k
4 votes

How do I know which product IOS my router has

This is the IOS version Cisco IOS XE Software, Version 16.09.02 the command "show inventory" will show you the hardware part numbers, serial number, and version
user avatar
4 votes
Accepted

How to restrict routes redistributed into ISIS in IOS XR?

As a workaround, I configured Lo0 interface as a passive and advertised only passive interfaces into ISIS: RP/0/RP0/CPU0:PE2#sh run router isis lab Mon Apr 19 11:01:50.732 UTC router isis lab is-type ...
user avatar
  • 1,285
3 votes
Accepted

Run a script on router reload

Not Bash or Python necessarily, but EEM (Embedded Event Manager) is meant for this purpose. You use it to do various things (such as run scripts) based on certain criteria (such as when a specific log ...
user avatar
  • 4,481
3 votes

BGP Community Policy to only allow single Community tagged routes

Logged a Case with Cisco and the RPL developer has confirmed you cannot only match a single part of a community string, it will always evaluate the whole community string, so can't be done.
user avatar
  • 41
3 votes

How do I know which product IOS my router has

So My question is, how do I find that product ID "SASR1K1XU-313S" if possible in my current routers CLI. You likely won't. This is simply a software license component that is only one part of what ...
user avatar
  • 26.7k
3 votes
Accepted

How to properly setup graceful-shutdown community

The issue here is the community string needs to be set by the sender, not the route policy. The route policy sets the community at the end of the processing, so the if test never sees the community ...
user avatar
3 votes
Accepted

Cisco XR BGP neighbor group

Here are my answers: No, remote-as value (of neighbor 187.100.0.89) stays unchanged of 65200. Yes, even you do not have 'address-family ipv4 unicast'. Yes, the neighbor inherits policies under '...
user avatar
  • 3,744
3 votes

How to view BGP community attached to prefix in Cisco ASR routers?

I believe this is not possible as @jwbensley said. Though it's also unlikely that cisco.com explicitly says that this functionality isn't implemented. When you're viewing attributes such as ...
user avatar
  • 1,118
3 votes

How to factory reset IOS-XR?

To wipe existing config, and start from default configuration where you will be asked to set initial username and password for console connection you need just few commands: ASR9010#admin ASR9010(...
user avatar
  • 31
2 votes
Accepted

IOS-XR - How to get bandwidth policed on an interface

Sorry I don't have a system actually in front of me to get you actual output, but look for "show qos interface ..." and that should have the configured hardware values for all the QoS parameters. ...
user avatar
  • 555
2 votes
Accepted

L2VPN xconnect state in IOS-XR routers over SNMP

CISCO-IETF-PW-MIB::cpwVcTable provides pseudo-wire VC status and some other configuration data. CISCO-IETF-PW-MIB::cpwVcPerfTotalTable gives per-VC packets and bytes 64-bit counters. With net-snmp ...
user avatar
2 votes
Accepted

distance vs distance ospf - commands Cisco XR

The first command sets the AD for all routes learned by OSPF. This is basically the traditional AD command, as seen in IOS since they invented dirt. The second allows you to set different AD's for ...
user avatar
  • 6,028
1 vote
Accepted

Cisco IOS XR not sending multiple copies of a prefix despite that the additional-path feature is enabled

To send or receive additional paths, you must follow the steps Cisco has established, and both sides agree to it: The BGP Additional Paths feature requires the user to take three general steps: ...
user avatar
  • 93.4k
1 vote
Accepted

How do I know which product IOS my router has

You can use below commands, show version show tech info show inventory show tech info will take long time to load because it will show all technical specifications and many other details as well. ...
user avatar
  • 3,078
1 vote
Accepted

How to enable RESTCONF server in IOS-XR?

RESTCONF is not supported on IOS-XR. Only NETCONF and gRPC.
user avatar
1 vote
Accepted

Cisco IOS XR policy statistics:

You should use the following commands: show qos interface TenGigE 0/0/2/3 input show qos interface TenGigE 0/0/2/3 output You can check further at Cisco Page
user avatar
  • 3,744
1 vote
Accepted

Which is the actual TCP MSS for this iBGP connection on ASR9K running IOS-XR?

I have found an answer for this question: > I would like to know how I must interpret the "show tcp detail pcb" and specifically the following line (IOS XR device): > > Datagrams (in bytes)...
user avatar
  • 1,616
1 vote

How to view BGP community attached to prefix in Cisco ASR routers?

Try "show bgp ipv4 unicast A.B.C.D/length detail" You will see a "received-only" path. This is the path you are receiving, including received communities, before any policies are applied. https://...
user avatar
  • 11
1 vote

How to view BGP community attached to prefix in Cisco ASR routers?

If you turn on inbound soft-reconfiguration on the neighbor in question, then you will see another entry in the list with the pre-policy communities on it.
user avatar
  • 1,617
1 vote
Accepted

ASR9K XML API - Can't Authenticate

Looks like it was an issue with nc, works fine with telnet :/
user avatar
1 vote

IOS-XR XML agent ssl

The router needs to generate a certificate that it can use to encrypt the communication. See the Cisco configuration guide chapter on "Implementing Secure Socket Layer" here: http://www.cisco.com/c/en/...
user avatar
1 vote

How to factory reset IOS-XR?

Sorry, that last post included a question because I saw an issue with all of the above techniques. The method given above does not take into account config rollbacks and log files. All places where ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible