Questions tagged [cisco-ios-xr]

IOS XR is the operating system run on a number of Cisco's large, service-provider focused platforms. Questions using this tag should be specific to the IOS XR operating system. Many of the commands, syntax, and management interfaces for IOS XR are quite different than the other major IOS versions/trains.

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

Looking for sanitized Cisco IOS XR configurations

I'm looking for someone who can answer with a sanitized Cisco IOS XR text configurations. These configurations will be used to test ciscoconfparse config parsing, specifically to start working on ...
Mike Pennington's user avatar
0 votes
0 answers
122 views

Why `commit replace` left traces of login accounts on Cisco IOS-XR?

Wiped the startup-config with commit replace on our ASR 9006 routers in the global config. Noticed that after a console timeout that it prompts for an account to login. Logging in with an old account ...
Zigbii's user avatar
  • 1
0 votes
1 answer
574 views

Configure NCS540 IOS XR router works as Layer 2 switch

I have an NCS 540 Router and would like to config it as an L2 Switch. In the diagram, PC2 and PC3 should get the IP addresses from pfSense(DHCP and DNS). How can I setup the trunk port for the NCS540 ...
Anthony's user avatar
0 votes
1 answer
268 views

Naming ASN something else than "default", Cisco IOS XR

I'm trying to configure a BGP and VRF (for a L3VPN) on a Cisco ASR9000 router, as per this tutorial. I'm on the first section ("Configuring Multiprotocol BGP on the PE Routers and Route ...
Pat Res's user avatar
2 votes
2 answers
931 views

How do I view BGP communities of received routes in IOS XE before they go through route-map import policy?

I want to see the communities that are attached to a route when I first receive the route before it goes through the BGP import route-map. In my instance the route-map strips communities off so I ...
tcpipee's user avatar
  • 21
4 votes
1 answer
831 views

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

I have a few N540-ACC-SYS (XR 7.3.1) where ZTP works fine with ztp initiate interface Ten0/0/0/0. The challenge also exists on 7.2.2. I'm at the point of doing the final test to validate proper ...
Thijn van der Schoot's user avatar
2 votes
1 answer
698 views

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

I have an iBGP session between a Juniper router and a Cisco IOS XR router with add-path/additional-path both in send and receive direction enabled. According to show bgp neighbor, the feature is ...
Martin's user avatar
  • 1,217
4 votes
2 answers
741 views

How to restrict routes redistributed into ISIS in IOS XR?

I have a router running Cisco IOS XR with established L2 ISIS adjacency with a neighbor router. I would like to inject only the IPv4 address configured on loopback interface into the ISIS. The route ...
Martin's user avatar
  • 1,217
1 vote
1 answer
320 views

Run a script on router reload

I have the latest Cisco IOS XR (7.x), and I am trying to find a way to run a bash or python script stored on the router on every reload. Is there any ways to do this?
ManiAm's user avatar
  • 113
1 vote
0 answers
676 views

Cisco IOS XR RPF filter bug?

Based on this documentation: https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/security/62x/b-system-security-cg-ncs5500-62x/b-system-security-cg-ncs5500-62x_chapter_01001.html I'm trying to set up ...
Darwick's user avatar
  • 111
1 vote
1 answer
274 views

BGP Community Policy to only allow single Community tagged routes

I have a requirement to do a Cisco IOS-XR Route-policy to allow only routes that have a single community tagged and not allow routes with multiple community tags. I built a lab that has two routes: ...
Rehaan's user avatar
  • 41
0 votes
3 answers
523 views

How do I know which product IOS my router has

All My device ASR-1001-X I'm trying to see what type of product my IOS is on my router. As I'm buying another one of the same kind. My current router has this information Cisco IOS XE Software, ...
13months's user avatar
  • 131
1 vote
1 answer
157 views

implementing broadcast traffic restriction

Can we restrict the high broadcast traffic from interface in Cisco ASR9k and 7600 routers? If so, what configuration we should apply?
Blake's user avatar
  • 57
0 votes
1 answer
514 views

Prioritizing SSH, Telnet, TACACS in Cisco IOS

For Prioritizing SSH, Telnet, TACACS locally generated traffic on Cisco ASR running IOS XR, we have: ssh server dscp 48 tacacs-server ipv4 dscp 48 Need the same for cisco GSR: 12416/PRP running IOS. ...
Blake's user avatar
  • 57
2 votes
2 answers
160 views

Method to rename the existing BGP peer group

In Cisco ASR router, do we have any method to rename the existing peer group without removing and recreating it?
Blake's user avatar
  • 57
1 vote
1 answer
179 views

How to properly setup graceful-shutdown community

I'm trying to setup graceful-shutdown community but it looks I cannot make it working. community-set comm-graceful-shutdown 65535:0 end-set ! route-policy SOMEIX-IN ! tried set local-preference 0 ...
setenforce 1's user avatar
2 votes
1 answer
1k views

How to save the initial startup configuration in IOS XR?

I'm willing to try all the Segment Routing implementations one-by-one in XRv 9000 Router. Each time I have a specific implementation for SR e.g., SR-TE, SR-MPLS, SR-OSPF, and SR-ISIS ... etc. The ...
Khalil Mebarkia's user avatar
0 votes
1 answer
1k views

How to enable RESTCONF server in IOS-XR?

I aim to enable RESTCONF server on Cisco IOS-XRv 9000. I did not find online anything about enabling HTTP server in this IOS-XR version. However, with NETCONF server can be enabled. For IOS-XE is ...
Khalil Mebarkia's user avatar
1 vote
2 answers
999 views

SNMPv3 Failed authentification warnings (traps)

Is't someshow possible to enable SNMPv3 failed/wrong authentification events to be sent to some logging server or just the log message to be triggered on device itself ? I talking about IOSXR/IOS/IOS-...
saddayz's user avatar
  • 47
2 votes
0 answers
126 views

point- to – point local switching

I want to build an point- to – point local E-line carrier Ethernet services between IOS XRv routers using the link bundles. Once the two local EFPs linked with a point-to-point cross connect, the ...
Magesh's user avatar
  • 21
1 vote
1 answer
872 views

Cisco IOS XR policy statistics:

My goal is to see if the interface gets more than 2gbps of traffic, just to see if it's true. So I created a policy map with ACL that matches all, and all actions - violate, conform are set to ...
saddayz's user avatar
  • 47
3 votes
1 answer
2k views

Cisco XR BGP neighbor group

I have a problem with understanding the neighbor-groups in Cisco IOS XR. I will describe it on below example: router bgp 10429 bfd minimum-interval 300 ! neighbor-group IBGP remote-as 10429 ...
user39913's user avatar
1 vote
1 answer
427 views

distance vs distance ospf - commands Cisco XR

Could you tell me what is the differences between the following Cisco XR commands: distance vs distance ospf/bgp ? I know the basics regarding administrative distance, that sets the priority for the ...
Felipe's user avatar
  • 25
1 vote
1 answer
874 views

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

I have this iBGP session established between a Cisco ASR9K and a Cisco 7600 router. On the ASR9K device, 'show tcp detail pcb all' displays 'MSS 1240, peer MSS 9152, min MSS 1240, max MSS 1240' for ...
Everton's user avatar
  • 1,636
1 vote
1 answer
880 views

L2VPN xconnect state in IOS-XR routers over SNMP

Is it possible to get L2VPN xconnect state in IOS-XR routers over SNMP? It should have 7 possible states(Up, Down, Admin Down, Unresolved, Standby, Standby Ready, Partially Programmed): RP/0/RSP0/...
Martin's user avatar
  • 1,217
7 votes
5 answers
7k views

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

Cisco ASR routers use IOS XE software. One can see the received IPv4 unicast prefixes from BGP neighbor before any inbound policies with sh bgp ipv4 unic neigh <neighbor-address> received routes ...
Martin's user avatar
  • 1,217
2 votes
1 answer
193 views

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

I have a Cisco ASR-9001 router running IOS-XR version 4.2.3 and its interface Gi0/0/0/5.1 has following service-policy applied in ingress direction: ! policy-map bw-cir-50Mbps class class-default ...
Martin's user avatar
  • 1,217
2 votes
1 answer
1k views

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

I am aware that ICMP "echo request" messages addressed to router are handled in process switching in case or routers running IOS. However, what about Cisco ASR9K routers running IOS-XR? Is the ...
Martin's user avatar
  • 1,217
1 vote
1 answer
301 views

ASR9K XML API - Can't Authenticate

Trying to set up the XML API on an ASR 9K and find myself unable to authenticate with the XML API using Netcat. I've configured the box as below: Building configuration... !! IOS XR Configuration 5....
Alex Turner's user avatar
2 votes
1 answer
2k views

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

How can I get in a straight-forward way the bandwidth policed on a certain interface on IOS-XR. In IOS, I execute show policy-map interface Gi1/1.1000 And I get clearly the BW policed on ...
cgasp's user avatar
  • 2,008
3 votes
1 answer
2k views

BGP MED On IOS XR

I am setting the BGP MED value on some out bound routing advertisements but I can't find anyway to check the MED on my advertised routes on Cisco IOS XR, to verify my configuration is correct (in ...
Baldrick's user avatar
  • 5,290
7 votes
3 answers
6k views

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

I am trying to login ASR9001 router using ssh public key authentication. I tried to import my ssh public key to the router but no success. RP/0/RSP0/CPU0:ASR9K-1#crypto key import authentication rsa ...
Minsuk Song's user avatar
4 votes
2 answers
332 views

IOS-XR XML agent ssl

I have enabled xml agent on ASR9k: #show run xml agent ssl Tue May 20 22:19:11.791 UTC xml agent ssl iteration off ! When I try to connect to port 38752 it gets disconnected with connection reset #...
user5776's user avatar
5 votes
1 answer
3k views

Running XML agent on IOS XR

I'm trying to configure the dedicated XML agent on IOS XR 4.2.3 (ASR9K) . The API guide says to do the xml agent aaa authorization exec default local which I did, and I can connect to the router ...
Aaron's user avatar
  • 1,637
15 votes
5 answers
31k views

How to factory reset IOS-XR?

I want to factory reset IOS-XR. The router used is ASR9000 I'm used to do that easily in IOS doing config-register 0x2102, write erase followed by a reload. I search on documentation, but found no ...
cgasp's user avatar
  • 2,008
13 votes
3 answers
13k views

How do I read optical transmit power via SNMP on Cisco ASR9k?

I am looking to read optical transmit and recieve power of XFPs in our ASR9k. The MIB used should be "CISCO-ENTITY-SENSOR-MIB" which is 1.3.6.1.4.1.9.9.91 and occording the ASR9000 documentation, this ...
JelmerS's user avatar
  • 1,383