three color two rate fw lab
-----
[edit]
lab# show firewall
family inet {
filter threecolor {
term 1 {
then {
three-color-policer {
two-rate threecolor;
}
forwarding-class expedited-forwarding;
}
}
}
}
three-color-policer threecolor {
two-rate {
committed-information-rate 2m;
committed-burst-size 500k;
peak-information-rate 3m;
peak-burst-size 500k;
}
}
[edit]
lab# show interfaces ge-3/0/5
vlan-tagging;
unit 0 {
vlan-id 1;
family inet {
filter {
input threecolor;
}
address 2.0.0.1/24;
}
}
unit 1 {
vlan-id 2;
family inet {
address 3.0.0.1/24;
}
}
[edit]
lab# run show interfaces ge-3/0/7 extensive | match expedited-fo | except forwarding
1 expedited-fo 3038684 3038684 0
[edit]
lab# run show interfaces ge-3/0/7 extensive | match expedited-fo | except forwarding
1 expedited-fo 3055910 3055911 0
[edit]
-----------------