Bandwidth for BGP Port & Client through One Interface [Juniper]

Posted on March 14, 2008. Filed under: Bandwidth, BGP, Cisco, Juniper |

Case,

If you need to differentiate bandwidth (rate-limit/traffic shape in Cisco) allocation for BGP protocol
and the customer network in Juniper.
Follow this step (a. should be applied after b) :

a. Filter in Interface ae.50

unit 50 {
description ***CLIENT-AS38888***;
vlan-id 50;
family inet {
filter {
input CLIENT;
output CLIENT;
}
address 1.2.4.1/30;
}

b. Policer for BW alocation Client & BGP

firewall {
policer CLIENT {
if-exceeding {
bandwidth-limit 3m;
burst-size-limit 512k;
}
then discard;
}
policer BGP {
if-exceeding {
bandwidth-limit 10m;
burst-size-limit 512k;
}
then discard;

filter CLIENT {
term BGP-PORT-IN {
from {
protocol tcp;
source-port 179;
}
then policer BGP;
}
term BGP-PORT-OUT {
from {
protocol tcp;
destination-port 179;
}
then policer BGP;
}
term CLIENT-NETWORK {
from {
source-address {
0.0.0.0/0;
}
destination-address {
0.0.0.0/0;
}
}
then policer CLIENT;
}
}
}

a. rahman isnaini r.sutan

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: