Juniper JUNOS OS 10.3 - SOFTWARE Manual page 2674

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Complete Software Guide for Junos
Results
2578
®
OS for EX Series Ethernet Switches, Release 10.3
[edit firewall family ethernet-switching]
user@switch# set filter filter1 term supplicant1 from source-mac-address
00:50:8b:6f:60:3a
user@switch# set filter filter1 term supplicant2 from source-mac-address
00:50:8b:6f:60:3b
Set policer definition:
2.
user@switch# show policer p1 |display set
set firewall policer p1 if-exceeding bandwidth-limit 1m
set firewall policer p1 if-exceeding burst-size-limit 1k
set firewall policer p1 then discard
Create two counters that will count packets for each end device and a policer which
3.
limits the traffic rate:
[edit firewall family ethernet-switching]
user@switch# set filter filter1 term supplicant1 then count counter1
user@switch# set filter filter1 term supplicant1 then policer p1
user@switch# set filter filter1 term supplicant2 then count counter2
Display the results of the configuration:
user@switch> show configuration
firewall {
family ethernet-switching {
filter filter1 {
term supplicant1 {
from {
source-mac-address {
00:50:8b:6f:60:3a;
}
}
then count counter1;
then policer p1;
}
term supplicant2 {
from {
source-mac-address {
00:50:8b:6f:60:3b;
}
}
then count counter2;
}
}
}
}
policer p1 {
if-exceeding {
bandwidth-limit 1m;
burst-size-limit 1k;
}
then discard;
}
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents