Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

RME Baseline template specific interface range

Does someone know how to specify a specific interface range in the "Submode" entry, for eg. interface range FastEthernet 0/1 - 20.

When interface [#Fast.*#] is specified all fa interfaces are selected, and this is not what I want.

Can anyone please help; :-)

8 REPLIES
Cisco Employee

Re: RME Baseline template specific interface range

Use a stricter regular expression. For example:

int [#FastEthernet0/[1-9]|11|12|13|14|15|16|17|18|19|20$#]

New Member

Re: RME Baseline template specific interface range

This:

interface [#FastEthernet0/[1-9]|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|26|27|28|29|30|40$#]

Works perfectly, however how can I specify the rest of the ports, this:

interface [#FastEthernet0/41|42|43|44|45|46|47|48$#]

Does not work, could you please help me again....thanks again, and again ... and again...:-))

Cisco Employee

Re: RME Baseline template specific interface range

Try:

int [#FastEthernet0/4[1-8]#]

Cisco Employee

Re: RME Baseline template specific interface range

Try:

int [#FastEthernet0/4[1-8]$#]

Cisco Employee

Re: RME Baseline template specific interface range

This could be simplified to:

int [#FastEthernet0/[1-9]|1[0-9]|20$#]

New Member

Re: RME Baseline template specific interface range

This thing is a real headache generator, unfortunately does this: "interface [#FastEthernet0/[1-9]|1[0-9]|20$#]" statement only produces the first 9 interfaces to be checked, so fa01 - fa0/9 ,and leaves the rest unbothered.

It seems that the | sign doesn't do the trick.

Any suggestions?

Cisco Employee

Re: RME Baseline template specific interface range

Try parentheses:

interface [#FastEthernet0/([1-9]|1[0-9]|20)$#]

New Member

Re: RME Baseline template specific interface range

Finally!!! It works.. youre THE absolute best!

Thanks again.

160
Views
10
Helpful
8
Replies
CreatePlease to create content