cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
789
Views
10
Helpful
8
Replies

RME Baseline template specific interface range

orsonjoon
Level 1
Level 1

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 8

Joe Clarke
Cisco Employee
Cisco Employee

Use a stricter regular expression. For example:

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

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...:-))

Try:

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

Try:

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

This could be simplified to:

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

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?

Try parentheses:

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

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

Thanks again.

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: