I'm looking for a way to get Juniper to recognize wildcards properly across linecards and ports. I looked at the document here:
But apparently things get hairy if you attempt to use more than 1 set of brackets? So say I have 12 linecards, and I want to apply the same configuration to ports 35 and 36 across fpc 0 through 10 - the following doesn't work:
Anybody know the solution to keep this configuration simple? It's applying the configuration to unwanted ports. Maybe I'm just doing it wrong, but the document doesn't really give me the information I need to know where it's wrong.
Any insight would be great.
Ugh. After reading around a bit more I came across this:
so apparently this is expected. Lame.
Hold the phone. The command I actually wanted is not an apply group, but the wildcard range command:
So much better than interface-range. To hit the linecards I wanted, it looks like this:
wildcard range set interfaces ge-[0-8]/0/[35,36] unit 0 family ethernet-switching vlan members VLAN
Where VLAN is the VLAN (or whatever) I wanted to apply.