05-15-2008 12:55 AM
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; :-)
05-15-2008 05:03 AM
Use a stricter regular expression. For example:
int [#FastEthernet0/[1-9]|11|12|13|14|15|16|17|18|19|20$#]
05-15-2008 06:27 AM
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...:-))
05-15-2008 10:38 AM
Try:
int [#FastEthernet0/4[1-8]#]
05-15-2008 10:38 AM
Try:
int [#FastEthernet0/4[1-8]$#]
05-15-2008 10:37 AM
This could be simplified to:
int [#FastEthernet0/[1-9]|1[0-9]|20$#]
05-16-2008 05:02 AM
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?
05-16-2008 09:06 AM
Try parentheses:
interface [#FastEthernet0/([1-9]|1[0-9]|20)$#]
05-20-2008 03:53 AM
Finally!!! It works.. youre THE absolute best!
Thanks again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide