[j-nsp] Class of service groups with wildcards
John Neiberger
jneiberger at gmail.com
Thu Feb 6 14:49:06 EST 2014
I'm a little confused about how wildcards work in groups that use for our
class of service configs. I was thinking that the wildcard would allow us
to apply a configuration to an interface and all its logical units with one
command, but now I don't think that's the case. Here is an basic example:
LAYER2-COS {
class-of-service {
interfaces {
<*> {
scheduler-map QOS-MAP;
}
}
}
}
VLAN-COS {
class-of-service {
interfaces {
<*> {
unit <*> {
classifiers {
dscp DSCPV4-CLASSIFIER;
dscp-ipv6 DSCPV6-CLASSIFIER;
}
rewrite-rules {
dscp DSCPV4-REWRITE;
dscp-ipv6 DSCPV6-REWRITE;
}
}
}
}
}
}
The first group applies the scheduler-map to the main interface. I thought
the second group would then apply the classifiers and rewrite rules to the
logical units. However, when I apply those groups to an interface with
multiple LUs, the classifiers and rewrite rules only get applied to the
first logical unit.
My thought is that the wildcard doesn't do what I thought it did and that
I'll actually have to separately apply VLAN-COS to each LU that requires it.
Or am I wrong? Is there a way to do this all in one or two commands for all
LUs?
Thanks!
More information about the juniper-nsp
mailing list