cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13239
Views
0
Helpful
7
Replies

Interface Range Command on IOS-XR Platform

Just wondering this high end platform not supporting the range command.

Does it exist or is it not programmed to support ?

7 Replies 7

Saurabh Sharma
Cisco Employee
Cisco Employee

Range cmd is not supported, you need to take help from tools or TCL to configure range of intfs.

Tarique Shakil
Cisco Employee
Cisco Employee

Hi Mohammad,

I came across one tool on the internet which helps build configurations to large scale.  You can use tools like CGT-Network Tools . They also have a paid version to generate config on ios and ios xr.  They have a free version for IOS .  I tried it, its good.  It will help you generate configurations very fast.  Things that took me one hour to do , I do in 2-3 minutes now.

Check out this link

http://tools.codergenie.com

hope that helps.

regards,

Tarique.

you can upload the setup.exe, i search and the web are broken for the download link

Hi @Tarique Shakil  that link you provided is not working.

dpothier
Cisco Employee
Cisco Employee

hi Mohammad,

We do have an alternative feature that is useful for very large and repetitive configurations on the ASR 9000, called

FlexCLI where we have the abaility to create config groups and apply them to multiple interfaces. This feature came out in 4.3.1 and has enhancements in 5.1.x IOS XR code

Here is the 4.3.1 FlexCLI config guide

http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-3/system_management/configuration/guide/b_sysman_cg43asr9k/b_sysman_cg43asr9k_chapter_010011.pdf

An example of configuring common ISIS parameters for bundle interfaces:

1)configure a group:


group ISIS

router isis 'BB3'

  interface 'Bundle-Ether.*'

   circuit-type level-2-only

   point-to-point

   hello-padding disable

   hello-password keychain test123

  !

!

end-group

2) apply the group

config t

apply-group ISIS

commit

end

3)use the "inheritance" command to show theinherited config on ISIS Bundle-ether.* interfaces, the ## indicates

inherited configuration from the group ISIS:

RP/0/RSP0/CPU0:ASR9K#sho run router isis inheritance detail

Thu Mar  6 08:59:10.819 UTC

router isis BB3

is-type level-2-only

net 49.8760.0000.0000.0001.00

address-family ipv4 unicast

  metric-style wide

  maximum-paths 16

!

interface Bundle-Ether110

  ## Inherited from group ISIS

  circuit-type level-2-only

  ## Inherited from group ISIS

  point-to-point

  ## Inherited from group ISIS

  hello-padding disable

  ## Inherited from group ISIS

  hello-password keychain test123

!

interface Bundle-Ether300

  ## Inherited from group ISIS

  circuit-type level-2-only

  ## Inherited from group ISIS

  point-to-point

  ## Inherited from group ISIS

  hello-padding disable

  ## Inherited from group ISIS

  hello-password keychain test123

!

interface Bundle-Ether400

  ## Inherited from group ISIS

  circuit-type level-2-only

  ## Inherited from group ISIS

  point-to-point

  ## Inherited from group ISIS

  hello-padding disable

  ## Inherited from group ISIS

  hello-password keychain test123

!

interface GigabitEthernet0/0/0/14

  address-family ipv4 unicast

  !

The above example is from 5.1.1 XR code on an ASR 9000. FlexCLI is very useful for very large configurations, especially with MPLS-TE interfaces, etc

regards,

david

Andy Erickson
Level 4
Level 4

XR 5.3.2 we were seeing the 'interface-range' command, but in XR 5.3.3, it's missing.

disk0:asr9k-services-infra-5.3.3
    disk0:asr9k-video-px-5.3.3
    disk0:asr9k-services-px-5.3.3
    disk0:asr9k-optic-px-5.3.3
    disk0:asr9k-mpls-px-5.3.3
    disk0:asr9k-mini-px-5.3.3
    disk0:asr9k-mgbl-px-5.3.3
    disk0:asr9k-mcast-px-5.3.3
    disk0:asr9k-li-px-5.3.3
    disk0:asr9k-fpd-px-5.3.3
    disk0:asr9k-doc-px-5.3.3
    disk0:asr9k-bng-px-5.3.3
    disk0:asr9k-asr901-nV-px-5.3.3
    disk0:asr9k-9000v-nV-px-5.3.3
    disk0:asr9k-k9sec-px-5.3.3
    disk0:asr9k-px-5.3.3.CSCuw32657-1.0.0
    disk0:asr9k-px-5.3.3.CSCuw80087-1.0.0
    disk0:asr9k-px-5.3.3.CSCuw80979-1.0.0
    disk0:asr9k-px-5.3.3.CSCuw82287-1.0.0
    disk0:asr9k-px-5.3.3.CSCuw93667-1.0.0
    disk0:asr9k-px-5.3.3.CSCux24553-1.0.0
    disk0:asr9k-px-5.3.3.CSCux31992-1.0.0
    disk0:asr9k-px-5.3.3.CSCux36987-1.0.0
    disk0:asr9k-px-5.3.3.CSCux41951-1.0.0
    disk0:asr9k-px-5.3.3.CSCux43939-1.0.0
    disk0:asr9k-px-5.3.3.CSCux47663-1.0.0
    disk0:asr9k-px-5.3.3.CSCux74246-1.0.0
    disk0:asr9k-px-5.3.3.CSCux78222-1.0.0
    disk0:asr9k-px-5.3.3.CSCux88135-1.0.0
    disk0:asr9k-px-5.3.3.CSCux89921-1.0.0
    disk0:asr9k-px-5.3.3.CSCux93541-1.0.0
    disk0:asr9k-px-5.3.3.CSCux95550-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy03335-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy13233-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy17914-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy18491-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy21312-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy26915-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy28715-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy38364-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy62344-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy62419-1.0.0
    disk0:asr9k-px-5.3.3.CSCuy93579-1.0.0
    disk0:asr9k-px-5.3.3.CSCuv63743-1.0.0
Same output as previous post:
RP/0/RSP0/CPU0:9001-02(config)#interface-ra?
                                        ^
% Invalid input detected at '^' marker.
RP/0/RSP0/CPU0:9001-02(config)#interface?  
interface  
RP/0/RSP0/CPU0:9001-02(config)#​

hi Andy,

There is a SMU and a Service Pack to fix this issue in 5.3.3, depending on if you are using SMU's or Service Pack's.  You can download them from the SW download section on www.cisco.com

asr9k-px-5.3.3.CSCux78222.pie

or
asr9k-px-5.3.3.sp1.pie

regards,

David

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: