Hi,
Please see the following configuration first:
1)
set firewall policer BW_Restrict_10Mb if-exceeding bandwidth-limit 10m
set firewall policer BW_Restrict_10Mb if-exceeding burst-size-limit 1250000
set firewall policer BW_Restrict_10Mb then discard
2)
set firewall family ethernet-switching filter BW_Restrict_Upload_10Mb term 1 then policer BW_Restrict_10Mb
3)
set interfaces ge-0/0/21 unit 0 family ethernet-switching filter input BW_Restrict_Upload_10Mb
set class-of-service interfaces ge-0/0/21 shaping-rate 10m
set interfaces ge-1/0/21 unit 0 family ethernet-switching filter input BW_Restrict_Upload_10Mb
set class-of-service interfaces ge-1/0/21 shaping-rate 10m
above configuration is already configured on our Juniper EX4200 series switch.. my questions are:
1) The bandwidth is limitted on L2 ethernet port, so it works for inbound traffic or outbound traffic?
2) how to identify it, if it is for outbound traffic then what is the config for inbound smiliarly if it is for inbound traffic then what is for oubound traffic.
3) how this shaping-rate 10m command will work here..plz tell me flow of working ...
4) if i want to limit the bandwidth for both direction inbound & outbound on the port, then what is the configuration?
because above ge-0/0/21 & ge-1/0/21 interface is conncected to customer firewall, & they get internet from this L2 port.
but we observed from customer machine that downloa traffic is limitted but uploading traffic from their machine is huge seems not cotrolled by our port..
Please guide me accordingly.
Sandy.
yadav.sandip@gmail.com